Skip to content

ci: the live PG + MySQL merge-queue leg (ruling B of #36614): read its observation window, finish the companion edits, then the maintainer decides the required set #38087

Todo

Description

@objectstack-fleet

repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW

Filing gate: carries the remaining items of #36614 (its ruling's step 2 and the companion edits); #36614 keeps nothing and closes. Source: seat repo:objectstack#1 area o1-F, W0 survey 2026-11-28, on seat 1's routing.

维护者速读

  • 做什么:改 SQL 驱动的 PR 在合并队列里跑真库测试,这一步已经上线(PR ci(temporal-conformance): PostgreSQL service on pgvector's PG 16 image; merge-queue run on live paths #37155)。剩下的是:观察一段时间的运行结果,补齐几处配套文字与工具,再由你决定是否设为必过。
  • 谁受益:避免再出现改驱动的 PR 合进主干后主干变红两个多小时的情况。
  • 需要你做的:观察结束后,席位会带读数请你决定是否加入必过项(GitHub 设置里的人工动作)。

Ruling (verbatim, #36614 comment 7135915693)

The maintainer chose 「B 合并队列里跑(分两步)」: "only a PR that changed the driver runs the live-database leg in the merge queue; first observe a while, then the maintainer adds it to the required set."

Done on main

Remaining items

  1. Observation reading. Read the job's merge_group runs since 2026-11-25T02:40Z: run count, red count and causes, minutes per run. Post it here. The ruling names no window length, so the reading states the count it covers.
  2. Companion edits named by the ruling's shape (7135915693 item 1), checked against origin/main 815e882:
    • scripts/pm/dispatch-gates.mjs / dispatch-gates.data.mjs: "the leg derives for a driver surface". No temporal derivation hit there today, so this is unverified as done.
    • scripts/pm/check-expected-skips.mjs:1318 still describes the job with if: FULL_BATTERY_IF. Check it against the live if: at ci.yml:2488.
    • The THE TWO SPEEDS comment in ci.yml, the required-set paragraph in AGENTS.md, docs/agents/multi-agent-discipline.md, and the tombstone prose in scripts/check-required-contexts.mjs: re-read each, and fix whichever does not match main.
  3. Maintainer step. With the reading in hand, a decision card asks whether Temporal Conformance (live PG + MySQL) joins the required set. A ruleset change is a human act (pm:awaiting-maintainer once ruled).

Governed: item 2's ci.yml / AGENTS.md / dispatch-gates.mjs edits are Tier H.

Dedupe: is:issue is:open temporal-conformance required merge_group returned 3: #36614 itself and two seat posts.
Suggested-grade: p2 · the parent's grade (a gate whose absence let main go red).

Activity

  1. added
    pm:queue
    on Nov 28, 2026
  2. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:fleet · domain:devx · Task · p2 · pm:queue · size S; rationale: the rest of the maintainer's ruling B on #36614. The live PG + MySQL merge-queue leg for driver PRs is live (PR #37155); this card reads its observation window, finishes the companion edits, and then brings the reading to the maintainer to decide whether the check becomes required (a manual GitHub setting). p2, and linked under topic #38081 (CI 稳定与合并队列提速). Answers seat repo:objectstack#1 (7232044944). Recorded 2026-11-28T01:59Z.

  3. added
    domain:devx
    priority:p2
    on Nov 28, 2026
  4. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW

    Claim: PM loop round 1
    Session: session_016WV4cxRDKprCtjpEdtiPFW
    Account: os-elon-musk
    Branch: claude/issue-38087-temporal-live-companion
    Worktree: objectstack-issue-38087
    Domain: domain:devx
    Seat: repo:objectstack#1
    Area: o1-F
    File surface: item 1 the observation reading (posted on the card); item 2 companion edits only where they disagree with main: scripts/pm/dispatch-gates.mjs / .data.mjs (the leg derives for a driver surface), scripts/pm/check-expected-skips.mjs (~:1318, the job's if:), the THE TWO SPEEDS comment in .github/workflows/ci.yml, the required-set paragraph in AGENTS.md, docs/agents/multi-agent-discipline.md, scripts/check-required-contexts.mjs tombstone prose. ⛔ Not item 3 (the required-set decision is the maintainer's, a decision card after the reading).
    Container & model: S, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: ci.yml temporal-conformance (merge_group only) and its companion prose in objectstack | none | every PR that changes a SQL driver (main red 2 h+ before PR #37155)
    Thread-read: 7232062376
    Premise: holds at bd5407e (PR #37155 merged 3b4f0b9; the job runs on merge_group when temporal_live != 'false')
    Serial constraints cleared: ci.yml is shared with #36646 and #38132/#38133 in this area (a comment block vs the matrix and the ui filter rows); AGENTS.md headroom is small, net ≤ 0 bytes; overlap-check before every push
    Pre-claim lane: domain:devx per triage 7232062376; stays in this seat (留道). Governed (ci.yml, AGENTS.md, scripts/pm/**) → Tier H, the PR goes to the seat for the hand-off.
    Pre-claim deps: none; #36614 ruling B step 1 is on main (PR #37155).
    Prior rulings read: the maintainer's ruling B verbatim on #36614 (7135915693): observe first, then he adds it to the required set; the AGENTS.md volatile-count rule (#37887). Dispatch order: the maintainer, 2026-11-28T09:59Z in the area thread, 「CI 和合并队列 可以派」 (the CI and merge-queue p2 group) and 「并发5」.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW

    Read at 2026-11-28T10:26Z.

    Observation reading: Temporal Conformance (live PG + MySQL) on merge_group (item 1)

    Read through the REST API (actions/workflows/ci.yml/runs?event=merge_group, then runs/{id}/jobs?filter=all for each run). Window: every ci.yml merge_group run created since 2026-11-25T02:40Z (PR #37155's merge), up to the read time above. Path globs judged as ci.yml's temporal_live filter spells them at origin/main e42520c.

    Counts

    Reds: 1 of 38 runs, 1 of 23 entries. By class: 1 own regression, 0 flakes, 0 inherited.

    Missed entries: 0. 72 other PRs that landed in the window touch the same top-level directories. Matched file by file against the exact temporal_live globs, 4 of them hit: #37164, #37256, #37287 and #37335, all on service-knowledge/src/testing.ts. All 4 merged before #37337 added that glob (at 2026-11-25T23:24Z), so their skip was expected. No entry hit a glob that was live at the time and skipped the leg.

    Minutes

    • The leg's own wall time (the job's started_at to completed_at, n=38): median 11.1, p90 13.6, mean 10.6, range 5.2 to 14.2. The 5.2 is the red run, which stopped at its first failing step.
    • Queue run wall time, counting only runs that concluded success on attempt 1:
    • The leg was never on the critical path. In each of the 32 green runs that ran it, it finished 7 to 26 minutes before the run did. The rest of the run (dogfood shards and Test Core) set the wall time.
    • So the leg adds no queue time. The leg-ran runs are slower by a median of 3.8 min because of their other jobs: driver and ci.yml diffs widen Test Core. The overall queue median rose by 3.0 min (21.6 to 24.6) in runs where the leg skipped too, so that rise is not this leg.

    Step 3 (the maintainer's call, not answered here): zero flakes and no queue growth from the leg. The one red was a real own regression that reached main because the context is not required.


    Generated by Claude Code

  7. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW
    os-dev-report

    {
      "issue": 38087,
      "status": "done",
      "branch": "claude/issue-38087-temporal-live-companion",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38267",
      "session": "session_016WV4cxRDKprCtjpEdtiPFW",
      "premise_still_valid": true,
      "summary": "Item 1: the observation reading is posted on #38087 (comment 7237905765). It covers 863 merge_group runs since PR #37155. The leg ran 38 times across 23 distinct entries. There was 1 red, an own regression: #37279's new live-MySQL test failed, the PR landed because the leg is advisory, and #37331 fixed it about 6 h later. Flakes 0, inherited 0, missed entries 0. Leg median 11.1 min, p90 13.6. The leg is never on the queue's critical path. Item 2: only dispatch-gates was actually wrong. Its jobIfReading refused the temporal job's queue-path if: whole, so a driver-sql card derived no row for the leg. It now reads that clause and decides per card: queue build for a path in temporal_live, full battery otherwise. The check-required-contexts tombstone prose is also corrected. Four items were already right on main and are untouched: the THE TWO SPEEDS comment in ci.yml, the required-set paragraph in AGENTS.md (net 0 bytes), multi-agent-discipline.md, and check-expected-skips:1318 (a frozen historical fixture; the live roster is derived and already handles the new if:). Item 3 is untouched.",
      "tests": "At head 374afa106b. os-verify-lock pnpm check:pm-dispatch-gates: '✓ dispatch-gates self-test (fast tier): 2377 cases pass', VERDICT command-exit 0, 0 failures. The new cases cover the queue-path reading, 3 near-miss refusals, queueGate null elsewhere, a LIVE route-ledger row (full-battery sentence), a LIVE driver-sql row (queue-build sentence), and an in-place queueOutput ablation. On-disk mutation: the clause match was set to null and jobIfReading on the live temporal if: returned null; after git checkout HEAD it returned refs filter.core, notOnPullRequest true, queueGate filter.temporal_live. node scripts/check-required-contexts.mjs --self-test: 190 assertions pass.",
      "gates": "dispatch-gates --commands derived 70 families at 374afa106b. 69 ran locally with exit 0, each exit captured before any pipe. node scripts/check-self-test-workflow-commands.mjs: NOT MEASURED, refused twice with spawnSync node ETIMEDOUT on check-adr-0087-registration.mjs --self-test (a script this diff does not touch) at load average 8-10. --ran reconciliation: 70 of 70 accounted for. overlap-check VERDICT clean before both pushes. PR check-runs: in_progress at report time.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3 — POST issues/38087/comments (reading, via post-stamped relay); pr_create relay stroke (POST pulls + POST issues/38267/assignees + POST issues/38267/labels); POST issues/38087/comments (this report, via post-stamped relay)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · check-expected-skips' derived reason for temporal-conformance says 'answered by the merge-queue build', which is true only on a temporal_live entry. The reason already hedges with 'plus 2 further condition(s) the recogniser does not read'. Noted in Acceptance notes, not filed."]
    }

    Generated by Claude Code

  8. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW

    Ruled · 2026-11-28T11:00Z · item 3. The maintainer (Elon) answered a decision card in the project's o1-F area thread at 2026-11-28T10:59Z. He chose 「设为必过」 on 「要不要把真库测试(PG+MySQL)设为合并必过?」. The option read: 「改驱动、知识库等相关文件的 PR 真库测试不过就进不了主干,其他 PR 跳过它照常合并;需要你批准一个配套 PR,并在 Rulesets 的必过检查里加这一项」.

    Basis: observation reading 7237905765, the step-3 condition of ruling 7135915693 on #36614. In 38 runs over 23 entries there were 0 flakes, the leg never ran on the queue's critical path, and the 1 red was a real own regression (#37279).

    What follows:

  9. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW
    os-dev-report

    {
      "issue": 38087,
      "status": "done",
      "branch": "claude/issue-38087-temporal-live-companion",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38267",
      "session": "session_016WV4cxRDKprCtjpEdtiPFW",
      "premise_still_valid": true,
      "summary": "Rework round for L1-a REWORK 7238523120 and contract record 7238515315, head 374afa106b to 0e1b4724af; no merge of main was needed (overlap-check clean). S1: jobFilteredSteps now decides the queue-path split with triggerListMatches, a glob matching the path itself with no directory reach, and the row names that glob (queueGlob, queuePath). A directory surface that only reaches into the globs gets a hedged third sentence: the queue build runs the leg only if a changed file is in filter.temporal_live, otherwise main's push battery. Live results: packages/runtime gets the hedge; the driver-sql file gets queue-build-first; packages/runtime/src/domains/packages.ts gets full-battery. N1: a queue list narrowed by a dropped positive extglob, or carrying a plain negation, is marked queueUncertain and the row hedges; a negated extglob still refuses the job. N2: the docblocks of jobIfReading, jobFilterPopulations and fullBatteryOnlyClause now name the third clause. N3: an unparenthesised A || B ahead of any stripped event clause is refused, and (A || B) reads as before. REQUIRED_CONTEXTS is untouched; item 3's row PR is separate. The PR body was patched through issue_patch with the signed trailer. It also corrects the first-round report's gates claim: check:i18n-coverage was exit 3, not 0.",
      "tests": "At head 0e1b4724af. os-verify-lock pnpm check:pm-dispatch-gates: '✓ dispatch-gates self-test (fast tier): 2385 cases pass', VERDICT command-exit 0, 0 failures. New cases: triggerListMatches against triggerListCovers on a directory; LIVE packages/runtime gets the hedged sentence and never queue-build-first or full-battery; its ablation (queueHedged stripped) brings the queue-build-first sentence back; the driver-sql row names glob packages/drivers/driver-sql/**; queueUncertain for a dropped extglob and for a plain negation, with the negated-extglob refusal; the bare A || B refusals for the queue-and-full and queue-path clauses beside the parenthesised read. Direct node import of the head gives queueUncertain false/true/true and null for the negated extglob, and the bare-OR refusal null against 2 refs for the parenthesised form.",
      "gates": "dispatch-gates --commands derived the same 70 families at 0e1b4724af. 68 ran with exit 0, each exit captured before any pipe; node scripts/check-self-test-workflow-commands.mjs is green this round. pnpm check:i18n-coverage: NOT MEASURED, exit 3 PREREQUISITE NOT MET (the workspace CLI is not built in this fresh worktree; this diff touches no CLI or example). CORRECTION: the first round's report said 69 exited 0; check:i18n-coverage was exit 3 there too. overlap-check VERDICT clean before the push. PR check-runs at 0e1b4724af: in_progress at report time, not waited on.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 this round — issue_patch PATCH issues/38267 (PR body, signed trailer, read back identical); POST issues/38087/comments (this report, via the post-stamped relay). The git push is not counted.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · check-expected-skips' derived reason for temporal-conformance says 'answered by the merge-queue build' and hedges with the unread conjuncts. The contract record says it becomes worth a card once item 3's row PR makes the context required; noted, not filed."]
    }

    Generated by Claude Code

  10. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW

    Follow-up nits · 2026-11-28T11:53Z · from PR #38267 (L1-a delta ACCEPT 7238807568, delta record 7238800835), left for a later pass on this card:

    • N4: a card surface that is the bare directory packages/drivers/driver-sql (no trailing segment) gets the hedged sentence, although every file under it matches packages/drivers/driver-sql/**. The sentence is weaker than the truth, not false.
    • N5: queueUncertain is not pinned on the row by the self-test.
  11. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW
    os-dev-report

    {
      "issue": 38087,
      "status": "done",
      "branch": "claude/issue-38087-required-temporal",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38331",
      "session": "session_016WV4cxRDKprCtjpEdtiPFW",
      "premise_still_valid": true,
      "summary": "Item 3's repo half, on the #31133 pattern, at head e4f279813e (draft PR #38331, Part of #38087). scripts/check-required-contexts.mjs gets the REQUIRED_CONTEXTS row ci.yml:temporal-conformance -> 'Temporal Conformance (live PG + MySQL)', authorized by ruling 7238262118 with reading 7237905765. The #22998 tombstone, which only this context was left in, becomes a short history paragraph and two Returned: lines (Dogfood's, and this one citing 7146156389 and 7238262118). Both statesTheSet mustName lists gain the name, the 10->11 history comments go on to 11->12, and the self-test gains a rename fixture for the suffix drop. AGENTS.md and readings-ci.md name the context in the required set, and their count words are deleted under the volatile-counts rule, which pays for the added name: AGENTS.md 78708 -> 78704 bytes (ceiling 78712), readings-ci.md 4900 -> 4896 (ceiling 4900), no CEILINGS raise. multi-agent-discipline.md and the ci.yml comments (THE TWO SPEEDS and the temporal-conformance header) stop calling the queue leg advisory. No job, if:, step or ruleset changed, and the ruleset entry is left to the maintainer. Deviation: the newest Claim: on #38087 (7237641764) names the previous round's branch claude/issue-38087-temporal-live-companion (merged as #38267), not this dispatch's branch, and no new Claim was posted. I went ahead because the claim and this dispatch come from the same seat session, and ruling record 7238262118 assigns this row PR to area o1-F. The seat may want to post a Claim naming claude/issue-38087-required-temporal.",
      "tests": "At e4f279813e. node scripts/check-required-contexts.mjs --self-test: exit 0, '192 assertions' (190 before; the new temporal rename fixture asserts the job name and the context are both named). node scripts/check-required-contexts.mjs: exit 0, '12 required context name(s) pinned across 3 workflow(s)', last row 'ci.yml:temporal-conformance -> Temporal Conformance (live PG + MySQL)'. Settings half: NODE_OPTIONS=--use-env-proxy node scripts/check-required-contexts.mjs --verify-required-set: exit 0 (report-only), '11 live required context(s) on main, 1 registered-but-not-required, 0 required-but-unpinned', direction A naming Temporal Conformance (live PG + MySQL). That is expected: the maintainer adds the ruleset entry on the merge day. Nothing works around it. No ablation, because no tested behaviour changed (registry, prose and comments only).",
      "gates": "dispatch-gates --commands (--repo objectstack-ai/objectstack) derived 82 families at 4eceaabb0c. Its stderr reported the tree 2 commits behind origin/main, none of them touching what it derives from, so main was not merged. --ran at e4f279813e: '82 derived famil(ies) accounted for — 77 run, 5 NOT-MEASURED (5 DERIVED from a recorded exit 3)'. Each exit was captured by redirect-then-$? before any pipe. NOT MEASURED, declared narrowing: check:doc-formula-expressions, check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure and check:sourcemap-no-sources-content exit 3 PREREQUISITE NOT MET because they need built packages/* dist. The diff touches no package, no workspace build was run in the shared container, and CI's Lint & Repo Gates runs them. Commit e4f279813e changed one readings-ci.md line after the first run started, so the 20 families derived for that file were rerun on e4f279813e, all exit 0 (check:pm-skill-ratchet, check:required-contexts and check:pm-skill-id-lint among them). check:pm-dispatch-gates was also rerun there: exit 0, '✓ dispatch-gates self-test (fast tier): 2385 cases pass'. overlap-check: 'VERDICT clean exit 0' against origin/main 4997caeeab and #38286 (shares ci.yml). PR check-runs at e4f279813e: in_progress at report time (Check Changeset=success, the rest in_progress or skipped by design), not waited on.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 relay strokes — pr_create via fleet-write dispatch (POST pulls #38331 draft + POST issues/38331/assignees os-elon-musk + POST issues/38331/labels skip-changeset, read back identical: 12425 bytes sent and stored); POST issues/38087/comments (this report, via post-stamped). The git pushes (empty-branch probe plus 2 commits) are not counted.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · check-expected-skips' derived reason for temporal-conformance still reads 'answered by the merge-queue build' (true only on a temporal_live entry, hedged with the unread conjuncts). The previous round's contract record said this becomes worth a card once the context is required, which this PR does. Not filed because the area is closing (maintainer 2026-11-28T13:00Z); left for the seat.", "carrier: none · docs/agents/multi-agent-discipline.md names both re-enrolled contexts but is not an INSTRUCTION_SURFACES entry, the same as under #31133. Noted, not filed."]
    }
  12. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW

    Branch addendum · 2026-11-28T13:51Z · to claim 7237641764 (same seat, same session): item 3 of this card, the REQUIRED_CONTEXTS row on ruling 7238262118, is built on branch claude/issue-38087-required-temporal as draft PR #38331 (Part of #38087). Items 1-2 landed in #38267. Nothing else is claimed.

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

Metadata

Metadata

Assignees

Labels

area:fleetdomain:devxpm:dispatchedpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions