mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-11-29 23:37:41 +00:00
* fix(ci): run the test-completeness audit when started through a symlink Node resolves the main module through symlinks, so comparing import.meta.url with the unresolved argv[1] was false for a symlinked invocation: the audit was skipped and the gate exited 0. Compare against realpath(argv[1]), falling back to the resolved path when realpath fails. Adds a test that starts the script through a symlinked scripts directory. Fixes #4291 * fix(ci): canonicalize the module path in the test-completeness entry guard Under --preserve-symlinks-main, import.meta.url keeps the symlink spelling while argv[1] was canonicalized, so the guard still mismatched and the script exited 0 without auditing. Canonicalize both sides, derive the package root from the canonical module path, and exercise the real missing-receipts subprocess in both Node modes. --------- Co-authored-by: Abhigyan Patwari <126312502+abhigyanpatwari@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| bench | ||
| spikes | ||
| arm64-prebuild.cjs | ||
| assert-native-parsers.mjs | ||
| assert-publish-fts-coverage.cjs | ||
| assert-publish-grammar-coverage.cjs | ||
| assert-web-assets.mjs | ||
| bench-scope-resolution.ts | ||
| build-tree-sitter-grammars.cjs | ||
| build-web.js | ||
| build.js | ||
| cross-platform-tests.ts | ||
| ensure-fts.ts | ||
| execution-reporter.ts | ||
| install-duckdb-extension.mjs | ||
| owner-edge-guard-scaling.ts | ||
| prepare-tree-sitter-bundle.cjs | ||
| rebuild-bundled-grammar-prebuilds.cjs | ||
| repro-3527.mjs | ||
| run-benchmarks.ts | ||
| run-cross-platform.ts | ||
| shard-arg.ts | ||
| shard-timings-reporter.ts | ||
| shard-timings.ts | ||
| smoke-package-managers.mjs | ||
| sync-plugin-manifests.mjs | ||
| test-completeness.ts | ||