Skip to content

ci: should a PR that changes driver-sql also run the live PG + MySQL leg (Temporal Conformance)? #36614

Open

Description

@objectstack-fleet

repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

Filing gate ① · Source: fleet · found by seat repo:objectstack#1 on #36596 (main red after PR #36564); named as out-of-scope in that card thread's os-dev-report.

What happened

Temporal Conformance (live PG + MySQL) is the only CI job that runs the driver-sql suite against real Postgres and MySQL servers. By design it runs on main pushes only (if: … github.event_name != 'pull_request' && github.event_name != 'merge_group', "full battery only", #22998). So PR #36564 merged green and its new live MySQL cases first ran on main, which stayed red from 00:50Z to 03:28Z on 2026-11-23 until PR #36600 landed. The card thread's local evidence was MariaDB 10.11, which does not share MySQL 8's DROP DEFAULT behaviour.

The question (maintainer's call: CI time budget)

Should a PR whose diff touches packages/drivers/driver-sql/** (or a narrower DDL path set) also run this job on the PR, or in the merge queue? Today the cost lands on main as a red window instead.
Options to weigh:

Done when

  • The maintainer picks A, B or C (or another). For B/C, a governed ci.yml PR (Tier H) implements the filter, and one driver-sql PR shows the job running in the chosen event.

reach: every driver-sql PR; last miss cost main about 2.5 hours red.
Business reason: main red blocks every PR's base; a live-DB regression should be caught before it lands.
Reader: CI owners (.github/workflows/ci.yml, the filter job and THE TWO SPEEDS).
Dedupe: Temporal Conformance pull_request, live MySQL PR CI, driver-sql merge_group → none.
Grade suggestion: p2. Triage decides; the choice is the maintainer's.

Activity

  1. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in .github/workflows (CI path filter for Temporal Conformance) · needs-user-decision; rationale: area:fleet (it had no area) · Task · the live PG + MySQL leg runs on main pushes only, so PR #36564 merged green and kept main red for 2 h 38 min (00:50–03:28Z, 2026-11-23) until PR #36600 landed. The question for the maintainer, a CI time-budget call: should a PR whose diff touches packages/drivers/driver-sql (or schema sync) also run the live leg, before merge or in the merge queue? A gate whose absence let main go red is an instrument that changes a merge decision → p2 · size S.

  2. added
    needs-user-decision
    priority:p2
    on Nov 23, 2026
  3. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · huangyiirene · session_01J8VVAm8Y73VGNq3PkTe3dc

    Ruled · 2026-11-24T15:22Z · the maintainer chose, on a decision card in this account's fleet project (2026-11-24T15:21Z), the option 「B 合并队列里跑(分两步)」 on the question 「改 SQL 驱动的 PR,真库测试放在哪一步跑?」. The option read: 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. The seat's analysis named this as moving an existing gate earlier under precedent 6663883327 (#30461), not a new gate; this ruling amends that ruling's clause that kept temporal-conformance off the queue, for this job only.

    Shape (seat-side analysis at /mnt/project-files/objectstack-seat2-fleet/decision-36614-analysis.md, readings at origin/main d25d912):

    1. One governed PR (Tier H, .github/workflows/ci.yml; also scripts/pm/dispatch-gates.mjs, always Tier H): a filter output for packages/drivers/driver-sql/**, unset-means-run on schedule / workflow_dispatch, fail-open on merge_group; the temporal-conformance job's if: admits merge_group only when that output is not false; pull_request stays denied. Updated together: THE TWO SPEEDS comment, AGENTS.md (required-set paragraph), docs/agents/multi-agent-discipline.md, scripts/pm/check-expected-skips.mjs, scripts/pm/dispatch-gates.mjs (the leg derives for a driver surface) and the tombstone prose in scripts/check-required-contexts.mjs. ⛔ No ruleset change in this PR.
    2. A reading over the first 20 driver entries or 7 days, whichever comes first: entries that ran the leg, each red classed (own regression / flake / inherited), queue median and p90 before and after.
    3. Zero flakes and no queue growth ⇒ the maintainer adds the context to the required set; a small PR restores its registry row (precedent PR ci(required-contexts): register Dogfood Regression Gate as a required context again #31133).
    4. dogfood-verify and ui-published-artifacts stay full-battery only.

    State: needs-user-decision → pm:queue. Reader: the area:fleet seat (repo:objectstack#2). Domain reading for triage to set: domain:devx (CI workflow and gate scripts); this seat does not write domain:*.

  4. added
    pm:queue
    and removed
    needs-user-decision
    on Nov 24, 2026
  5. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · huangyiirene · session_01J8VVAjMMU8pcMXmiLEMMG4

    Blocked · 2026-11-24T15:50Z · area f2-E (seat 2) holds this card's build behind #36483 (area f2-D, claimed 7136432186). Ruling 7135915693's shape puts a scripts/pm/dispatch-gates.mjs change (the live leg derives for a driver surface) in this card's one Tier H PR, and #36483 edits the same file and its self-test for the driver-sql closure. Both areas agreed to serialise so the queue never sees two writers on it. No claim and no branch exist for this card.

    Blocked-by: #36483

    When #36483 closes, area f2-E claims this card from main (seat 2's lease); the ruling stands as recorded.

  6. added
    pm:blocked
    and removed
    pm:queue
    on Nov 24, 2026
  7. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: unblocked 2026-11-24T22:40Z

  8. added
    pm:queue
    and removed
    pm:blocked
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:fleetpm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions