GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id(worker-poc): isolate-runner.mjs entry-point check is a raw template-literal compare — symlinked standalone invocation silently emits nothing at exit 0 (the spelling #5099's closure grep misses) · Issue #6358 · developing-today/code

id(worker-poc): isolate-runner.mjs entry-point check is a raw template-literal compare — symlinked standalone invocation silently emits nothing at exit 0 (the spelling #5099's closure grep misses) #6358

New issue
Copy link
New issue
Copy link
Closed
#6361
Closed
id(worker-poc): isolate-runner.mjs entry-point check is a raw template-literal compare — symlinked standalone invocation silently emits nothing at exit 0 (the spelling #5099's closure grep misses)#6358
#6361
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/bugSomething isn't working (prefixed form of the classic bug label)priority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 5, 2026
Issue body actions

What

pkgs/id/worker-poc/compare/isolate-runner.mjs:86 guards its standalone mode with a raw template-literal entry-point check — a spelling no other file in the repo uses:

if (import.meta.url === `file://${process.argv[1]}`) {
  for (const line of await runIsolateSequences()) console.log(JSON.stringify(line));
}

process.argv[1] is the path exactly as invoked; import.meta.url is the resolved module URL. Through any symlink — a symlinked file, or a path through a symlinked directory (the fleet's own ~/code -> ~/git/code alias) — they never match, the standalone body never runs, and Node exits 0 with no output. The same spelling also breaks for any path needing percent-encoding (e.g. a space in the checkout path), where import.meta.url carries %20 and the template string carries the raw space.

This is the #2083/#2350 bug class, in the one spelling the class's own closure greps missed: open #5099's acceptance grep (pathToFileURL\(process\.argv\[1\]\)|resolve\(process\.argv\[1\]\)) does not match the template-literal form, and #6343 (meta-exporter) / #5099 (opencode-usage-export) cover the two pathToFileURL instances only. A repo-wide scan this run confirms this is the only remaining raw compare: every other entry point (bin/proxy-supervise.mjs:892, bin/record.mjs:243, bin/codedb-bridge.mjs:321, pm-stack/supabase-export/supabase-quota-export.mjs:403, pm-stack/cloudflare-export/cloudflare-quota-export.mjs:649, pm-stack/opencode-claimant/install.mjs:135, …) uses the guarded realpathSync form.

Verified this run (laptop primary @50237a7deb, HEAD == origin/main)

Probe: ~/git/fleet/probe-isolate-entry/ on the laptop, real runner, no credentials needed (checked-in example guests):

Invocation Result
node pkgs/id/worker-poc/compare/isolate-runner.mjs exit 0, 13 JSON step lines on stdout (roc-counter 4 + tic-tac-toe 9)
node <file-symlink to isolate-runner.mjs> exit 0, 0 lines, no output — standalone body never ran
node <symlinked-dir>/compare/isolate-runner.mjs exit 0, 0 lines, no output

The direct run proves the runner works; both symlinked runs prove the guard silently swallows it.

Why it matters

isolate-runner.mjs is the isolate half of the #2271 journal-equality harness: standalone, it emits the per-step JSON lines that compare/compare.mjs diffs against the native reference (pkgs/id/tests/worker_poc_reference.rs, 13 lines for the same sequences). The import path (compare.mjs imports runIsolateSequences()) is unaffected — but anyone running the runner standalone through a symlinked checkout or link (the documented fleet layout has ~/code as a symlink alias) gets an empty evidence file at exit 0: node <link> > isolate.jsonl succeeds and produces nothing, so the isolate side looks like it emitted zero steps rather than failing. Silent success with no output is the failure shape this bug class keeps being filed for; this instance survived two closure passes only because its spelling differs.

Acceptance criteria

  • The entry-point check compares real paths (fs.realpathSync on both sides, the house shape at bin/proxy-supervise.mjs:885-892), or an equivalent that resolves symlinks and percent-encodes correctly — not the raw template-literal compare.
  • Direct, file-symlink, and directory-symlink standalone invocations all emit the same 13 JSON step lines.
  • Importing the module (as compare/compare.mjs does) still does not run the standalone body.
  • The closure grep for this bug class is widened to catch this spelling too (e.g. also matches `file://${process.argv[1]}`), and that widened grep is empty repo-wide after the fix (the two pathToFileURL instances are meta-exporter: re-homed meta-quota-export (#6333) restored the pre-#2083 raw-path entry-point check — symlinked invocation silently no-ops with exit 0 (regression of #2350) #6343 / opencode-usage-export: the fifth raw-path entry-point check — symlinked invocation silently no-ops with exit 0 (survived #4325 due to its four-file scope) #5099, not this issue).

Dedup

  • meta-exporter: re-homed meta-quota-export (#6333) restored the pre-#2083 raw-path entry-point check — symlinked invocation silently no-ops with exit 0 (regression of #2350) #6343 (OPEN) covers pm-stack/meta-exporter/meta-quota-export.mjs:624 only; opencode-usage-export: the fifth raw-path entry-point check — symlinked invocation silently no-ops with exit 0 (survived #4325 due to its four-file scope) #5099 (OPEN) covers pm-stack/opencode-usage-export/opencode-usage-export.mjs:383 only — neither names this file, and opencode-usage-export: the fifth raw-path entry-point check — symlinked invocation silently no-ops with exit 0 (survived #4325 due to its four-file scope) #5099's acceptance grep cannot match this spelling.
  • bin+pm-stack: four entry points still use the pre-#2083 raw-path entry-point check — codedb-bridge, supabase/cloudflare exporters and the claimant installer silently no-op via any symlink #4325 (CLOSED) fixed four named files; this file was not among them.
  • Searched open + closed for isolate-runner on 2026-11-05: no issue covers its entry-point guard.

Activity

  1. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    status/needs-triageNot yet triaged; needs a first look
    source/creatorFiled by the new-issue-creator job
    priority/lowNice to have; do when convenient
    queue/queuedHas a queued queue task
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

    @developing-today
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    CODE-1885

  3. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: new-issue-creator job (new-issue-creator-code-a)
    • Session / ID: new-issue-creator-code-a run 2026-11-05 12:35 CST
    • Found via: filed this run
    • Task: Filed issue id(worker-poc): isolate-runner.mjs entry-point check is a raw template-literal compare — symlinked standalone invocation silently emits nothing at exit 0 (the spelling #5099's closure grep misses) #6358 — isolate-runner.mjs raw template-literal entry-point check silently no-ops on symlinked standalone invocation; verified on the laptop at 50237a7 (direct 13 JSON lines; file-symlink and dir-symlink 0 lines, exit 0; probe ~/git/fleet/probe-isolate-entry).
    • Expectation: effort xs/s — realpathSync entry guard (house pattern) + widened closure grep; done when direct/file-symlink/dir-symlink standalone runs all emit the 13 lines and import stays inert.
    • Links: issue id(worker-poc): isolate-runner.mjs entry-point check is a raw template-literal compare — symlinked standalone invocation silently emits nothing at exit 0 (the spelling #5099's closure grep misses) #6358
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: new-issue-creator job (new-issue-creator-code-a)
    • Session / ID: new-issue-creator-code-a run 2026-11-05 12:35 CST
    • Found via: self-assigned during new-issue-creator-code-a run (guarded self-solve, lifecycle protocol §4 — filed this run, trivial xs fix, no safety labels)
    • Task: Self-solving issue id(worker-poc): isolate-runner.mjs entry-point check is a raw template-literal compare — symlinked standalone invocation silently emits nothing at exit 0 (the spelling #5099's closure grep misses) #6358 — replace the raw template-literal entry-point check in pkgs/id/worker-poc/compare/isolate-runner.mjs with the house realpathSync guard; queue task 10711 cancelled as self-assigned in the same pass.
    • Expectation: effort xs; done when direct/file-symlink/dir-symlink standalone runs emit the 13 JSON lines, import stays inert, PR merged.
    • Links: branch creator-a/6358-isolate-runner-entry (PR to follow)
  5. dezren39
    added
    work/self-assignedAn agent grabbed this item directly, outside the queue
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  6. developing-today
    added
    status:in-review
    on Nov 5, 2026
  7. dezren39
    added a commit that references this issue on Nov 5, 2026

    fix(id/worker-poc): #6358 realpath entry-point guard for isolate-runn…

    6f4e4e3
  8. dezren39
    closed this as completedin #6361on Nov 5, 2026
  9. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 5, 2026
  10. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: new-issue-creator job (new-issue-creator-code-a)
    • Session / ID: new-issue-creator-code-a run 2026-11-05 12:35 CST
    • Found via: filed this run; self-assigned during new-issue-creator-code-a run (guarded self-solve, lifecycle protocol §4)
    • Task: Fixed issue id(worker-poc): isolate-runner.mjs entry-point check is a raw template-literal compare — symlinked standalone invocation silently emits nothing at exit 0 (the spelling #5099's closure grep misses) #6358 — isolate-runner.mjs entry-point guard now compares realpaths (house proxy-supervise: main() never runs when invoked via a symlinked path (~/code -> ~/git/code) — supervisor timer silently no-ops since 2026-10-27 #2083 pattern), so standalone mode runs through symlinks and stays inert on import.
    • Expectation: met — verified on the laptop in the worktree: direct / file-symlink / directory-symlink standalone runs each emit the 13 JSON step lines; import produces no standalone output; node compare/compare.mjs PASS (13 steps equal, cold starts included). PR fix(id/worker-poc): #6358 realpath entry-point guard for isolate-runner standalone mode #6361 squash-merged as 6f4e4e3; issue auto-closed by the Fixes marker. Queue task 10711 was cancelled as self-assigned at pickup.
    • Links: PR fix(id/worker-poc): #6358 realpath entry-point guard for isolate-runner standalone mode #6361 · merge 6f4e4e3
  11. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    work/self-assignedAn agent grabbed this item directly, outside the queue
    on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/bugSomething isn't working (prefixed form of the classic bug label)priority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.