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 — meta-exporter: meta-quota-export still uses the pre-#2083 raw-path entry-point check — invoked via any symlink it silently no-ops with exit 0 · Issue #2350 · developing-today/code

meta-exporter: meta-quota-export still uses the pre-#2083 raw-path entry-point check — invoked via any symlink it silently no-ops with exit 0 #2350

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
meta-exporter: meta-quota-export still uses the pre-#2083 raw-path entry-point check — invoked via any symlink it silently no-ops with exit 0#2350
Copy link
Assignees
dezren39
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/xsTrivial: expected under 30 minutes 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 jobtask/small-fixQueue packet kind: bounded fix with reproduction and targeted testsuser/reviewNeeds a user-look: Muse reviews first and handles what it can

Description

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

Summary

pm-stack/meta-exporter/meta-quota-export.mjs:535 still compares the raw process.argv[1] path with import.meta.url. Via a symlinked file or directory, the comparison fails, main() is skipped, and Node exits 0 silently.

Fresh evidence (current main 87582f16e203388df93afef7845562e7905e1516, 2026-11-03)

A local probe used --cdp-port 1 and separate scratch output directories:

  • Direct invocation: exit 4, reports cdp-unavailable, and writes latest.json plus history.jsonl.
  • Symlinked-file invocation: exit 0, no output, no files.
  • Symlinked-directory invocation: exit 0, no output, no files.

The direct result proves main() ran; both symlink paths silently bypass it. bin/proxy-supervise.mjs:884-896 contains the established guarded realpathSync comparison pattern.

Scope correction

This issue should fix only the meta-exporter entry point and its regression coverage. The former repo-wide grep acceptance criterion is not a valid gate for this one-file fix: other entry-point instances belong to separate scopes (including #4325, whose PR #4583 is open and explicitly excludes this meta-exporter, and other remaining files). Do not expand this task into a repository-wide sweep or block this fix on unrelated matches.

A prior canceled task left uncommitted guard and test changes in /home/user/git/fleet/task-5248 on branch queue/5248-2350-meta-exporter-symlink-entry. Preserve that work; the follow-up must inspect it and reconcile it with fresh main rather than discard it or open a competing PR.

Acceptance criteria

  • The meta-exporter runs for direct, symlinked-file, and symlinked-directory invocation, using a guarded realpath comparison or equivalent.
  • Importing the module as a library still does not run main().
  • Regression coverage verifies direct failure-document behavior, both symlink forms, and inert library import.
  • Run node --test pm-stack/meta-exporter/meta-quota-export.test.mjs.
  • Keep changes limited to the meta-exporter and its tests; global entry-point inventory is explicitly out of scope.

Related: #2083 (proven fix pattern), #4325 (separate set; explicitly excludes this file), #4694 (separate issue, now closed).

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-1194

  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/pm-stackpm-stack (Pad/Grist) in developing-today/code
    effort/xsTrivial: expected under 30 minutes 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 cron run 2026-10-29T14:50Z
    • Found via: filed this run
    • Task: Filed meta-exporter: meta-quota-export still uses the pre-#2083 raw-path entry-point check — invoked via any symlink it silently no-ops with exit 0 #2350 — meta-quota-export.mjs:343 still uses the 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 check (import.meta.url === pathToFileURL(process.argv[1]).href): invoked via a symlinked file or a symlinked directory it silently no-ops with exit 0 — no failure document, defeating the exporter's failure-visibility design. Verified this run (sandbox Node probe, main 5a34fa7, dead CDP port): direct → exit 4 + cdp-unavailable document written; file-symlink → exit 0, out-dir empty; dir-symlink → exit 0, out-dir empty. 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 covers the two bin/ instances; its grep criterion is scoped to bin/, so this pm-stack instance is separate.
    • Expectation: effort/xs — mirror the fs.realpathSync-on-both-sides fix proven in bin/proxy-supervise.mjs:648-656; keep import-as-library (test suite) not running main; add a symlink regression probe.
    • Links: queue packet packet-2350-triage.json (repo-health-code-pilot)
  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. 48 remaining items

  7. dezren39
    added
    status/needs-triageNot yet triaged; needs a first look
    on Nov 3, 2026
  8. developing-today commented on Nov 3, 2026

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

    agent-note:v1
    state: triaged (coverage pass)
    Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as small_fix at priority 50 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
    Found via: coverage pass 2026-11-03

  9. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    status/parkedDeliberately paused with a recorded resume condition
    queue/queuedHas a queued queue task
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 4, 2026
  10. dezren39 commented on Nov 4, 2026

    @dezren39
    dezren39
    on Nov 4, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-c
    • Session / ID: task 7909 (shepherd task bound by the fleet monitor; PR fix(meta-exporter): detect symlinked CLI entry points (#2350) #4838 originated from earlier task 5248)
    • Found via: queue claim
    • Task: Shepherd PR fix(meta-exporter): detect symlinked CLI entry points (#2350) #4838 to merge — review only, no re-implementation. user/review reviewed by me first per protocol: the diff is exactly the issue meta-exporter: meta-quota-export still uses the pre-#2083 raw-path entry-point check — invoked via any symlink it silently no-ops with exit 0 #2350 fix (realpath-based entry-point check in pm-stack/meta-exporter/meta-quota-export.mjs) plus its tests (direct, file-symlink, directory-symlink, and import-inert cases).
    • Expectation: Merge now — verification below is complete.
    • Verification: Targeted tests re-run independently on the laptop at PR head bf5c66f8: node --test pm-stack/meta-exporter/meta-quota-export.test.mjs — 25 passed, 0 failed. No PR-tier CI exists for this path (the pm-stack workflows run on pushes to main only, per the earlier CI coverage note on PR fix(meta-exporter): detect symlinked CLI entry points (#2350) #4838); main-push CI is the post-merge check.
    • Codex gate disposition: Codex produced no findings on PR fix(meta-exporter): detect symlinked CLI entry points (#2350) #4838 — its review run failed on Codex usage limits (see its summary comment on the PR) and there are zero Codex inline comments. CodeRabbit was likewise rate-limited with no findings. Nothing undispositioned remains.
    • Links: PR fix(meta-exporter): detect symlinked CLI entry points (#2350) #4838 · issue meta-exporter: meta-quota-export still uses the pre-#2083 raw-path entry-point check — invoked via any symlink it silently no-ops with exit 0 #2350
  11. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 4, 2026
  12. dezren39 commented on Nov 4, 2026

    @dezren39
    dezren39
    on Nov 4, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (superseded)

    • Agent: queue worker (repo-worker-code), lane code-c
    • Session / ID: task 7909
    • Found via: queue claim
    • Task: Issue meta-exporter: meta-quota-export still uses the pre-#2083 raw-path entry-point check — invoked via any symlink it silently no-ops with exit 0 #2350 is closed as superseded: the component it reported on no longer exists, so the bug cannot occur.
    • Evidence: Commit 1d0944333 ("retire the Meta console-scrape exporter (superseded by quota: gather meta + opendesign by asking OpenCode #5040)", 2026-11-03) deleted pm-stack/meta-exporter/ (including meta-quota-export.mjs) and its Nix unit from main, following Drew's 2026-11-03 ruling that quota is gathered by asking the OpenCode quota module (PR quota: gather meta + opendesign by asking OpenCode #5040). Nothing ingests the exporter's output anymore. The fix that had been prepared, PR fix(meta-exporter): detect symlinked CLI entry points (#2350) #4838, was verified sound (targeted tests 25/25 on the laptop, diff matched intent) but is being closed unmerged — merging it would resurrect retired code. Its realpath entry-point pattern already lives on main in both surviving sibling exporters (cloudflare-quota-export.mjs line 646, supabase-quota-export.mjs line 400), so nothing is lost.
    • Expectation: Closed; no follow-up needed. If a Meta file-export producer returns, the entry-point pattern above is the one to use.
    • Links: PR fix(meta-exporter): detect symlinked CLI entry points (#2350) #4838 (closed unmerged) · PR quota: gather meta + opendesign by asking OpenCode #5040 · commit 1d0944333
  13. dezren39
    closed this as not plannedon Nov 4, 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/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/xsTrivial: expected under 30 minutes 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 jobtask/small-fixQueue packet kind: bounded fix with reproduction and targeted testsuser/reviewNeeds a user-look: Muse reviews first and handles what it can

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.