You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
e2e_hosted_production and e2e_vendored_production are a near-fork: 11 identical helpers, a copied PURL/UUID catalog and hand-rolled VEX checkers beside vex_e2e_common #1983
2 VEX runners duplicate run_vex. Only the bun runner sets SOCKET_NO_API_TOKEN, so the copies have drifted.
Same-file duplication. GET + status + JSON parse is written 5× (L351, L559, L589, L626, L663).
Proposed change
Add a tests/production_common/mod.rs holding:
the catalog (PURLs, UUIDs, UNPUBLISHED_ECOSYSTEMS as one list with per-mode filters);
one get_json(url) probe;
pm_command/tool/strict;
assert_pristine/assert_patched (drop the marker parameter: it is always PATCH_MARKER).
Include it from both suites and delete the local copies.
Replace the hand-rolled VEX runners and checkers, ledger checks and pin counts with the vex_e2e_common/envelope helpers already in the binary.
The strict env-var names stay per suite, as a parameter.
Size
2 suites plus 1 new module. Roughly −600 lines.
Acceptance criteria
Both suites still compile (--no-run).
The CI "hosted production" and "vendored production" jobs pass under *_STRICT=1 with the same set of legs run and skipped. Compare the leg logs before and after.
The drifted helpers settle on the stricter variant, which the PR names.
[agent] Triaged: priority:p3 (test-only refactor of the production e2e suites). No open or merged PR addresses it. Overlaps #1979 (hosted_pin_count) and #1959 (has_command); coordinate so the shared helpers land once.
Activity
audit-cli-tests: e2e_embedded_vex..e2e_nuget_dotnet_build; T64-T68 fi…
mikolalysenko commentedon Nov 2, 2026
[agent] Triaged: priority:p3 (test-only refactor of the production e2e suites). No open or merged PR addresses it. Overlaps #1979 (
hosted_pin_count) and #1959 (has_command); coordinate so the shared helpers land once.Generated by Claude Code