gate: eslint pre-push TS gate lints app/dist-keriweb/ build output — blocks pushes on any checkout that has built keri-web (#871 class) #1352
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1352
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hit while landing #1348.
eslint.config.mjsignores**/dist/**,**/dist-electron/**,test-results/**as gitignored BUILD OUTPUT that the flat config would otherwise lint (the #871 fix).app/dist-keriweb/(the minifiedkeri-web.jsbundle) is the same class — gitignored, untracked build output — but is NOT in the ignores list. On a host checkout that has built/driven keri-web,pnpm run lint(the #1252 pre-push TS gate,.sandcastle/gate-lib.sh) lintsdist-keriweb/keri-web.jsand reports ~1228 errors, blocking the push. Worked around in the #1348 session by removing the untracked artifact from the dedicated checkout; the durable fix is to addapp/dist-keriweb/**(and any siblingdist-*bundle dir) toeslint.config.mjsignores. Two-way, revertible, matches the existing pattern + comment in that file.Agent Brief
Category: bug
Summary: The eslint flat config ignores
**/dist/**and**/dist-electron/**as gitignored build output but NOTapp/dist-keriweb/**, so on any checkout that has built keri-web the pre-push TS gate lints the minifiedkeri-web.jsbundle (~1228 errors) and blocks the push (#871 class).Current behavior:
eslint.config.mjs'signoreslist excludes gitignored BUILD OUTPUT that the flat config would otherwise lint (eslint's flat config does not read.gitignore):**/dist/**,**/dist-electron/**,test-results/**, etc. — this was the #871 fix.app/dist-keriweb/(the minifiedkeri-web.jsbundle) is the same class — gitignored (confirmed:.gitignorelinedist-keriweb/, 0 tracked files) and untracked — but it is NOT in the ignores list, and**/dist/**does not match the differently-nameddist-keriwebdirectory. On a host checkout that has built or driven keri-web,pnpm run lint(the #1252 pre-push TS gate in.sandcastle/gate-lib.sh) lintsdist-keriweb/keri-web.js, reports ~1228 errors, and blocks the push. The #1348 session worked around it by deleting the untracked artifact from the checkout — not durable.Desired behavior:
The eslint flat config ignores
app/dist-keriweb/**(and, to prevent recurrence, any siblingdist-*bundle directory of the same build-output class) so a checkout that has built keri-web lints clean and the pre-push gate does not fire on untracked build output.Key interfaces:
ignoresarray ineslint.config.mjs— add thedist-keriwebbundle dir to the same gitignored-build-output list that already carries**/dist/**and**/dist-electron/**, matching the existing pattern and its explanatory comment.Acceptance criteria:
app/dist-keriweb/keri-web.jsexists,pnpm run lintdoes not report errors fromdist-keriweb/and exits clean (assuming source is clean).ignoreslist with the other gitignored build-output globs; the #871 exclusions (**/dist/**,**/dist-electron/**,test-results/**, etc.) are unchanged.Out of scope:
.sandcastle/gate-lib.shgate wiring itself (only the ignore list is at fault).Triage note (model sizing): this is a mechanical one-line ignore-list addition matching an existing pattern; a human/triage may wish to add
model-sonnetto right-size it off the fleet default. Not applied here — model downgrades stay a human/triage decision perdocs/agents/triage-labels.md.swarm-claim host=matou-dev-server-01 run=20435
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1352 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
10131692a2is not reachable from origin/main (not landed)envelope
close-report for #1352 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
stack-config+community-dataendpoints, andstackExportwired in production #1429