fix(map): drop the M4-banned caret from a map.js comment - #56
Merged
Merged
Conversation
…ment test-issue-1648-m4-emoji-scan.js forbids U+25BE (the dropdown caret) on any map.js line not tagged EMOJI-OK, comments included. The comment added with the selected-area outline (4d46dba, merged in 9f5d594) quoted the Area dropdown label with its caret and broke the scan, which went unnoticed while the JS CI step stopped earlier on the Kpa-clawbot#1375 test. The quoted "Area: X" still identifies the control, and the next line names AreaFilter. Comment-only: no runtime change, scanner unchanged. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This was referenced Sep 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
test-issue-1648-m4-emoji-scan.jsforbids UI-icon characters on every line of the files it scans, comments included, unless the line is taggedEMOJI-OK. Forpublic/map.jsthat explicitly includes the dropdown caret▾.A comment added with the selected-area outline (
4d46dba4b, merged in9f5d594c) quoted the Area dropdown label as"Area: X ▾". That single character made the scan fail, which stops the "Run JS unit tests (packet-filter)" CI step. It went unnoticed while that step was already stopping earlier on the oldtest-issue-1375-scope-stats-fetch.jsfailure.What changes
public/map.js:"Area: X ▾"becomes"Area: X". The next line already namesAreaFilter, so the comment still identifies the control.EMOJI-OKtag or allowlist entry is added.Verification (local, not GitHub CI)
Fresh runs from exact HEAD
52ae9d1c:test-issue-1648-m4-emoji-scan.js: fails onmaster12cc30ffwith one hit atmap.js:681, passes on this branch.test-issue-1648-m2-emoji-scan.js(also scansmap.js): passes before and after.node --check public/map.jspasses andgit diff --checkis clean.map.js:681.Reused from the earlier local verification of this same commit, not re-run:
▾atmap.js:162,✕in anL.divIconHTML string atmap.js:2587).test-issue-1375-scope-stats-fetch.jspassed 6/6 andtest-app-api-inflight-cleanup-rejection.js8/8, both under--unhandled-rejections=strict.Known next baseline failure and limitations
test-a11y-axe-routes-coverage.js:axe ROUTES missing analytics tabs (issue #1706): areas, foreign-traffic, wardriving. It fails identically on unmodifiedmasterand is not addressed here, so the CI step is still expected to fail at that point.test-all.shand later CI jobs were not run for this change.test-issue-1648-m6-final-sweep.js(run only bytest-all.sh) already fails onmasterbecause ofpublic/packet-path-map.jsand is unrelated.Update 2026-09-17: re-verified against current master
e17377d8(after #57 and #58)The branch is unchanged (still
52ae9d1con base12cc30ff); it was not rebased or amended.public/map.jsis identical on12cc30ffande17377d8, and the computed merge with current master (tree01a42ed9) changes exactly one line inpublic/map.js.The concrete failure: the push CI run for #58 on master (run 35177011746,
e17377d8) failed only in "Run JS unit tests (packet-filter)", on the M4 scan hitmap.js:681 // … "Area: X ▾". The Go server (-race), ingestor, channel and decrypt suites passed in that run. Playwright, Docker, release, deploy and badges were skipped.What this PR changes / does not change: unchanged from above — one comment line, no runtime change, scanner/expectations/workflows untouched, no
EMOJI-OKtag.Local results (macOS arm64, Node v25.6.1; isolated
git archiveexports, not GitHub CI)e17377d801a42ed9)node test-issue-1648-m4-emoji-scan.jsmap.js:681PASS: all M4 surfaces icon-freenode --check public/map.jsgit diff --check(branch diff and merge-tree diff)set -e+ the 67nodecommands, same order)Command 67,
test-a11y-axe-routes-coverage.js, fails identically on baseline and candidate (axe ROUTES missing analytics tabs (issue #1706): areas, foreign-traffic, wardriving). It is a pure source check, pre-existing on master, previously hidden behind the M4 failure, and not fixed here. Run individually, all other 66 commands exit 0 on the candidate (test-a11y-axe-1668-selftest.jsprints an intentional[FAIL] STALE ALLOWLISTselftest line but exits 0).Actual GitHub CI
52ae9d1cinto the old base12cc30ff, Linux). In it the M4 scan passed and the JS step then failed on the sametest-a11y-axe-routes-coverage.jsassertion; Go suites passed; later steps and jobs were skipped.e17377d8: no new commit was pushed, and no workflow was re-run manually.test-a11y-axe-routes-coverage.js(a11y CI: expand axe route coverage to remaining 7 analytics tabs Kpa-clawbot/CoreScope#1706) instead of M4. This PR alone does not make CI green.🤖 Generated with Claude Code