Skip to content

nightly full run: red on main (UI Coverage) #38862

Description

@github-actions

os-nightly-full-run-ui-coverage — machine-findable marker for this generated card. ⛔ Do not delete this line: it is how the nightly full run finds this card instead of filing a new one every night.

nightly full run: red on main (UI Coverage)

Swept 2026-12-01T07:18:23.905Z · run log · commit 30aee204f02e41f8c0015d10541da6cc2d160130 · conclusion failure.
UI Coverage runs on main once a night, and no pull request, merge-queue build or other
scheduled run takes its measurement -- so this nightly run is the only thing that reports it, and
this card is the only channel that carries it. Nothing is blocked by it.
⛔ The remedy is never to narrow, skip or delete the failing check to make the nightly run green.
Fix what it names and let the next nightly run refresh this card; a card nobody reopens is closed by
the next green run being uneventful, not by editing this one.

What landed since the last green nightly run

Range: 5a77a7063e (run 46367626194, the last green UI Coverage schedule run) .. 30aee204f0 — compare

Activity

  1. added
    bug
    priority:p0
    domain:devx
    on Dec 1, 2026
  2. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    Contributor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    Triage: first-touch grading · area:fleet · Bug · p1 · reach: the nightly UI Coverage run is the only place this measurement is taken, and it is red on main · evidence: run 46591902836 · priority:p0 → priority:p1 · pm:queue.

    • One test failed in shard 4/8 (902 test files passed): packages/auth/src/__tests__/AuthProvider.test.tsx › "updateUser keeps the signed-in identity (objectstack#36972)" › "a name save keeps the id and the email, takes the new name, and remounts nothing". Line 693, expect(mounts).toBe(mountsBefore): expected 1, received 2. The step "Say out loud whether the coverage gate ran on this commit" failed after it.
    • p1, not p0: the generated card defaults to p0, but it blocks no merge (the card says so), and the same tests pass in the merge queue without coverage. A red nightly run on main is p1 by precedent (nightly full run: red on main (Rerun Safety) #24158).
    • First step for whoever takes it: run that file under coverage on main 30aee20 or later. If the extra mount reproduces, it is a real regression in the range the card lists, and the fix is in packages/auth. If it does not, it is a timing flake under instrumentation: harden the test, and never skip it (the card's ⛔).
  3. added
    pm:queue
    priority:p1
    and removed
    priority:p0
    on Dec 1, 2026
  4. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfWWgrLkABDvbRjhAk

    Claim: PM loop round 3
    Session: session_01WGufzfWWgrLkABDvbRjhAk
    Account: os-support-ai
    Branch: claude/issue-38862-authprovider-name-save
    Worktree: objectstack-issue-38862
    Domain: domain:devx
    Seat: repo:objectstack@os-support-ai
    Area: osa-fleet
    File surface: ui/packages/auth/src/__tests__/AuthProvider.test.tsx (the one failing test, run 46591902836 job 142451536517: "updateUser keeps the signed-in identity (objectstack#36972) > a name save keeps the id and the email, takes the new name, and remounts nothing" → expected 2 to be 1 at line 693, mounts vs mountsBefore) and ui/packages/auth/src/AuthProvider.tsx (the candidate cause file). Stop on breach. If the cause is in another file, the dev stops and reports it. If the fix reaches an auth security boundary (session, token or permission handling), the card goes back to the seat, because security is out of the zone's scope.
    Container & model: S, mode:subagent, model: default tier (dispatch-gates --tier on the surface: "Model tier — no path-derived mandate"), effort: high (reason: a red-main root cause, where flake versus real must be measured with reruns on the base before any fix)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: not yet known. Neither file changed in the card's range. #38612 touched OrganizationsPage.tsx and locales only, not packages/auth. A flake is ruled in or out by reruns on 30aee204, not by assertion.
    Thread-read: 7304871147
    Premise: holds. Read at 2026-12-01T09:22Z: run 46591902836 (schedule, 30aee204) is red on exactly this one test (1 failed, 10545 passed in the coverage shard 4/8).
    Pre-claim lane: domain:devx (file ownership only). The surface is auth package code outside the osa-fleet lease, taken by seat routing (area-lease option 2, a card-only claim).
    Pre-claim deps: none.
    Prior rulings read: the card's own rule: never narrow, skip or delete the failing check; fix what it names.
    Overlap: check-handover --inflight --card=38862 reads NO OVERLAP.
    Tier: S unless the fix reaches a governed surface. Self-review applies if the PR is 50 lines or fewer of test-only change; otherwise it goes to L1 osa-L1-a.

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

    @objectstack-fleet
    Contributor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfWWgrLkABDvbRjhAk
    os-dev-report

    {
      "issue": 38862,
      "status": "done",
      "branch": "claude/issue-38862-authprovider-name-save",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38906",
      "session": "session_01WGufzfWWgrLkABDvbRjhAk",
      "premise_still_valid": true,
      "summary": "Timing flake in the test, not a product regression; the fix is test-only and AuthProvider.tsx is unchanged. AuthProvider renders its children while the session loads, so the identity-keyed MountCounter mounts once keyed on no id and again keyed on usr_1. The session read resolves outside act() inside waitFor, so React commits the usr_1 mount in one scheduler task and runs its passive effect (mounts += 1) in a later one. waitFor sees 'Ada' in the DOM and returns after a 0 ms timer, and on a loaded event loop that timer fires first: mountsBefore read 1 while the usr_1 effect was still pending, and the save's act() then flushed it, so the counter read 2. Same node, no remount. The test now records which identity each mount was keyed on, waits for the usr_1 mount to be recorded before taking its baseline, and asserts the whole list unchanged (toEqual). Nothing skipped, retried or loosened. Draft PR #38906, head 86a83f386.",
      "tests": "Rerun counts (whole AuthProvider.test.tsx file, 21 tests, separate vitest processes, shared 4-core box): 30aee204 plain 25/25 pass; 30aee204 --coverage (3 at once) 27/27 pass; main 3c617a28 unfixed plain 23/25 (2 x 'AssertionError: expected 2 to be 1' at the mounts line); main unfixed --coverage 26/27 (1 x same); main unfixed with mount ids logged 55/55, every run logging capture ['undefined','usr_1']; branch head 86a83f386 plain 25/25; head --coverage 25 pass, 0 fail, 2 NOT MEASURED (the v8 coverage provider threw 'Unexpected end of JSON input' reading a temp file shared by the 3 parallel processes; no test result printed). ui/packages/auth, the vitest config and the lockfile are byte-identical between 30aee204 and 3c617a28. Forced-race proof (scripts/ablation-replace.mjs injects an 8 ms signed-in render plus one 3 ms host task queued behind React's; each leg restored to the HEAD blob, proven by hash and an empty git diff HEAD): old test 5/5 red 'expected 2 to be 1'; new test 5/5 green on both 15404695c and 86a83f386. Uncommitted diagnostic, 50 repeats under the same injection: at the old baseline only the no-id mount had been recorded (50/50), and usr_1 was recorded exactly once after the save. Product ablation (updateUser flushSyncs a no-id user, then commits the saved user with its id): new test red at the same-node line; with that line also deleted, red at expect(mounted).toEqual(mountedBefore): \"expected [ 'undefined', 'usr_1', …(2) ] to deeply equal [ 'undefined', 'usr_1' ]\". Source import, no dist, so no build leg. ui/packages/auth pnpm run type-check (tsc and tsc -p tsconfig.test.json; --listFiles counts the test file once): exit 0. eslint --no-inline-config on the file: exit 0, 0 warnings.",
      "gates": "Local, on final head 86a83f386: node scripts/pm/dispatch-gates.mjs --commands derived 27 commands for the one changed path; all 27 exit 0. They include pnpm --dir ui exec vitest run scripts/ (172 files passed, 2 skipped, VERDICT command-exit 0), check:nul-bytes, check:cross-package-test-inputs, check:test-source-alias, check:type-check-debt, check:type-check-coverage, check:query-options-erasure ('ratchet holds', 494 s) and check-comment-mask-corpus ('0 disagree', 292 s). --ran reconciliation with exit codes recorded: '27 derived famil(ies) accounted for — 27 run, 0 NOT-MEASURED (a DERIVED zero — all 27 recorded an exit code and none of them is 3)'. --ran also printed a STALE TREE warning: origin/main is 10 commits ahead. The 6 changed files it named are scripts/pm tools, none of them one of the 27 families. The same 27 also ran green on the first head 15404695c. CI on PR #38906 at report time: 31 check-runs, 1 success, 14 skipped, 15 in progress, 0 failed. Their conclusions are not read here (CI convergence is the PM's).",
      "mcp_calls": "0",
      "api_writes": "2 relay strokes: (1) POST /repos/objectstack-ai/objectstack/dispatches carrying pr_create, which the relay executed as POST /pulls (draft) + POST /issues/38906/assignees [os-support-ai] + POST /issues/38906/labels [skip-changeset], with the read-back 'identical' and 'every label sent is among them'; (2) this report comment via post-stamped.mjs --comment=38862. git push x3 (probe, 15404695c, 86a83f386) is not a REST write.",
      "classifier_refusals": [],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: the same deferred-passive-effect race can affect any test that reads a counter written in a passive effect right after a waitFor on DOM text produced by a non-act update. Not swept; recorded in the PR's Acceptance notes."
      ],
      "files_changed": ["ui/packages/auth/src/__tests__/AuthProvider.test.tsx"],
      "line_budget": "+12 / -5 = 17 changed lines, one test file; test-only and at most 50 lines, so the claim's self-review tier applies",
      "deviations": [
        "Two gate sweeps outran the 600 s foreground cap and the harness moved them to the background (first-head sweep after 14 of 26 commands, final-head sweep after 20 of 23). I stopped both with TaskStop and ran the rest in the foreground. The final-head sweep's comment-mask-corpus had hit my 200 s per-command cap (exit 124) and was re-run in the foreground to exit 0. Every result reported comes from a command that finished.",
        "origin/main (10 commits ahead) was not merged before opening the PR. None of those commits touches ui/packages/auth, the vitest config or any of the 27 derived gate scripts.",
        "Coverage reruns ran 3 vitest processes at once to add load, which is how the 2 final-head runs became NOT MEASURED (the parallel processes share one coverage temp dir).",
        "Two proof attempts were void and are not counted. Forced-race leg A's first attempt was refused by ablation-replace (the replacement contained the anchor), so nothing ran. Leg B's first attempt ran the old test only in run 1 (red), because ablation-replace restores to HEAD, so runs 2-5 tested the fixed file; leg B was redone with a reset to the old test before each run. Two product-mutation shapes were also void: a setTimeout escaped act() (red on the name line, not a remount) and a microtask was batched (no transient render, green). The flushSync shape is the one reported.",
        "The commits carry a model-free trailer pair as AGENTS.md prescribes, not the harness reminder's model-named Co-Authored-By, and the PR footer uses AGENTS.md's session-URL form."
      ]
    }
  7. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    Contributor

    repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfWWgrLkABDvbRjhAk

    Done · 2026-12-01T12:24Z: closed by PR #38906 (merge 47c8900c68, merged 2026-12-01T12:23Z). Zone self-review ACCEPT and landing 7310446585; not governed; test-only, +12 −5.
    Cause: a timing race in the test, not a product regression. The session read resolves outside act(), so the signed-in mount's passive effect could still be pending when the old baseline was read. The save's act() then flushed it, which looked like a remount. Measured: unfixed main failed 3 of 52 runs; the base passed 52 of 52; a forced race turned the old test red 5 of 5 and left the new test green 5 of 5. AuthProvider.tsx is unchanged. The test now records the identity of each mount, takes its baseline after the usr_1 mount, and asserts the whole list unchanged.
    The next nightly UI Coverage run is the confirmation. If it is red on another test, the generator files a fresh card.
    Claim 7306605269 ends: pm:dispatched and the os-support-ai assignee are cleared.

  8. removed
    pm:dispatched
    on Dec 1, 2026
  9. added a commit that references this issue on Dec 1, 2026
    47c8900
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:fleetbugdomain:devxpriority:p1

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions