Skip to content

Queue-flake anchor: test/package-commit-revert-path-package.dogfood.test.ts #34271

Closed

Description

@github-actions

test/package-commit-revert-path-package.dogfood.test.ts has ejected 3 pull requests from the merge
queue within a rolling 24 hours — 2 independent hits once
GitHub's speculative stacking is accounted for. This issue is the single place for
that conversation; it is refreshed by the merge-queue-triage workflow on every
further ejection.

PR stack queue build
#34124 S1 · root 43795201091
#34220 independent 43792843358
#34239 S1 · inherited 43797161496

⚠️ Queue depth is not evidence. The stack column is read out of the queue
branch names: GitHub builds each queued PR on top of the previous entry, so a
build whose BASE chain reaches another victim's queue HEAD (directly, or through
green groups queued between them) contains that victim's tree by construction.
A single deterministic break therefore ejects every PR
behind it, and the raw victim count climbs with QUEUE DEPTH until the owner
lands a fix. Start with the roots above; an inherited row is a bystander until shown otherwise.

This issue is a NAME, not a diagnosis. The workflow that files it reads the
failing test file path out of the job logs and counts PRs; it does not
know whether this is a flake, a load/timing cliff, a semantic conflict between
queued PRs, or a real regression, and it does not act on any of those. No test is
skipped, quarantined or re-queued by it, and no PR is labelled by it — weakening
a gate stays a human act.

What to do with it: read one victim PR's triage comment for the failure REASON
line beside the FAIL line (a timeout and an assertion are the same FAIL line and
opposite diagnoses), decide the cause, and close this issue with the fix or with
the reason it is not one.

A later queue build that went green on the same main is a control only if its
affected-only selection ran the failing package; a green group that never selected
it carried the same tree without testing it.

Last refreshed by queue build 43797161496 (PR #34239).


Filed by the merge-queue-triage workflow (#4859, aggregation #10128).

Activity

  1. added
    finding
    on Nov 16, 2026
  2. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    Contributor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:server · lease:E1 · p0 (queue flake on main) · 2026-11-16T03:45Z

    ⛔ Not a claim.

    packages/qa/dogfood/test/package-commit-revert-path-package.dogfood.test.ts › 'dogfood: package commit revert and rollback act only on a commit of the path's package (ADR-0067)' times out at 5 s. It is on main (since 11-03, 5f99582e). Two independent roots so far: #34124 (S1 root, on main HEAD 43dd5656, 03:25) and #34220 (independent); #34239 inherited. None of them touches the file. Under #34152 and its addendum, this is p0 (queue blocker). server#5 is knocked; the fix is a measured per-case timeout or a cheaper fixture. Triage jumps it on ACCEPT.

  3. added
    domain:server
    pm:queue
    priority:p0
    on Nov 16, 2026
  4. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    Contributor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ

    Claim: area S4 (lease E1), #33751 §2 area-lease mode, p0 queue blocker taken at once beyond the area's slot cap
    Session: session_01QsR2jTkZnXtRhuEiiyidvJ
    Account: zhuangjianguo
    Branch: claude/area-E1-34271
    Worktree: objectstack-e1-34271
    Domain: domain:server
    Seat: domain:server#5
    File surface: packages/qa/dogfood/test/package-commit-revert-path-package.dogfood.test.ts and the fixture or harness it boots, and one changeset if a published package moves. If the measured cause is a regression in product code (package commit revert or rollback), the dev stops and reports the file before editing it.
    Container & model: S, mode:subagent, model: default judgment tier, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack platform test code (the dogfood file, on main since 5f99582e) | no platform path covers it; the queue's full dogfood run ejects PRs that do not touch the file | every PR in the merge queue (roots #34124 and #34220, #34239 inherited)
    Thread-read: 6906703889
    Premise: holds per triage 6906703889: the case 'dogfood: package commit revert and rollback act only on a commit of the path's package (ADR-0067)' times out at 5 s in queue builds 43795201091 and 43792843358. The dev diagnoses before any edit: it reads a victim's reason line and measures the case's wall time locally and in the failing job logs. It decides between a load or timing cliff, a real regression and a semantic conflict between the roots. ⛔ No skip, no quarantine, no raised timeout unless the measured cause is the timeout budget itself, and then the numbers go in the PR.
    Serial constraints cleared: no open PR touches the file (none of the roots does, per triage). The dev runs merge-tree against origin/main before the push.
    Pre-claim lane: domain:server area S4 (E1), per triage first touch 6906703889 (lease:E1).
    Pre-claim deps: none.
    Prior rulings read: triage 6906703889 (the fix is a measured per-case timeout or a cheaper fixture; triage jumps it on ACCEPT); ADR-0067 (the behaviour the case pins); AGENTS.md test-placement and ablation rules.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 16, 2026
  6. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    Contributor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ
    os-dev-report

    {
      "issue": 34271,
      "status": "done",
      "branch": "claude/area-E1-34271",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34323",
      "head_sha": "e863d61b84a7c1437f298c6854b37d0ddc8499dd",
      "session": "session_01QsR2jTkZnXtRhuEiiyidvJ",
      "premise_still_valid": true,
      "summary": "Diagnosis (a): a load/timing cliff, not a product regression (b) and not a conflict between the roots (c). Evidence: all three queue builds (43795201091, 43792843358, 43797161496) fail the same case, '[#29414] control: a writable package's edit commit restores its own row in place', with 'Test timed out in 5000ms' at 5013/5068/5098 ms. The no-publish cases in the same runs take 40-190 ms. On green runs from 11-04 to 11-16 the same case reads 2244-4493 ms, and its ratio to the one-publish 'B rolls back' control stays 2.2-2.6 on every run. Fast runners on the newest trees (9efb58f1ca 2488 ms, 7be32d39fa 2244 ms) match 11-06 (2350 ms), so the product did not get slower; runner load moved the file's total from 18 s to 37 s. Locally, per call: the case's two fixture publish-drafts cost 974-1478 ms each and the revert under test 526-700 ms, so about 80% of the 5 s clock went to fixture. Fix: the case's two object publishes, and the uninstalled-package case's package create plus object publish (that case read 3845-4251 ms in the failing builds), move into the beforeAll of a nested describe each, with a 60 s hook budget. Assertions, state order and the 5 s per-case clock are unchanged, and nothing is skipped. Measured locally: edit control went from 2611/3046 ms alone (3750 ms loaded) to 678/655 ms (761 ms loaded); the uninstalled case went from 2226/2537 ms (2567 ms loaded) to 658/612 ms (651 ms loaded).",
      "tests": "Measured under os-verify-lock on a shared 4-core box (lock VERDICT command-exit 0, held 273 s), on tree f1cf906501 (the fix on base 43dd5656). Runs: an instrumented copy of the origin/main file alone x2 (12/12 pass, 48.0 s and 51.4 s); the fixed file alone x2 (12/12 pass, 51.8 s and 53.2 s); one loaded run with 4 workers on both files plus 2 neighbours (31/31 pass). Case durations are in the summary. Ablation, a behaviour pin under a restructured fixture: in the BUILT, untracked packages/metadata-protocol/dist/index.js, the revert's restoreVersion 'packageId: commitPackageId,' (the [#29414] row binding) became 'packageId: null', putting back the restore into a row other than the committing package's own. On disk: marker count 1, anchor count 2 to 1. Run: vitest run --project isolated -t 'restores its own row in place'. Result red: 'AssertionError: expected 'A edited 2' to be 'A edited 1'', Tests 1 failed | 11 skipped. Restored from the saved copy, sha256 equal to the pre-mutation copy (829c9eb0...), marker count 0. Note: under that mutation the status, success and action:'restored' pins stay green, so the label read is the pin that bites. A post-merge rerun on e863d61b84 is NOT MEASURED (see deviations).",
      "gates": "Local: eslint --no-inline-config on the file exit 0. dispatch-gates --commands --repo objectstack-ai/objectstack on e863d61b84 derived 53 commands; each was run with its exit captured before any pipe. 50 exited 0. NOT-MEASURED: check:dual-build-cjs-loads (exit 3, PREREQUISITE NOT MET: unbuilt packages outside the diff); check:query-options-erasure and check:type-check-debt (each hit a 300 s local timeout on the shared box, exit 124). Reconciliation with --ran: '53 derived famil(ies) accounted for, 50 run, 3 NOT-MEASURED (1 DERIVED from a recorded exit 3, 2 claimed)', exit 0. PR body gates on the drafted body: check-changeset-no-major 0, check-adr-0087-registration 0, check-closing-keyword-parity 0, check-partof-closing-keyword 0. CI check-runs on head e863d61b84, 54 runs, 33 success and 21 skipped, none failed: Lint & Repo Gates success (carries the 3 NOT-MEASURED families), TypeScript Type Check success, Test Core success (1/8-5/8 success), Build Core success, Governed Surface Queue Guard success, Test UI success, Live E2E UI success, Check Changeset success, Dogfood Regression Gate success (the PR-speed job; its 3 shards run in the queue only), Lint UI / Type Check UI / Build & E2E UI skipped by the path selector.",
      "dogfood_battery": "n/a: no '!' in the PR title and no (narrowing) arm. The file itself was run locally (see tests); the queue's dogfood shards run the full battery.",
      "mcp_calls": "5, all reads: issue_read x2 (get, get_comments on #34271) and get_job_logs x3 (runs 43795201091, 43792843358, 43797161496). No MCP write tool.",
      "api_writes": "2: relay pr_create, POST /repos/objectstack-ai/objectstack/pulls carrying label skip-changeset (read back as identical, 7091 bytes, labels skip-changeset); post-stamped, POST /repos/objectstack-ai/objectstack/issues/34271/comments (this report). Plus 3 git pushes (not REST).",
      "files_changed": [
        "packages/qa/dogfood/test/package-commit-revert-path-package.dogfood.test.ts (+56 -36)"
      ],
      "line_budget": "n/a: no ratcheted ledger or skills file touched",
      "deviations": [
        "Lock queue: the closure build waited 04:00 to 04:56Z (6 exit-99 attempts behind a full dogfood battery; a resumed slot was overtaken twice), the measurement about 25 min and the ablation about 17 min. The post-merge rebuild plus rerun on e863d61b84 was queued behind a 30-min gates hold, a build and a full dogfood battery (estimated 1 to 1.5 h), so it is withdrawn and declared NOT MEASURED. The merge brought origin/main commits that do not touch the file, and the queue's dogfood shards run it on the merged tree.",
        "The ablation mutated the built dist of @objectstack/metadata-protocol (untracked output, which the dogfood isolated project resolves) instead of src, so the out-of-bounds protocol-package-commits.ts was never touched. Restore was proven by sha256, since there is no git blob for a dist file.",
        "Dogfood typecheck was not run locally (it went with the withdrawn post-merge script). CI TypeScript Type Check is success on e863d61b84.",
        "The relay opened the PR as a draft. Its body ends with both the AGENTS session-URL footer and the robot line the common order asks for."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed. Observation: the uninstalled-package case's ratio to the one-publish control rose from about 1.1x (11-04 to 11-13) to about 1.7-2.4x (11-14 onward) on green runs. Locally its calls are POST /packages 517-597 ms, publish 1081-1236 ms, DELETE /packages 521-596 ms. No regression is attributed to a commit and no wrong answer is shown, so this is not a class a/b/c finding. Its fixture now sits in the hook, which puts the case at 612-658 ms locally. Dedupe words: package uninstall latency, DELETE packages slow, cmtprobe-gone."
      ]
    }
  7. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    Contributor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ

    Request: review · p0 · PR #34323 · area S4 (E1) · Fixes #34271 · head e863d61 (green: 33 success, 21 expected skip, none failed; declared final)

    Ordinary ACCEPT read (L1) per review-checklist.md. Triage jumps it on ACCEPT. Test-only change: one file, packages/qa/dogfood/test/package-commit-revert-path-package.dogfood.test.ts, +56/−36. Clause-②: no, Metadata-protocol: none, skip-changeset. No contract face.

    • Diagnosis: a load/timing cliff (class a), not a regression and not a conflict between the roots. All three queue builds fail one case at 5013–5098 ms with "Test timed out in 5000ms". On green runs from 11-04 to 11-16 that case reads 2244–4493 ms, at a stable 2.2–2.6× of its one-publish control. Locally, about 80% of its 5 s went to two fixture publishes.
    • Fix: the fixture publishes (and the uninstalled case's package create and publish) move into nested-describe beforeAll hooks with a 60 s hook budget. Assertions, state order and the 5 s per-case clock are unchanged, and nothing is skipped. Locally the edit control went from 2611–3750 ms to 655–761 ms.
    • Ablation: on the built dist, restoreVersion's packageId: commitPackageId was changed to null, and the label pin went red (expected 'A edited 2' to be 'A edited 1'). Restore was proved by sha256.
    • Dev report: Queue-flake anchor: test/package-commit-revert-path-package.dogfood.test.ts #34271 (the os-dev-report comment). Not measured: a post-merge local rerun at e863d61, because of the lock queue. CI and the queue's dogfood shards run the merged tree.
  8. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    Contributor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ

    Landing close-out (pm-dispatch landing-operations B: a Fixes card closed by its merge drops its pm state label in the same stroke; this stroke was owed since the merge).

    Reading Value
    PR #34323, state MERGED
    Card closed (completed) by the PR's closing keyword

    State change: pm:dispatched removed. Domain, area, lease and priority labels stay.

  9. removed
    pm:dispatched
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

domain:serverfindingpriority:p0queue-flake-anchor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions