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 — bin: provider-catalog-sync and record still use the pre-#2083 raw-path entry-point check — invoked via any symlink they silently no-op with exit 0 · Issue #2235 · developing-today/code

bin: provider-catalog-sync and record still use the pre-#2083 raw-path entry-point check — invoked via any symlink they silently no-op with exit 0 #2235

New issue
Copy link
New issue
Copy link
Closed
#4123
Closed
bin: provider-catalog-sync and record still use the pre-#2083 raw-path entry-point check — invoked via any symlink they silently no-op with exit 0#2235
#4123
Copy link
Assignees
dezren39
Labels
app/provider-catalog-syncbin/provider-catalog-sync.mjs catalog synceffort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobstatus:in-reviewtask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Oct 29, 2026
Issue body actions

Summary

Two bin/ entry points still use the pre-#2083 entry-point check that compares the raw invoked path against the module's resolved URL. When either script is invoked through a symlink — a symlinked file, or a symlinked directory such as the ~/code -> ~/git/code checkout alias that caused #2083 — the check fails, main() never runs, and the process exits 0 with no output and no error: a silent no-op.

bin/proxy-supervise.mjs was fixed for exactly this in #2083 (its comment at :644-656 spells the mechanism out, and it now compares fs.realpathSync on both sides). The same pattern survives verbatim in:

  • bin/provider-catalog-sync.mjs:750 — path.resolve(process.argv[1]) === new URL(import.meta.url).pathname (path.resolve makes the path absolute; it does not resolve symlinks, and import.meta.url is the resolved module URL).
  • bin/record.mjs:206-209 — import.meta.url === pathToFileURL(path.resolve(process.argv[1])).href (same flaw in URL form).

Evidence (main 24901e7b, sandbox probes this run)

provider-catalog-sync:

  • Direct: node bin/provider-catalog-sync.mjs --json → exit 0, 14,177 bytes of report on stdout.
  • Via a symlink to the file: node /tmp/isMain-probe/catalog-link.mjs --json → exit 0, 0 bytes.
  • Via a symlinked directory (the proxy-supervise: main() never runs when invoked via a symlinked path (~/code -> ~/git/code) — supervisor timer silently no-ops since 2026-10-27 #2083 scenario): node ~/code-link/bin/provider-catalog-sync.mjs --json → exit 0, 0 bytes.

record (with AI_RECORDINGS_FILE pointed at a scratch target, loose-text input):

  • Direct: the target's .quarantine sibling is created with the verbatim line (its never-reject contract for unkeyed text) — main ran.
  • Via a symlink to the file: neither the target nor the quarantine file is created — main never ran, and the recording is silently lost.

Probe outputs saved in the goal's hidden_files probe-2026-10-29-ismain/ (direct.out / link.out / dirlink.out / README.md).

Why it matters

Both tools are built to be quiet: catalog-sync's no-additions path is a "silent run" by design, and record's contract is exit-0-always. That makes this failure mode invisible — a timer, wrapper, or Nix-store/symlink invocation path that reaches either script through a symlink gets a green exit and nothing happens: catalog additions never materialise, session recordings vanish. This is precisely how the supervisor timer no-oped unnoticed from 2026-10-27 until #2083; the fix landed for one file and the sibling instances of the identical check were left behind.

Acceptance criteria

  • Both bin/provider-catalog-sync.mjs and bin/record.mjs run their main() when invoked via a symlinked file path and via a symlinked directory path (use the fs.realpathSync-on-both-sides comparison already proven in bin/proxy-supervise.mjs:648-656, or an equivalent).
  • Importing either module as a library (their test suites do this) still does not run main().
  • A regression test covers the symlinked invocation for at least one of the two (catalog-sync's subprocess-style test or a scripted probe), so the check cannot silently regress again.
  • A repo-wide grep for entry-point comparisons (process.argv[1] vs import.meta.url) shows no remaining raw-path instances in bin/.

Related: #2083 (closed — the proxy-supervise instance of this bug, and the source of the proven fix pattern).

Found by new-issue-creator-code-b (lane B) this run.

Activity

Next
  1. developing-today commented on Oct 29, 2026

    @developing-today
    developing-todayBot
    on Oct 29, 2026 – with developing.today
    Contributor
    More actions

    CODE-1106

  2. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    priority/normalOrdinary priority (the default)
    queue/queuedHas a queued queue task
    source/creatorFiled by the new-issue-creator job
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/needs-triageNot yet triaged; needs a first look
    app/provider-catalog-syncbin/provider-catalog-sync.mjs catalog sync
    effort/sSmall: expected under 2 hours of work
    on Oct 29, 2026
  3. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: new-issue-creator (new-issue-creator-code-b)
    • Session / ID: new-issue-creator-code-b + run time 2026-10-29T10:20:00Z
    • Found via: filed this run
    • Task: Triage the surviving pre-proxy-supervise: main() never runs when invoked via a symlinked path (~/code -> ~/git/code) — supervisor timer silently no-ops since 2026-10-27 #2083 raw-path entry-point checks in bin/provider-catalog-sync.mjs (:750) and bin/record.mjs (:206-209): both silently no-op with exit 0 when invoked via any symlink; the proven realpath fix pattern is in bin/proxy-supervise.mjs:648-656.
    • Expectation: effort/s — done when triage confirms the fix pattern + regression-test placement and routes a small_fix packet.
    • Links: probe probe-2026-10-29-ismain/ in the goal's hidden_files (direct 14,177B report vs 0B via file/dir symlinks; record direct creates quarantine, via symlink creates nothing); related closed proxy-supervise: main() never runs when invoked via a symlinked path (~/code -> ~/git/code) — supervisor timer silently no-ops since 2026-10-27 #2083
  4. github-actions
    assigned
    dezren39
    on Oct 29, 2026
  5. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 1, 2026
  6. 100 remaining items

  7. dezren39
    added
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 2, 2026
  8. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    agent-note:v1 — parked
    Agent: repo-worker-code (OpenChamber scheduled lane)
    Task: repo-health-code-pilot task 5233
    At: 2026-11-02T09:23:36Z
    State: parked
    Fresh evidence: metadata-only revalidation confirms #2235 is OPEN and assigned to dezren39 (Drew); canonical PR #4123 is OPEN, non-draft, and authored by dezren39 on queue/5233-2235-symlink-entry-points.
    Disposition: parked 30 minutes at the Drew-owned hard stop. No PR contents, diff, checks, reviews, branch, worktree, or source inspected/touched. Labels reflect parked state; work/assigned remains set.
    Resume condition: PR #4123 closes/merges or Drew explicitly hands off ownership; revalidate fresh before proceeding.
    Links: #2235 · #4123 · task 5233

  9. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    Parked again (task 5233, lane B): metadata-only revalidation — #2235 still OPEN and assigned to dezren39; canonical PR #4123 still OPEN, authored by dezren39, head f791447. Drew-owned PR hard stop applies; no PR contents, diff, branch, worktree, CI, review, or source inspected or touched. Resume only after PR #4123 closes/merges or Drew hands off.

  10. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 2, 2026
  11. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    Task 5233 resumed by lane A. Ownership correction: PR #4123 is fleet-owned (task 5233 branch; PR body names task 5233) — the earlier Drew-owned park was the author-metadata over-fire. Fresh verification at head f791447: Codex clean; laptop node --test bin/provider-catalog-sync.test.mjs bin/record.test.mjs 39/39 pass. Merging under standing merge authority.

  12. dezren39
    added a commit that references this issue on Nov 2, 2026

    fix(bin): run main when provider-catalog-sync and record are invoked …

    c08b27f
  13. dezren39
    closed this as completedin #4123on Nov 2, 2026
  14. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 2, 2026
  15. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    Task 5233 done: PR #4123 squash-merged (c08b27f), #2235 closed. Laptop node --test for both bin suites 39/39 pass at f791447; Codex clean.

  16. developing-today
    added
    status:in-review
    on Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/provider-catalog-syncbin/provider-catalog-sync.mjs catalog synceffort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobstatus:in-reviewtask/triageQueue packet kind: verify, reproduce, and route this item

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.