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 — CI: hermetic spawns in vex-vendor/rollback suites (#823) by mikolalysenko · Pull Request #1518 · SocketDev/socket-patch

Conversation

@mikolalysenko

@mikolalysenko Mikola Lysenko (mikolalysenko) commented Oct 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

LLM Description written by Claude Code:claude-opus-5-5

Refs #823 (slice 17: vex-vendor and rollback multi-copy suites). Uses Refs, so #823 stays open for the remaining PENDING_RAW_SPAWNS files.

Summary

e2e_vex_vendor.rs and rollback/rollback_multicopy_blob_gate.rs now spawn socket-patch through tests/common/hermetic.rs (hermetic::binary_command() / common::hermetic_command) and leave PENDING_RAW_SPAWNS (9 → 7 on main; 4 once #1515 also lands). The ratchet in spawn_env_hygiene.rs keeps them hermetic. Test-only; no product code and no workflow changes.

The two list entries removed here sit two lines away from #1515's removals, with an untouched line between them, so the two PRs merge cleanly in either order.

Root cause

Each file started the CLI with a bare Command::new and its own SOCKET_* sweep, which had drifted from the shared builder:

  • e2e_vex_vendor's cli() kept an ambient SOCKET_NO_CONFIG and set SOCKET_NO_CONFIG=1 / telemetry off in only 1 of its 26 spawns. A developer shell with SOCKET_NO_CONFIG=0 let their real socket login reach the other children.
  • rollback_cmd swept every SOCKET_* and re-set the config and telemetry opt-outs, but never forced SOCKET_NO_UPDATE_CHECK.
  • Neither got the builder's hostile-seed tripwire or the SOCKET_CLI_* peer-alias removal.

Test evidence

  • Red, without the conversions (only the PENDING_RAW_SPAWNS removal): spawn_env_hygiene fails no_new_bare_binary_spawns with ["e2e_vex_vendor.rs", "rollback/rollback_multicopy_blob_gate.rs"].
  • Under a hostile shell (SOCKET_DRY_RUN=true SOCKET_ECOSYSTEMS=cargo SOCKET_ORG_SLUG=hostile SOCKET_NO_CONFIG=0 SOCKET_JSON=false SOCKET_SILENT=true SOCKET_NO_UPDATE_CHECK=0), both suites already passed on main, because their sweeps did remove the flag-bound vars. This slice closes the config-layer and update-check gaps and puts the files under the ratchet. It does not fix a failing test.
  • Green on this branch under the same hostile shell (plus VIRTUAL_ENV=/nonexistent): e2e_vex_vendor 52/52, rollback 59/59, spawn_env_hygiene 16/16. Neither suite has #[ignore]d tests.
  • cargo fmt --all -- --check and cargo clippy --locked --workspace --all-features -- -D warnings are clean. The touched test targets add no clippy warnings.

/code-review high

No correctness findings. Two cleanups:

  • Fixed: e2e_vex_vendor's cli() now uses common::hermetic::binary_command(), the same spelling as e2e_vex.rs, which it cites.
  • Not fixed: vex_json keeps .env("SOCKET_NO_API_TOKEN", "1"). The builder already removes every ambient token source, so the line is redundant. I kept it as an explicit veto because the test's point is that the attestation is built without a token, and it would still hold if the builder ever let a token source through.

CI cost

No workflow changes. A lean PR run is the same before and after (~28 Linux jobs, ~8 min).

🤖 Generated with Claude Code

https://claude.ai/code/session_01JB2n7Tgpcpp64qDf6PhHus


Generated by Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Claude (claude) added 3 commits October 14, 2026 03:00
@claude
Start fix for #823 (slice 17)
cb563d9
Assisted-by: Claude Code:claude-opus-5-5
@claude
Spawn vex-vendor and rollback tests hermetically
a18853d
e2e_vex_vendor.rs and rollback/rollback_multicopy_blob_gate.rs started
socket-patch with a bare Command::new and their own SOCKET_* sweep.
Both sweeps had drifted from the shared builder: the vex-vendor one
let an ambient SOCKET_NO_CONFIG=0 through, so a developer's real
`socket login` could reach the child, and neither forced the passive
update check off.

Both now spawn through tests/common/hermetic.rs and leave the
PENDING_RAW_SPAWNS list, so the spawn_env_hygiene ratchet keeps them
hermetic. Test-only change.

Refs #823

Assisted-by: Claude Code:claude-opus-5-5
@claude
Use binary_command in vex-vendor suite
3cc99c3
Matches e2e_vex.rs, which this suite cites, so the twin suites spawn
the CLI the same way.

Refs #823

Assisted-by: Claude Code:claude-opus-5-5
@mikolalysenko
Mikola Lysenko (mikolalysenko) marked this pull request as ready for review October 14, 2026 03:04
@mikolalysenko Mikola Lysenko (mikolalysenko) added the agent:claimed label Oct 14, 2026
@mikolalysenko

Mikola Lysenko (mikolalysenko) commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

BugBot review


Generated by Claude Code

cursor[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mikolalysenko Mikola Lysenko (mikolalysenko) mentioned this pull request Oct 14, 2026
Spawn every CLI test child through one hermetic Command builder; 10 test files inherit ambient SOCKET_* today #823
Closed
5 tasks
@mikolalysenko Mikola Lysenko (mikolalysenko) removed the agent:claimed label Oct 14, 2026
cursor[bot]
cursor Bot reviewed Oct 14, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 3cc99c3. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Tanmay182003
Tanmay Singla (Tanmay182003) approved these changes Oct 14, 2026
View reviewed changes
@mikolalysenko
Mikola Lysenko (mikolalysenko) added this pull request to the merge queue Oct 14, 2026
Merged via the queue into main with commit bb73e2f Oct 14, 2026
86 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@mikolalysenko
Mikola Lysenko (mikolalysenko) deleted the agent/fix-ci-hermetic-vex-vendor-rollback branch October 14, 2026 03:57
This was referenced Oct 14, 2026
CI: hermetic spawns in the e2e_maven suite (#823) #1519
Merged
CI perf (settings): slow Depot 16-core hosts since 10-13 15:20 add ~1.5–2.5 min to the merge-queue critical path (~0.6k Linux job-min/day) #1512
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@cursor cursor[bot] cursor[bot] left review comments
@Tanmay182003 Tanmay Singla (Tanmay182003) Tanmay182003 approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@mikolalysenko @Tanmay182003 @claude
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — 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.