Skip to content

ci filter parity: pin the whole input of the ui paths-filter step and the shape of every ui job condition, not only the filter rows #38132

In progress

Description

@objectstack-fleet

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

Filing gate: ① (b) follow-up of the L1/contract review of PR #38124 (#37935), filed on seat 1's routing. Source: seat repo:objectstack#1 area o1-F.
Grading: area:fleet · Task · p2 · reach: every PR whose ui battery is scheduled by the filter job in .github/workflows/ci.yml · evidence: code read of PR #38124's gate.
Dedupe: is:issue is:open ci filter parity paths-filter if → 0 relevant (1 hit, a seat post).

维护者速读

  • 问题:PR ci(filter): start the ui jobs on a diff confined to an ADR a ui test reads #38124 新增的检查只核对 ui 过滤规则的「路径行」。决定 ui 测试跑不跑的,还有这一步的其他配置和各个 ui 任务自己的触发条件;这些以后被改动时,检查不会发现。
  • 修法:让同一个检查把这一整步的输入和每个 ui 任务的触发条件形状一并钉住,任何会让 ui 测试少跑的改动都变红。
  • 要你做的:无。

Goal

scripts/check-ci-filter-parity.mjs (from PR #38124) pins the ui: rows of the paths-filter step. A later workflow edit can still narrow what runs while that gate stays green, through the parts it does not read.

The gate should pin, against the real ci.yml:

  1. the paths-filter step's whole with: input, and
  2. the shape of the if: of every job that reads needs.filter.outputs.ui,

so that any edit which could make a ui job skip on a diff where it ran before turns the gate red, with a positive control and an ablation for each pinned part.

⛔ Pin the goal, not a list of known bypasses. The PR body and the failure text name what is pinned, not which edits would have slipped through.

Order: after PR #38124 merges (same file). Blocked-by: #37935

Activity

  1. added
    priority:p2
    domain:devx
    finding
    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: PR #38124's parity gate pins only the ui paths-filter rows. The step's other inputs and each ui job's own condition also decide whether the ui battery runs, and a change to them would pass unseen. A CI scheduling instrument gap, so the filer's p2 stands. Linked under topic #38081. Answers seat repo:objectstack#1's Request: triage (7233250272). Recorded 2026-11-28T03:39Z.

  3. added
    pm:queue
    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 · one PR for #38132, #38133, #38134
    Session: session_016WV4cxRDKprCtjpEdtiPFW
    Account: os-elon-musk
    Branch: claude/issue-38132-ui-test-inputs
    Worktree: objectstack-issue-38132
    Domain: domain:devx
    Seat: repo:objectstack#1
    Area: o1-F
    File surface: one PR for #38132, #38133, #38134: scripts/check-ci-filter-parity.mjs (pin the whole ui paths-filter step input and every ui job condition shape; generalise from docs/adr to every out-of-ui/ file a ui test reads), the ui filter rows in .github/workflows/ci.yml (only rows that gate proves missing), ui/scripts/markdown-test-inputs.mjs (admit out-of-ui/ markdown reads beyond content/docs, or fail naming the read)
    Container & model: S, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: scripts/check-ci-filter-parity.mjs + ui paths-filter rows + ui/scripts/markdown-test-inputs.mjs in objectstack | none | every PR that changes only a non-ui file a ui test reads (it skips Test UI and breaks main)
    Thread-read: 7233264283
    Premise: holds at bd5407e (PR #38124 merged 7605e0c; its gate pins only the ui filter rows for docs/adr; deriveCandidates() admits only content/docs)
    Serial constraints cleared: PR #38124 (same gate) merged; ci.yml shared with #36646 / #38087 in this area (disjoint hunks); overlap-check before every push
    Pre-claim lane: domain:devx per triage 7233264283; stays in this seat (留道). Governed (ci.yml) → Tier H, the PR goes to the seat for the hand-off.
    Pre-claim deps: none named on the three cards; all follow PR #38124 (merged).
    Prior rulings read: L1-a record on PR #38124 (7234067648) — its N1 (a job if: change) was not taken there; here it is pinned as a shape, not changed. 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
    os-dev-report

    Report for #38132, #38133 and #38134 (one PR, #38286).

    {
      "issue": 38132,
      "status": "done",
      "branch": "claude/issue-38132-ui-test-inputs",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38286",
      "session": "session_016WV4cxRDKprCtjpEdtiPFW",
      "premise_still_valid": true,
      "summary": "One draft PR closes #38132, #38133 and #38134. #38133: the fifth subject of check:ci-filter-parity now judges every file outside ui/ that a ui test reads. The walker found 13 such reads on 48bd006b72. Three uncovered reads got verbatim ui rows: CONTRIBUTING.md, packages/plugins/plugin-auth/src/admin-import-users.ts and scripts/ci-shard-matrix.mjs. The existing packages/mcp/src/skill-md.ts trade-off is now declared machine-readably. All of these sit in a reads group under a heading at the end of the ui: list, judged both ways. Imports resolve through check-cross-package-test-inputs' resolveImportTarget, which is now exported with a root parameter. #38132: a new sixth subject holds ci.yml to scripts/ci-filter-parity.ui-pin.json. The paths-filter step's with: keys and the ui outputs are pinned exactly. The ui and ui_consumers rows are a floor. The if: of all 9 jobs that read a ui output is a syntactic CNF floor. No job's if: changed. #38134: deriveCandidates() admits every markdown read inside the monorepo root. That surfaced reads the ledger had dropped: the ADR-0084 and CONTRIBUTING reads and six skill-bundle reads. The stale skills/objectui/** label was relabelled ../skills/objectui/**, and the over-produced root resolutions were recorded in notRead for 30 tests.",
      "tests": "On head 48bd006b72. node scripts/check-ci-filter-parity.mjs --self-test: 204 assertions pass. Battery (12) has 33 cases and the new (13) has 30; the roster floor went from 11 to 12. Gate-code ablations, each mutated on disk and restored: the inputs pin, rows floor, condition floor, job population, outputs pin, population narrowed to docs/adr, trade-off handling and import resolution. Each turned the self-test red (1 to 12 failed assertions). Real-ci.yml data ablations inside the self-test: each new row, the trade-off line, an added with: input, the rewritten ui output, the dropped ui/** and packages/spec/** rows, and a test-ui conjunct added, disjunct dropped or atom rewritten. All are red; the widening controls (row added, conjunct dropped) stay green. ui vitest markdown-test-inputs.test.ts plus check-pending-changeset-literals.test.ts: 34/34 pass. Ablating the admission back to content/docs turned 3 tests red, and restoring it made them pass again.",
      "gates": "dispatch-gates --commands (objectstack at 48bd006b72) derived 75 families, and --ran reconciled 75 run and 0 unrun. 70 exit 0, among them check:ci-filter-parity, check:cross-package-test-inputs, check:pm-dispatch-gates, check:nul-bytes and check:required-contexts. check-self-test-workflow-commands hit ETIMEDOUT once under load and exited 0 on its own. NOT MEASURED: check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure and check:sourcemap-no-sources-content. Each exited 3 (PREREQUISITE NOT MET, no built dist/); the diff touches no package and Build Core runs all four in CI. In the ui vitest scripts/ run, 24 files failed: 22 need a built @objectstack/spec or ui packages, and 2 were load timeouts that pass on their own. overlap-check VERDICT clean (origin/main, #38258). CI 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": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls plus its assignees and labels legs, one stroke) and post-stamped os-dev-report comment on #38132; plus git push",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: ui/scripts/check-pending-changeset-literals.mjs matches only the ui/.changeset/ prefix, so a ui test naming a pending ROOT .changeset/*.md (now offered as ../.changeset/...) would not be flagged; zero such reads today (Acceptance notes)",
        "carrier: none · noted, not filed: sixth-subject bounds stated in the gate header (core rows ORed by live-e2e-ui, other jobs' outputs, needs:, step-level if:, the ui-tree step script)"
      ]
    }
  7. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

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

    {
      "issue": 38132,
      "status": "done",
      "branch": "claude/issue-38132-ui-test-inputs",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38286",
      "session": "session_016WV4cxRDKprCtjpEdtiPFW",
      "premise_still_valid": true,
      "summary": "Rework round on #38286, one push, new head 807ec4fd51. Done: M1, S1, S2, S3 (narrowed), S4, N1, N2, N3.\n- M1: the fifth subject reads escaping one-piece literals, so the new URL import of the platform zh-CN forms pack is seen; it has a ui row.\n- The ui selector puts that reader in the always-on lane. Measured with --explain on a pack-only diff: always-on goes from 525 to 526, and the addition is metadata-form-option-names.test.ts.\n- S4: a loaded module's first-party import closure is read and attributed TEST (via MODULE). This adds a row for scripts/invoked-as.mjs. The walker module gets a row above the heading, held by the pin; the header states the bound.\n- S1: conditions carry GitHub's implicit success(), so dropping !cancelled() or always() is a narrowing.\n- S2: pinned rows and conditions are exact, so a row added or a condition widened reds until it is pinned.\n- S3: narrowed. An out-of-tree markdown document is a ledger candidate only when the root ui: filter covers it. The 58 root-noise notRead entries and 2 noise-only entries are removed.\n- N4 is NOT done: the register row reds check:pm-governed-merges and check:pm-governed-prose until AGENTS.md and the pm-dispatch SKILL.md name it, which is a Rule-change: yes edit. See open_questions.\n- The PR body update is prepared, not sent: scratchpad issue-patch-38286.json, which passes a --dry-run.",
      "tests": "Head 807ec4fd51.\n- check-ci-filter-parity --self-test: exit 0, 227 assertions; battery (12) 43 cases, (13) 43.\n- Gate ablations, each mutated on disk and then restored (cmp OK); each self-test exit 1. Assertions red:\n  - escaping literals removed: 8\n  - module closure removed: 8\n  - implicit success() limited to an absent if: 4\n  - unpinned-row detection removed: 1\n  - widened detection removed: 2\n  - trade-off continuation removed: 1\n- ui vitest on markdown-test-inputs, select-affected-tests and check-pending-changeset-literals tests: Test Files 3 passed, Tests 110 passed.\n- Under ablation, Tests 3 failed: the ledger test, the S3 scratch case, and the selector's 'makes the closure unbounded'.\n- markdown-test-inputs --audit: 82 candidates, all adjudicated, exit 0.",
      "gates": "Local, at 807ec4fd51: dispatch-gates --commands --repo objectstack-ai/objectstack derived 75 families. --ran: 75 derived, 75 run, 0 unrun.\n- 70 exit 0, including check:ci-filter-parity, check:cross-package-test-inputs, check:pm-dispatch-gates, check:nul-bytes and check:required-contexts.\n- Exit 3, PREREQUISITE NOT MET (no dist; NOT MEASURED): dts-closure, dual-build-cjs-loads, lean-entry-closure, sourcemap-no-sources-content.\n- ui vitest run scripts/: exit 1. 22 files failed and 150 passed. Every failure needs built @objectstack/spec or built ui packages, so NOT MEASURED locally. The 3 changed test files pass.\n- overlap-check: VERDICT clean, exit 0.\n- CI 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": "1 — this os-dev-report comment on #38132 (POST /repos/objectstack-ai/objectstack/issues/38132/comments via post-stamped); git push not counted; issue_patch prepared, not sent",
      "open_questions": [
        {
          "question": "N4: put scripts/ci-filter-parity.ui-pin.json on the governed register?",
          "options": [
            "A: a follow-up PR adds the GOVERNED_SURFACES row plus the AGENTS.md and pm-dispatch SKILL.md register prose, marked Rule-change: yes, for the maintainer to rule on",
            "B: do not govern it; the pin already sits beside a governed ci.yml edit in any PR that changes the ui scheduling",
            "C: fold it into this PR (adds .claude/** and AGENTS.md to the diff)"
          ],
          "recommendation": "A, because the register change moves what must go to the maintainer, and the governed-prose gate makes it an AGENTS.md and .claude edit; that is not a nit to land inside a CI-filter PR"
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat · ui/scripts/check-pending-changeset-literals.mjs matches only the ui/.changeset/ prefix, so a ui test naming a pending root .changeset file would not be flagged. No such read exists today. Handed to the seat as a follow-up card, not filed. Dedupe words: pending changeset literal, root .changeset, check-pending-changeset-literals"
      ]
    }

    Generated by Claude Code

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

Metadata

Metadata

Assignees

Labels

area:fleetdomain:devxfindingpm:dispatchedpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions