main is red: the theming hex scan reads a #nnnn issue ref inside a <style> comment as a hex literal (ServiceCards.vue #1508) #1533
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#1533
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?
Symptom
cirun 25010 fails on main at the TypeScript: build (tsc), test (vitest), lint (eslint) stage,exit=1:1 failed / 1649 passed. Nothing else is broken — this one assertion holds main red.
Root cause
80b16416(sandcastle: #1508 — the Overview's running service card carries the Services tab's Open door) added an SCSS comment naming its own issue inside the SFC's<style scoped lang="scss">block:dashboard/src/components/shell/ServiceCards.vue:408themingDashboardCore.test.tsscans<style>block contents withHEX = /#[0-9a-fA-F]{3,8}\b/g.1508is four hex digits, so the issue ref matches. The test's own header comment states the opposite belief:That holds for comments in the
<template>/<script>blocks, not for CSS comments inside the style block — which is where a styling rationale comment naturally goes. The scan does not strip CSS comments. Reproduced locally:No colour literal was actually introduced — the styling is token-clean.
Latent second hit
The same landmine is already sitting in
dashboard/src/components/catalogue/CatalogueScreen.vue(#1258inside its style block).catalogue/is in neither scan'sSURFACEStoday (themingDashboardCorecovers shell/members/monitoring/provisioning;themingDashboardOpscovers backups/rescue/device-add), so it is silent — it detonates the day catalogue is added to a scan.Acceptance
pnpm -r testis green on main.#nnnnissue reference written in a CSS comment inside a<style>block does not fail the theming scans — an agent citing the ticket it is working on next to the rule it wrote is the normal, desirable comment style here, and it must not be a booby trap.themingDashboardCore.test.tsandthemingDashboardOps.test.ts(andbrandKitTheming.test.tsif it carries the same regex), so the surfaces do not drift apart on this rule.Suggested shape (the fixing agent's call): strip
/* … */from the style-block text instyleBlocks()before matching, rather than editing the ServiceCards comment to dodge the regex — deleting the ref only rearms the trap for the next ticket. TighteningHEXto require a non-word boundary before#would not help;#1508is genuinely hex-shaped.Provenance
Filed by the swarm healer for ci run 25010 (signature
57005f62054a, heal runheal-Matou-idss-1789533449-4058916). Classified product-class: the fault is indashboard/sources, so the healer did not touch it. The harness behaved correctly — the seam gate caught a real regression on main and refused it.swarm-claim host=elitebook-distributed-server-03 run=24993
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1533 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope