Skip to content

docs(changelog): add the eleven changes 18.5.0 shipped with no CHANGELOG line, and an 18-5 page erratum - #34042

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-n71mv2
Nov 15, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-n71mv2

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread

Fixes #33903

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:18.5.0 已发布但发布说明漏记的 11 条变更,补进 14 个包的 CHANGELOG 18.5.0 节(私有包 app-shell 补在它这次发的 18.4.1 节),删掉这 11 个 changeset 文件,并在 18-5 发布页加一节勘误。
  • 为什么改:18.5.0 的版本提交 b914e724 没有消化这 11 个 changeset,代码已随 18.5.0 发出,但 CHANGELOG 和发布页都没写;其中 fix(plugin-audit)!: seal a window into checkpoints of at most 10,000 rows, and bound the idle re-walk (P4b2) #33637 是破坏性变化(os audit verify 遇到被两个 checkpoint 同时列出的行,现在报 listed_twice 并失败)。按裁决 6896138728「事后补就可以」只做补记。
  • 风险与回滚:纯文字,不发布代码;删掉的 changeset 若留着,下一个版本会把它们当新变化再发一遍。回滚即 revert 本 PR。
  • 先看:content/docs/releases/v18/18-5.mdx 的勘误节;packages/plugins/plugin-audit/CHANGELOG.md(破坏性那条);packages/spec/CHANGELOG.md(两条,其中一条进 Minor Changes)。
  • 两分钟验证:git grep -c -E '^- (ac0b9a5|2e1e3b9|fbe349f|2673f59|0feb5ff|1e65a38|e302d32|f8f35db|e0775f7|4b5024d|81371e1): ' -- '*CHANGELOG.md' 预期 14 个文件共 18 行;ls .changeset/*.md | wc -l 比 main 少 11。
  • 需要你做的:无,席位落地(Check Changeset 会按规则保持红色,见下方 DELIBERATE CORRECTION)。

What changes

packages/*/CHANGELOG.md and content/docs/releases/ are release-owned. AGENTS.md (Documentation Guardrails) routes a factual error in a released entry, or on a releases page, to a dedicated docs-only PR, and the maintainer's ruling on this card (comment 6896138728, verbatim: 「没必要,事后补就可以:让发布流程在版本提交之前还有没消化的 changeset 时,拒绝发正式版。」) keeps only the amendment half. This is that PR. Precedent: #33925.

The 18.5.0 version commit b914e724 (#33097) consumed 283 of the 294 changesets on its parent. The other 11 landed on main after the Version Packages branch point b76df9a6 and before the merge; each one's adding commit is an ancestor of b914e724, and its file is byte-identical on b914e724 and on this branch's base bc6b7ffd.

  1. CHANGELOG entries. Each changeset's entry is added to the release section b914e724 wrote for each package it names, in the stock generator's form (- SHA7: + the summary, continuation lines indented two spaces), under the commit that added the changeset, in the ### Minor Changes or ### Patch Changes list its bump names, after the last changeset entry and before the Updated dependencies lines. No dependents line is invented.
  2. The 11 changeset files are deleted, so the next version commit does not present them as new.
  3. The 18-5 page gains ## Erratum — eleven changes 18.5.0 shipped with no CHANGELOG line [#erratum]: fix(plugin-audit)!: seal a window into checkpoints of at most 10,000 rows, and bound the idle re-walk (P4b2) #33637's FROM → TO and what an operator does, one line for each of the other nine, and a pointer from the release-facts row that said 284 were consumed. feat(spec)!: a declared-gated action on an AI door is confirmed by a person through MCP elicitation #33725 is already on the page (自动迁移, "Announced, not yet at any door"); it is checked, not repeated.
Changeset Package Added to Commit 18-5 page
31908-p4b2-bounded-checkpoints @objectstack/plugin-audit ## 18.5.0 › Patch Changes ac0b9a5 (#33637) Erratum, breaking: FROM → TO, what to do, rollback note
33186-managed-add-people-actions @objectstack/platform-objects ## 18.5.0 › Patch Changes 2e1e3b9 (#33755) Erratum, one line
33609-related-list-parent-lookup-page @object-ui/console, @object-ui/plugin-detail ## 18.5.0 › Patch Changes fbe349f (#33780) Erratum, one line
33649-messaging-preferences-emitting-organization @objectstack/service-messaging ## 18.5.0 › Patch Changes 2673f59 (#33779) Erratum, one line
33660-ai-model-picker-cost-multiplier @objectstack/spec, @object-ui/plugin-chatbot, @object-ui/i18n, @object-ui/console; @object-ui/app-shell ## 18.5.0 › Patch Changes; app-shell ## 18.4.1 › Patch Changes 0feb5ff (#33746) Erratum, one line
33689-ai-action-confirmation-elicited @objectstack/spec ## 18.5.0 › Minor Changes 1e65a38 (#33725) Already covered (自动迁移 row), not repeated
33724-install-relaxes-declared-not-null @objectstack/driver-sql, @objectstack/cloud-connection, @objectstack/driver-turso ## 18.5.0 › Patch Changes e302d32 (#33769) Erratum, one line
33739-scenario-runner-effort @objectstack/scenarios ## 18.5.0 › Patch Changes f8f35db (#33767) Erratum, one line
33753-scenario-dates-follow-run-date @objectstack/scenarios ## 18.5.0 › Patch Changes e0775f7 (#33776) Erratum, one line
33754-scenario-grader-written-date @objectstack/scenarios ## 18.5.0 › Patch Changes 4b5024d (#33797) Erratum, one line
a2-skills-docs-32678-32825 @objectstack/skills ## 18.5.0 › Patch Changes 81371e1 (#33355) Erratum, one line

DELIBERATE CORRECTION. This PR adds no changeset and deletes eleven (git diff --name-status over .changeset/*.md: 11 × D, 0 × A). Each deleted note is already released: its text now stands, unchanged, as the entry named in the table above, in the 18.5.0 tarballs' release section. Under ruling D on #18375 (the Check Changeset step's route 0) and .claude/agents/os-dev.md, skip-changeset is not applied to a PR that deletes an existing changeset, so Check Changeset stays red by design; it is not a required context. The diff publishes nothing until the next release republishes the tarballs.

Tests

No source changes, so no test suite moves. The CHANGELOG lines are generated, not hand-typed: the summary parse and the stock release-line format were re-implemented in a script and first checked against b914e724^: for every changeset b914e724 consumed among the first 60 (103 package entries), the generated text is found verbatim in that package's CHANGELOG; the only miss is 31908-p4b2-bounded-checkpoints, the unconsumed one this PR adds. The script asserts, per changeset, one adding commit, an identical blob at the tag and at the base, the release section being the top section of the version b914e724 gave the package, and the entry not already present. The diff of every CHANGELOG is insertions only.

Acceptance notes

  1. @object-ui/app-shell is private and b914e724 versioned it 18.4.1, not 18.5.0 (the 18-5 page's release facts say so too), so its entry goes into its ## 18.4.1 section.
  2. The 18-5 page still opens with "Release status: 18.4.0 is released, and 18.5.0 is not yet." and its release facts say no 18.5.0 tag or npm version exists. Both are stale since the publish. Outside this card's file surface; left for the seat (noted, not filed).
  3. The changeset of service-messaging: three follow-ups from the contract review of the role: audience fix (#33320) #33649 has no summary line, so its entry opens - 2673f59: Clause-②: no, as the stock generator would have written it.

Verification

Premise readings, at base bc6b7ff and the 18.5.0 spec tag = b914e72
  • git ls-tree --name-only b914e724 .changeset/ minus README.md and config.json: 11 files, the card's list. b914e724^ holds 294; b914e724 deletes 283.
  • For each of the 11: git rev-parse b914e724:PATH equals git rev-parse bc6b7ffd:PATH; the adding commit (git log --diff-filter=A, one per file) is an ancestor of b914e724 (merge-base --is-ancestor exit 0, after deepening the shallow clone by 800 commits). The adding commits all fall between b76df9a6 (the Version Packages branch point the 18-5 page names) and b914e724.
  • Before this PR: listed_twice, ac0b9a5, #33637 each 0 hits on content/docs/releases/v18/18-5.mdx.
  • The erratum's wording is read from the changeset text and packages/plugins/plugin-audit/src/audit-seal/verifier.ts (listed_twice fault: checkpoint N: lists row(s) … that another checkpoint already lists), content/docs/deployment/cli.mdx § os audit verify (exit 1 when two checkpoints list the same row), and the 18.5.0 entry f4cafd5 (a late checkpoint leaves out every row a checkpoint stored in between already lists).
Gates

Head f5754612. Derived with node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack (no paths): 99 commands, each run with stdin from /dev/null and its exit captured before any pipe; --ran reconciliation: 99 derived, 99 run, 0 NOT-MEASURED, 0 UNRUN.

  • 98 exit 0. Eleven of them first exited 3 (PREREQUISITE NOT MET, no dist/ in a fresh worktree) and were re-run exit 0 after the builds they name, each under scripts/pm/os-verify-lock.sh with VERDICT command-exit 0: the @objectstack/lint... closure plus the check:i18n extract closure (64/64 tasks), @objectstack/client and client-react (43/43), then pnpm build (119/119). Re-run: check:doc-formula-expressions, check:doc-security-posture, spec check:docs, spec check:skill-examples, check:docs-transcript-drift, check:i18n, check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content; and pnpm --dir ui exec vitest run scripts/, which first failed 22 files only on the missing @objectstack/spec dist/ and then passed (171 files passed, 2 skipped; 5,065 tests passed).
  • 1 exit 1, by design: node scripts/check-empty-changeset.mjs --base origin/main refuses the eleven deletions as edits of existing notes (one ::error per file). This is the DELIBERATE CORRECTION class declared above; it stays red, and so does Check Changeset.
  • Release-text gates all exit 0 on the amended tree: check-release-section-coverage (plain and --strict), check:release-notes, check:release-page-status, check-affected-docs, check:doc-authoring, check:doc-anchors, check:nul-bytes, check-adr-0087-registration --base origin/main.

origin/main moved to 159757ab while the gates ran; the commits since the base bc6b7ffd touch none of this PR's paths (they add four other changesets), so no merge was taken.


Generated by Claude Code

🤖 Generated with Claude Code

https://claude.ai/code/session_01ADHkmPfCRZtZTTC4KzLjJR

…LOG line, and an erratum on the 18-5 page

The 18.5.0 version commit b914e72 left eleven changesets in .changeset/
that landed after its Version Packages branch point; their code shipped in
the 18.5.0 tarballs. Each entry is added to its package's release section
in the stock generator's form under the commit that added it, the eleven
files are deleted so the next release does not present them as new, and
the 18-5 page gains an erratum naming the listed_twice narrowing of
os audit verify.

Claude-Session: https://claude.ai/code/session_01ADHkmPfCRZtZTTC4KzLjJR
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/m documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

⚠️ 9 changed file(s) yielded no anchor (packages/cloud-connection/CHANGELOG.md, packages/drivers/driver-sql/CHANGELOG.md, packages/drivers/driver-turso/CHANGELOG.md, …), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files. Nothing else in this diff resolved to a documentable surface (no symbol, route or SDK anchor derived from 9 changed package(s)).

What this run could not see
  • 9 changed file(s) yielded no anchor (packages/cloud-connection/CHANGELOG.md, packages/drivers/driver-sql/CHANGELOG.md, packages/drivers/driver-turso/CHANGELOG.md, …) — pages documenting those are invisible to this run
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 182 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 159757abc17394bcb0b1240fe382ae3d11a0d549 → packageMentionDocs.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:devx#2 · os-steve · session_01ADHkmQTVjryTSkqydKVS6z

席位核对 · ACCEPT · head f5754612df · 2026-11-15T17:41Z

  • Shape: draft to main, first line Fixes #33903 after the requested-by line, Clause-②: no / Metadata-protocol: none at line start. 26 files: 14 CHANGELOG.md sections, content/docs/releases/v18/18-5.mdx, and 11 .changeset/*.md deletions. check-governed-merges --pr 34042: NOT governed, 429 lines.
  • Coverage of the card (amendment half only, ruling 6896138728): each of the 11 changesets left unconsumed at the 18.5.0 version commit b914e724 is added, in the stock generator's form under its adding commit, to the release section b914e724 wrote for each package it names (18 entries over 14 CHANGELOGs; @object-ui/app-shell in its ## 18.4.1, the version b914e724 gave that private package; feat(spec)!: a declared-gated action on an AI door is confirmed by a person through MCP elicitation #33725's @objectstack/spec entry under Minor Changes as its bump says). The generator was first checked against 103 entries b914e724 did consume, verbatim. The 18-5 page gains ## Erratum with fix(plugin-audit)!: seal a window into checkpoints of at most 10,000 rows, and bound the idle re-walk (P4b2) #33637's FROM → TO (os audit verify now fails a chain whose row two checkpoints list, listed_twice, exit 1), what an operator does, the checkpoint shape change and the rollback limit, one line for each other change, and a pointer from the "284 consumed" release-facts row. feat(spec)!: a declared-gated action on an AI door is confirmed by a person through MCP elicitation #33725, already on the page, is checked and not repeated. The guard half stays dropped: no release tooling or workflow is touched.
  • Seat confirmation of the DELIBERATE CORRECTION ([finding] the skip-changeset label suppresses the DELIBERATE-CORRECTION refusal whose own text says 「no label and no diff shape makes that safe」 — declared contract against enforced behaviour #18375 ruling D, route 0): the 11 D rows and 0 A rows are 31908-p4b2-bounded-checkpoints, 33186-managed-add-people-actions, 33609-related-list-parent-lookup-page, 33649-messaging-preferences-emitting-organization, 33660-ai-model-picker-cost-multiplier, 33689-ai-action-confirmation-elicited, 33724-install-relaxes-declared-not-null, 33739-scenario-runner-effort, 33753-scenario-dates-follow-run-date, 33754-scenario-grader-written-date and a2-skills-docs-32678-32825. Each is already released in the 18.5.0 tarballs and its text now stands as the CHANGELOG entry named in the PR body's table; deleting it is what keeps the next version commit from presenting it as new, which is the maintainer's ruling. The seat confirms this in writing here, skip-changeset is correctly not applied, and Check Changeset stays red by design (not a required context).
  • Gates: check-runs on f5754612: 58 success, 9 skipped, 1 failure (Check Changeset, the designed red above), 0 pending; K = 9 behind base 159757ab; the dev's dispatch-gates derived 99 families, 98 exit 0 and check-empty-changeset red by the same design, --ran 0 NOT-MEASURED (report 6898151690).
  • Accepted deviations: skip-changeset is not applied, against the seat's dispatch note, per route 0 above. service-messaging: three follow-ups from the contract review of the role: audience fix (#33320) #33649's changeset has no summary line, so its entry opens with Clause-②: no, as the stock generator writes it. The seat adds the signed footer.
  • Out of scope: the 18-5 page's opening "18.5.0 is not yet [released]" and its no-tag release facts are stale since the publish; outside this card's surface, parked for the release lane.

@github-actions

Copy link
Copy Markdown
Contributor

⛔ merge queue 构建失败 — 先分诊,再决定要不要重排

队列构建 43742677428 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集),
所以失败的测试可能在本 PR 没碰过的包里 —— 那不是重排能修的。每次盲目重排都会让排在后面的所有 PR 重建一轮。

分类:failure —— 按下面的日志分诊。

失败的 job(日志抽取,best effort):

  • Test Core (7/8) — 失败步骤: Run this shard's tests

    @objectstack/scenarios:test:  FAIL  test/runner/run-date.test.ts > every dated card, rebased onto each run date > run on 2028-02-28: today is the run date, every date moves as the card's rebase says, 
      ↳ 失败原因: (这条 FAIL 之后 12 行内没有可识别的原因行 —— 点进 job 看)
    @objectstack/scenarios:test:  FAIL  test/runner/run-date.test.ts > every dated card, rebased onto each run date > run on 2028-02-29: today is the run date, every date moves as the card's rebase says, 
      ↳ 失败原因: (这条 FAIL 之后 12 行内没有可识别的原因行 —— 点进 job 看)
    @objectstack/scenarios:test:  FAIL  test/runner/run-date.test.ts > every dated card, rebased onto each run date > run on 2028-03-31: today is the run date, every date moves as the card's rebase says, 
      ↳ 失败原因: @objectstack/scenarios:test: Error: Test timed out in 5000ms.
    

↳ 失败原因 是判读的关键:超时(Test timed out in … / Hook timed out in …)多半是负载/时序,不是本 PR 的回归;
断言(AssertionError: …)才指向真实的行为改变。两者的 FAIL 行长得一模一样,只有这一行能区分。

⚠️ 断言这一侧有一类例外,判据是断言在测什么,不是它是不是 AssertionError。 断言的对象是产品行为(一个值、一个形状、一次拒收)⇒ 照上面读:真实的行为改变,去查,⛔ 不要重排掉;
断言的对象是这次实验自身的有效性前提(跑完的耗时、负载下的先后、任何只在时间预算内才成立的条件)⇒ 它跟超时是同一类,同样对负载敏感,重排一次是合法的判别手段。
识别是机械的:断言的消息或它比较的值本身点名了一段时长、一个时间戳、一个耗时计数。实测过的一对 —— AssertionError: SecurityPlugin.init() ran: expected false to be true 测的是产品行为(真回归);
AssertionError: this run took over a second, so second-precision stamps could have differed too: expected 1006 to be less than 1000 测的是实验前提:它守护的那条不变式当时是绿的,同一个 head 原样重排一次即成功。
穿着 AssertionError 外衣的时间测量,仍然是时间测量。(⛔ 这只改「怎么读一次红」,不改「哪些测试可以重排」——后者由别处管。)

跨 PR 相同签名(24h,按失败测试文件聚合):

历史信号:

  • 本 PR 过去 24h 无队列失败记录(首次)。
  • 过去 24h 队列共有 5 个失败构建(不含本次)。

分诊清单:

  1. 失败测试在本 PR 改动的包里 → 真回归,修 PR。
  2. 失败测试与本 PR 无关 → 看上面的「跨 PR 相同签名」;已有汇总 issue ⇒ flaky/环境问题实锤,去那张 issue 上谈,修好前重排只会再烧一轮全队列。
  3. 两者都不是 → 可能与同组 PR 语义冲突;等前面的 PR 落地或失败出队后再重排一次即可,不要连续重排。

Generated by Claude Code · merge-queue-triage workflow (#4859)

@github-actions

Copy link
Copy Markdown
Contributor

⛔ merge queue 构建失败 — 先分诊,再决定要不要重排

队列构建 43743124157 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集),
所以失败的测试可能在本 PR 没碰过的包里 —— 那不是重排能修的。每次盲目重排都会让排在后面的所有 PR 重建一轮。

分类:failure —— 按下面的日志分诊。

失败的 job(日志抽取,best effort):

  • Test Core (7/8) — 失败步骤: Run this shard's tests

    @objectstack/scenarios:test:  FAIL  test/runner/run-date.test.ts > every dated card, rebased onto each run date > run on 2028-02-29: today is the run date, every date moves as the card's rebase says, 
      ↳ 失败原因: (这条 FAIL 之后 12 行内没有可识别的原因行 —— 点进 job 看)
    @objectstack/scenarios:test:  FAIL  test/runner/run-date.test.ts > every dated card, rebased onto each run date > run on 2028-03-31: today is the run date, every date moves as the card's rebase says, 
      ↳ 失败原因: @objectstack/scenarios:test: Error: Test timed out in 5000ms.
    

↳ 失败原因 是判读的关键:超时(Test timed out in … / Hook timed out in …)多半是负载/时序,不是本 PR 的回归;
断言(AssertionError: …)才指向真实的行为改变。两者的 FAIL 行长得一模一样,只有这一行能区分。

⚠️ 断言这一侧有一类例外,判据是断言在测什么,不是它是不是 AssertionError。 断言的对象是产品行为(一个值、一个形状、一次拒收)⇒ 照上面读:真实的行为改变,去查,⛔ 不要重排掉;
断言的对象是这次实验自身的有效性前提(跑完的耗时、负载下的先后、任何只在时间预算内才成立的条件)⇒ 它跟超时是同一类,同样对负载敏感,重排一次是合法的判别手段。
识别是机械的:断言的消息或它比较的值本身点名了一段时长、一个时间戳、一个耗时计数。实测过的一对 —— AssertionError: SecurityPlugin.init() ran: expected false to be true 测的是产品行为(真回归);
AssertionError: this run took over a second, so second-precision stamps could have differed too: expected 1006 to be less than 1000 测的是实验前提:它守护的那条不变式当时是绿的,同一个 head 原样重排一次即成功。
穿着 AssertionError 外衣的时间测量,仍然是时间测量。(⛔ 这只改「怎么读一次红」,不改「哪些测试可以重排」——后者由别处管。)

跨 PR 相同签名(24h,按失败测试文件聚合):

历史信号:

  • ⚠️ 本 PR 过去 24h 已在队列失败 1 次(不含本次)。 内容未变而反复失败 ⇒ 高度怀疑 flaky 测试或与同组 PR 的语义冲突,重排不解决。
  • 过去 24h 队列共有 7 个失败构建(不含本次)。

分诊清单:

  1. 失败测试在本 PR 改动的包里 → 真回归,修 PR。
  2. 失败测试与本 PR 无关 → 看上面的「跨 PR 相同签名」;已有汇总 issue ⇒ flaky/环境问题实锤,去那张 issue 上谈,修好前重排只会再烧一轮全队列。
  3. 两者都不是 → 可能与同组 PR 语义冲突;等前面的 PR 落地或失败出队后再重排一次即可,不要连续重排。

Generated by Claude Code · merge-queue-triage workflow (#4859)

@github-actions

Copy link
Copy Markdown
Contributor

⛔ merge queue 构建失败 — 先分诊,再决定要不要重排

队列构建 43745620507 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集),
所以失败的测试可能在本 PR 没碰过的包里 —— 那不是重排能修的。每次盲目重排都会让排在后面的所有 PR 重建一轮。

分类:failure —— 按下面的日志分诊。

失败的 job(日志抽取,best effort):

  • Test Core (7/8) — 失败步骤: Run this shard's tests

    @objectstack/scenarios:test:  FAIL  test/runner/run-date.test.ts > every dated card, rebased onto each run date > run on 2028-02-28: today is the run date, every date moves as the card's rebase says, 
      ↳ 失败原因: (这条 FAIL 之后 12 行内没有可识别的原因行 —— 点进 job 看)
    @objectstack/scenarios:test:  FAIL  test/runner/run-date.test.ts > every dated card, rebased onto each run date > run on 2028-02-29: today is the run date, every date moves as the card's rebase says, 
      ↳ 失败原因: (这条 FAIL 之后 12 行内没有可识别的原因行 —— 点进 job 看)
    @objectstack/scenarios:test:  FAIL  test/runner/run-date.test.ts > every dated card, rebased onto each run date > run on 2028-03-31: today is the run date, every date moves as the card's rebase says, 
      ↳ 失败原因: @objectstack/scenarios:test: Error: Test timed out in 5000ms.
    

↳ 失败原因 是判读的关键:超时(Test timed out in … / Hook timed out in …)多半是负载/时序,不是本 PR 的回归;
断言(AssertionError: …)才指向真实的行为改变。两者的 FAIL 行长得一模一样,只有这一行能区分。

⚠️ 断言这一侧有一类例外,判据是断言在测什么,不是它是不是 AssertionError。 断言的对象是产品行为(一个值、一个形状、一次拒收)⇒ 照上面读:真实的行为改变,去查,⛔ 不要重排掉;
断言的对象是这次实验自身的有效性前提(跑完的耗时、负载下的先后、任何只在时间预算内才成立的条件)⇒ 它跟超时是同一类,同样对负载敏感,重排一次是合法的判别手段。
识别是机械的:断言的消息或它比较的值本身点名了一段时长、一个时间戳、一个耗时计数。实测过的一对 —— AssertionError: SecurityPlugin.init() ran: expected false to be true 测的是产品行为(真回归);
AssertionError: this run took over a second, so second-precision stamps could have differed too: expected 1006 to be less than 1000 测的是实验前提:它守护的那条不变式当时是绿的,同一个 head 原样重排一次即成功。
穿着 AssertionError 外衣的时间测量,仍然是时间测量。(⛔ 这只改「怎么读一次红」,不改「哪些测试可以重排」——后者由别处管。)

跨 PR 相同签名(24h,按失败测试文件聚合):

历史信号:

  • ⚠️ 本 PR 过去 24h 已在队列失败 2 次(不含本次)。 内容未变而反复失败 ⇒ 高度怀疑 flaky 测试或与同组 PR 的语义冲突,重排不解决。
  • 过去 24h 队列共有 16 个失败构建(不含本次)。

分诊清单:

  1. 失败测试在本 PR 改动的包里 → 真回归,修 PR。
  2. 失败测试与本 PR 无关 → 看上面的「跨 PR 相同签名」;已有汇总 issue ⇒ flaky/环境问题实锤,去那张 issue 上谈,修好前重排只会再烧一轮全队列。
  3. 两者都不是 → 可能与同组 PR 语义冲突;等前面的 PR 落地或失败出队后再重排一次即可,不要连续重排。

Generated by Claude Code · merge-queue-triage workflow (#4859)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

2 participants