Skip to content

test(watch): the no-eb-stack case ignores an eb-stack on the caller's PATH - #311

Merged
HaoZeke merged 1 commit into
developfrom
fix/watch-test-host-eb-stack
Nov 26, 2026
Merged

HaoZeke merged 1 commit into
developfrom
fix/watch-test-host-eb-stack

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

without_eb_stack_watch_says_what_to_rebuild_and_refuses_to_guess_the_rest removes the eb-stack stub, but the shared helper appends the caller's PATH after the stubs, so an eb-stack installed on the host answers instead. With eb-stack 0.3.0 on PATH the test fails with rebuild-set.json: schema_version Some(4); this eb-pipeline reads 5. The test now runs with the stubs and /usr/bin:/bin only.

On one x86_64 host, in a login shell whose PATH has eb-stack 0.3.0: without the change the test fails with that line; with it the watch suite passes 3 of 3 runs, and cargo fmt --check is clean.

… PATH

The test removes the eb-stack stub and appended the caller's PATH, so a
host eb-stack answered in its place; eb-stack 0.3.0 writes rebuild-set
schema 4 and the test failed.
@HaoZeke
HaoZeke merged commit c2b191f into develop Nov 26, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant