You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
id(web): tsc --noEmit red on main — image-upload.test.ts:423 Plugin<any> | null not assignable #3249
bunx tsc --noEmit in pkgs/id/web fails on current main with one error:
src/image-upload.test.ts(423,7): error TS2345: Argument of type 'Plugin<any> | null' is not assignable to parameter of type 'Plugin<any>'.
Type 'null' is not assignable to type 'Plugin<any>'.
Evidence
Found 2026-10-31 by repo-queue-worker lane E while verifying the #1463 fix (task 4739, disjoint files). Reproduced on a pristine checkout of main (8f24c7db5) in the same worktree with all local changes stashed: identical single error, exit 2. With the #1463 change applied, tsc output is identical — the error is pre-existing and unrelated. The web unit suite itself passes this file's tests; only the typecheck is red, which means the tsc --noEmit gate other id(web) tasks rely on currently cannot go green.
Acceptance
cd pkgs/id/web && bunx tsc --noEmit exits 0 on main (fix the nullability at image-upload.test.ts:423 or the callee's signature, whichever is intended)
bunx vitest run src/image-upload.test.ts still passes
Related: Found while verifying PR #3251 (the #1463 collab fix, merged) — disjoint files; the error reproduces identically on pristine main 8f24c7db5.
Notes: Verified live at intake: the issue's evidence is a clean single-error reproduction (exit 2, one TS2345 at image-upload.test.ts:423) with local changes stashed, and the web unit suite passes the same file — only the typecheck gate is red. The body already carries acceptance criteria, so no body change was made. No merged PR fixes this (checked at intake).
Risks: While tsc --noEmit is red on main, every id(web) task loses its typecheck gate — new type errors can hide behind this known one.
Suggested approach: Fix the nullability at the test's call site or the callee signature (whichever the Plugin type intends), keeping the vitest file green per the body's acceptance list.
— fleet monitor intake, 2026-10-31 fleet-monitor run (19:12 CDT)
Agent: queue worker (repo-worker-code), lane 7b47536b (openchamber scheduled lane)
Session / ID: task 8227
Found via: queue claim (coverage triage)
Task: still live at main 8912c837e — cd pkgs/id/web && bunx tsc --noEmit prints exactly one error (line moved 423 → 428): image-upload.test.ts(428,38): TS2345 Plugin<any> | null not assignable to Plugin<any>. The paste() helper passes the nullable plugin binding as the thisArg of handlePaste!.call(...), so the accepted fix is the test-helper nullability (plugin!), not a runtime change; bunx vitest run src/image-upload.test.ts remains green either way.
Expectation: follow-up fix enqueued as task 8459 into repo-health-code-pilot (small_fix, 45 min box): tsc must exit 0 with the vitest file still passing. Nothing blocked or escalated.
State: implementation complete, verified locally, CI pending.
Fix is live on the PR: handlePaste!.call(plugin!, …) (one line, pkgs/id/web/src/image-upload.test.ts).
cd pkgs/id/web && ./node_modules/.bin/tsc --noEmit → exit 0 (was exit 2, the only error in the project).
cd pkgs/id/web && ./node_modules/.bin/vitest run src/image-upload.test.ts → 47 passed.
CI: basic: production line limit (2500) was still queued (runner backlog) after a 5-minute poll; no failing check, CodeRabbit skipped.
Resume condition: PR #5013's check green or the standing-criteria merge evaluation, then gh pr merge 5013 --merge. Nothing else is outstanding — no follow-up work, no other file touched.
Resume verification on this run (fresh, laptop, worktree ~/git/fleet/8459-3249-image-upload-plugin-null):
cd pkgs/id/web && bunx tsc --noEmit → exit 0.
cd pkgs/id/web && bunx vitest run src/image-upload.test.ts → 47 passed / 1 file.
Diff unchanged and minimal: one line, handlePaste!.call(plugin!, …) in the paste() helper.
PR fix(id/web): assert plugin non-null in image-upload paste helper (#3249) #5013: OPEN, not draft, no labels (not held, not Drew-owned), merge state UNSTABLE only because basic: production line limit (2500) has been queued 30+ minutes on a runner backlog — a bash-only guard that cannot be affected by a .ts test file, and the same check passed on this PR's previous head.
Acceptance gates before merge, fresh on the laptop worktree: bunx tsc --noEmit → exit 0; bunx vitest run src/image-upload.test.ts → 47/47 passed.
CI note for the record: the PR's only PR-tier check (basic: production line limit (2500), a bash-only guard over pkgs/**.rs line counts) sat queued for ~35 minutes on a runner backlog and never started. It cannot be affected by a one-line .ts test-file diff, so the merge went ahead under the standing criteria (diff matches intent, targeted tests verified, no held/Drew-owned restriction).
Issue closed as completed; in-flight labels (work/assigned, queue/claimed, status/in-progress) removed.
agent-note:v1
state: triaged (coverage pass)
Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 30 (priority/low). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
Found via: coverage pass 2026-11-03
Activity
dezren39 commentedon Nov 1, 2026
Intake review
Related: Found while verifying PR #3251 (the #1463 collab fix, merged) — disjoint files; the error reproduces identically on pristine main
8f24c7db5.Notes: Verified live at intake: the issue's evidence is a clean single-error reproduction (exit 2, one TS2345 at image-upload.test.ts:423) with local changes stashed, and the web unit suite passes the same file — only the typecheck gate is red. The body already carries acceptance criteria, so no body change was made. No merged PR fixes this (checked at intake).
Risks: While
tsc --noEmitis red on main, every id(web) task loses its typecheck gate — new type errors can hide behind this known one.Suggested approach: Fix the nullability at the test's call site or the callee signature (whichever the Plugin type intends), keeping the vitest file green per the body's acceptance list.
— fleet monitor intake, 2026-10-31 fleet-monitor run (19:12 CDT)
dezren39 commentedon Nov 3, 2026
🤖 Agent note · triaged
8912c837e—cd pkgs/id/web && bunx tsc --noEmitprints exactly one error (line moved 423 → 428):image-upload.test.ts(428,38): TS2345 Plugin<any> | null not assignable to Plugin<any>. Thepaste()helper passes the nullablepluginbinding as thethisArgofhandlePaste!.call(...), so the accepted fix is the test-helper nullability (plugin!), not a runtime change;bunx vitest run src/image-upload.test.tsremains green either way.8912c837e6 remaining items
dezren39 commentedon Nov 3, 2026
🤖 Agent note · parked
bf419306-c4ef-470f-a553-beabf93239de(OpenChamber scheduled lane)tsc --noEmitTS2345 inimage-upload.test.ts— fixed and pushed; waiting on CI.queue/8459-3249-image-upload-plugin-null@8756316d7State: implementation complete, verified locally, CI pending.
handlePaste!.call(plugin!, …)(one line,pkgs/id/web/src/image-upload.test.ts).cd pkgs/id/web && ./node_modules/.bin/tsc --noEmit→ exit 0 (was exit 2, the only error in the project).cd pkgs/id/web && ./node_modules/.bin/vitest run src/image-upload.test.ts→ 47 passed.basic: production line limit (2500)was still queued (runner backlog) after a 5-minute poll; no failing check,CodeRabbitskipped.Resume condition: PR #5013's check green or the standing-criteria merge evaluation, then
gh pr merge 5013 --merge. Nothing else is outstanding — no follow-up work, no other file touched.dezren39 commentedon Nov 3, 2026
🤖 Agent note · resumed → merging
8ac61616-3815-4e7b-b33d-840a3829154a(OpenChamber scheduled lane)tsc --noEmitTS2345 inimage-upload.test.ts— implementation already on PR fix(id/web): assert plugin non-null in image-upload paste helper (#3249) #5013; remaining step is the merge.queue/8459-3249-image-upload-plugin-null@8756316d7Resume verification on this run (fresh, laptop, worktree
~/git/fleet/8459-3249-image-upload-plugin-null):cd pkgs/id/web && bunx tsc --noEmit→ exit 0.cd pkgs/id/web && bunx vitest run src/image-upload.test.ts→ 47 passed / 1 file.handlePaste!.call(plugin!, …)in thepaste()helper.basic: production line limit (2500)has been queued 30+ minutes on a runner backlog — a bash-only guard that cannot be affected by a.tstest file, and the same check passed on this PR's previous head.Merge pull request #5013 from developing-today/queue/8459-3249-image-…
dezren39 commentedon Nov 3, 2026
🤖 Agent note · done (merged)
8ac61616-3815-4e7b-b33d-840a3829154a(OpenChamber scheduled lane)fixed_mergedtsc --noEmitTS2345 inimage-upload.test.ts— fixed, merged, verified onmain.ff52c869eb9b29463ec50b7f75cec0b55e301afd· branchqueue/8459-3249-image-upload-plugin-nullMerged and verified on
main:ff52c869(2026-11-03T16:46:35Z);origin/main:pkgs/id/web/src/image-upload.test.ts:428now readshandlePaste!.call(plugin!, …).bunx tsc --noEmit→ exit 0;bunx vitest run src/image-upload.test.ts→ 47/47 passed.basic: production line limit (2500), a bash-only guard overpkgs/**.rsline counts) sat queued for ~35 minutes on a runner backlog and never started. It cannot be affected by a one-line.tstest-file diff, so the merge went ahead under the standing criteria (diff matches intent, targeted tests verified, no held/Drew-owned restriction).work/assigned,queue/claimed,status/in-progress) removed.developing-today commentedon Nov 3, 2026
agent-note:v1
state: triaged (coverage pass)
Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 30 (priority/low). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
Found via: coverage pass 2026-11-03