Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

iOS runner: isolate collapsed-tab occupancy test from prerequisite timeouts

已关闭
#3,800 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
49/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
ios, typescript
领域
mobile, testing

调研方向

Start with RunnerTests+SnapshotCapturePlanOccupancyTests.swift near line 529 and inspect the test’s fixture and the prerequisite viewport, orientation, keyboard, and tree-processing steps. Build a focused reproduction that detects an unintended prerequisite timeout, then verify the corrected fixture passes while retaining the delayed-operation assertion, expected budget reason, and truncated-tree refusal. Run the owning iOS test lane.

由索引模型根据 Issue 内容生成。

描述

Purpose

Make the collapsed-tab occupancy test exercise its intended exhausted tree tier on slow CI hosts.

testPlanMovesPastATreeTierWhoseCollapsedTabQueryCannotStart expects reason budget. It sometimes receives capture-failed at RunnerTests+SnapshotCapturePlanOccupancyTests.swift:529.

Evidence

The raw job logs show the same assertion on three unrelated heads:

The test file is identical across these heads. #3791 changes no Swift file. Its new daemon timing step runs after the XCTest suite.

The #3791 log records a one-second snapshot_viewport timeout before private AX recovery. The other failures record a tree-processing timeout. These paths produce capture-failed before the intended budget assertion. Host timing is a suspected trigger; it is not a proven complete cause.

A focused local loop passed 3/3 times on a separate iOS 26.2 simulator. No local red reproduction or fix is proven.

Required behavior

  • Isolate prerequisite viewport, orientation, keyboard, and processing work from the deliberately delayed tree operation.
  • Preserve the assertion that the delayed operation was entered.
  • Preserve the expected budget reason and the refusal to accept a truncated tree as healthy.
  • Use a deterministic fixture or injected facts. A warm-up read alone must not claim to prevent a later timeout.
  • Do not widen timeouts, add retries, skip the test, or accept both reason codes.

Completion

Show a focused reproduction that detects the unintended prerequisite timeout. Then show the corrected fixture passes and still detects the intended regression. Run the owning iOS lane.

Owner: the iOS runner test lane. Related: #2847 and #2957. Keep this fix separate from #3791's daemon startup contract.

主要语言
TypeScript
星标
5k
派生
334
平均合并
12 小时 13 分钟
30 天内合并 PR
723

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

callstack/agent-device 的其他 Issue

查看 callstack/agent-device 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。