Repository navigation
fix(harness-ops): leave Bun's bootstrap stub out of the parser reader's module spans - #12293
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
|
claude-security-review reviewed Security review: PR #12293 (incremental since
|
|
claude-review reviewed Code review: PR #12293 (incremental, 7cbc402 → 6037f6b)I read every hunk of both files in the incremental diff ( The prior finding is fixed. The earlier advisory (discussion_r4439172045) said a 2.1.316-specific observation had no record, which broke
Test rename. Not run. This lane has no interpreter, so I ran no tests. The PR's Verification section is the author's claim and is unverified. Closing issue. The PR says Plugin manifests. No Prior findings and embedded text. The PR has had 1 round with findings, against a cap of 3, so the cap did not apply. The PR context and prior-findings files contain no directives aimed at this lane. |
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM6yiyjw
Lane-Activity: pr-unblock/fix-ci
|
The pr-unblock lane stopped
When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean. To run it again on this head now, dispatch the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=12293 -f activity=address-feedback |
|
The unattended merge path armed native auto-merge at head |
Refs: #12278
Summary
Opened by the work-resolve-issue lane. The run's own summary:
Remaining work
inventory.py --reader compare --self-checkon the current build reports all modules parsing, and Explore/Plandisallowed_toolsreadliteralwith 9 names, or the comment names the next blocker.Not verified
inventory.py --reader compare --self-checkon the current build, Explore/Plandisallowed_toolsreadingliteralwith 9 names) needs a host with Claude Code installed. The issue scopes it to a separate host-run check, not this PR.keys_useddoes not read Bun's REPL bootstrap. That code is Bun runtime, not a Claude Code module._graph_sourcesis now a one-call wrapper used only by tests.Fix
_graph_modulesreturns the module graph's byte range plus each module's path by source offset, and_graph_sourcesnow wraps it._select_regionleaves out a// bunrun outside a decoded graph and records `marker_runs_outside_grapTestBootstrapStubwith a 2.1.316-shaped fixture: a// bunstub whose line 4 is runtime string text, followed by a module graph. Tests: the stub is no module and the graph module keeps its path; with no graph the stub staysmarker_runs_outside_graph.Verification
The runner ran each check from the base copy against 7cbc402:
The run reports:
_select_regionand_graph_modules(stub outside the graph range [1399, end), module span at 367 mapped to the CLI path) and acorn'sUnexpected token (4:7)in module mode. It raised two wording nits/$bunfs/path, opens with// bun, fails withUnexpected token (4:7), and line 4 beginsFailed to run script "<b>{}<r>"Missing script to executeFailed to run script <b>{}<r>andMissing script to execute. Pass --interactive to start the Node.js-compatible REPL.are Bun's own error strings, andexec_node_replloads it// bunstub literal in that diff (no help in locating the stub's text)Left out: the items under Not verified.
Related
#12278