Skip to content

Runtime CLI silently exits through symlinked launch paths #273

Closed

Description

@sarthakagrawal927

Reproduction

The signed v1.13.7 packaged runtime CLI exits 0 with empty stdout when invoked through /tmp (a symlink to /private/tmp). Invoking the identical file by its canonical path produces the expected failed-test receipt. The entry guard compares import.meta.url against a manually built file URL from argv[1], which disagrees for symlinks and URL-encoded paths.

Fix and validation

Resolve the entry path and convert it with pathToFileURL before comparing module identity. A regression test first failed with empty JSON through a symlink containing spaces, then passed after the repair. All 18 runtime-failure-capsule tests pass, including real Node failure, timeout, Go panic, and stable exit contracts.

  • Reproduce from the published package.
  • Repair entry-point identity and validate focused runtime suite.
  • Push and confirm exact-source CI.
  • Include repair in a signed release and repeat packaged execution.

Source repair pushed as 6e7a77ab. The fixed runtime invoked through /tmp now returns the broken fixture as failed (workload exit 1); after correcting the calculation it records workload exit 0 while retaining no_confidence at diagnostic scope, avoiding a broader completion claim. Full repository lint and push-time secret scan passed; signed package qualification remains pending.

Source CI 34280441959 passed at 6e7a77a. Release PR #274 prepares v1.13.8 at 467c1b7. Exact-version PR checks and protected production qualification run 34281069143 are active; published-package verification remains open.

Activity

  1. sarthakagrawal927 commented on Sep 8, 2026

    @sarthakagrawal927
    MemberAuthor

    Verified in the published v1.13.8 macOS ZIP (SHA-256 c8dd54f5ebfef4a25f5e4a0bf9467062b1b67a295be833d5c57bab01e2b3704f). Invoking the packaged runtime through a symlink whose filename contains spaces now emits a valid runtime-failure-capsule/v1 receipt and executes the selected Node test target successfully. The passing fixture correctly retains a no_confidence diagnostic verdict because no failure reproduced. The 18-test source regression suite and actual public package cover this defect; closing. Release: https://github.com/Codevetter/codevetter/releases/tag/v1.13.8

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions