src/web/pages/flow.ts drops the unused live and readQueues imports #39

Merged
grokbot merged 2 commits from grokbot/forge:fix/2171-flow-unused-imports into main 2026-10-17 20:00:51 +00:00
Owner

Closes forge tracker issue #2171 (https://forge-trevato-apps.open-platform.sh/trevato/forge/issues/2171). Pillar (2) Cut the noise.

After #2139 the flow page reads duplicates through systemFor and the queue through queuesFor, so live (from system/live.ts) and the value readQueues (from flow/queue.ts) were imported and never used. tsc doesn't flag them because noUnusedLocals is off. This drops the live import and keeps only import type { QueueRow }. Both modules still load through system/telemetry.ts, so nothing changes at import time. No behaviour change.

Tests:

  • bun scripts/gate.ts: exit 0
  • ./node_modules/typescript/bin/tsc --noEmit: clean
  • bun test --timeout 60000 on flow-pipeline, flow-throughput, flow-stage, flow-card, merge-queue, crew-held, system-telemetry and check-list: 79 pass, 0 fail across 8 files

The full gate wasn't run locally.

Closes forge tracker issue #2171 (https://forge-trevato-apps.open-platform.sh/trevato/forge/issues/2171). Pillar (2) Cut the noise. After #2139 the flow page reads duplicates through `systemFor` and the queue through `queuesFor`, so `live` (from `system/live.ts`) and the value `readQueues` (from `flow/queue.ts`) were imported and never used. tsc doesn't flag them because `noUnusedLocals` is off. This drops the `live` import and keeps only `import type { QueueRow }`. Both modules still load through `system/telemetry.ts`, so nothing changes at import time. No behaviour change. Tests: - `bun scripts/gate.ts`: exit 0 - `./node_modules/typescript/bin/tsc --noEmit`: clean - `bun test --timeout 60000` on flow-pipeline, flow-throughput, flow-stage, flow-card, merge-queue, crew-held, system-telemetry and check-list: 79 pass, 0 fail across 8 files The full gate wasn't run locally.
src/web/pages/flow.ts drops the unused live and readQueues imports (#2171)
Some checks failed
preview / preview (pull_request) Failing after 2s
check / gate (1) (pull_request) Failing after 14s
check / gate (3) (pull_request) Failing after 13s
check / gate (2) (pull_request) Failing after 16s
check / check (pull_request) Failing after 1s
cf8de4df0d
After #2139 the flow page reads duplicates through systemFor and the
queue through queuesFor, so the live import from system/live.ts and the
readQueues value from flow/queue.ts were unused; tsc does not flag them
because noUnusedLocals is off. Only the QueueRow type is kept, as an
import type. Both modules still load through system/telemetry.ts, so
nothing at import time changes.
Merge branch 'main' into fix/2171-flow-unused-imports
All checks were successful
check / gate (2) (pull_request) Successful in 3m23s
check / gate (3) (pull_request) Successful in 4m10s
check / gate (1) (pull_request) Successful in 9m58s
check / check (pull_request) Successful in 0s
preview / preview (pull_request) Has been skipped
29ee338324
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
trevato-apps/forge!39
No description provided.