Skip to content

chore(desktop): remove container-only npm-preflight E2E harness#1749

Merged
wpfleger96 merged 2 commits into
mainfrom
duncan/strip-npm-preflight-e2e-harness
Jul 11, 2026
Merged

chore(desktop): remove container-only npm-preflight E2E harness#1749
wpfleger96 merged 2 commits into
mainfrom
duncan/strip-npm-preflight-e2e-harness

Conversation

@wpfleger96

Copy link
Copy Markdown
Collaborator

The four #[ignore]d container tests and their Docker harness (Dockerfile.preflight-e2e, Dockerfile.preflight-e2e.dockerignore, run-e2e-scenarios.sh, desktop-preflight-e2e Justfile recipe) were opt-in scaffolding added for pre-merge confidence on #1732. They were never wired into CI and never ran in just check or desktop-test.

Will's call: dead weight for the tree. Removing it now that the fix has landed.

Production code is untouched: NpmPrefix enum, resolve_npm_prefix(), npm_preflight_check(), npm_install_target_is_writable(), the hint field, all non-ignored unit tests, and the frontend diff all remain.

The four #[ignore]d container tests and their Docker harness
(Dockerfile.preflight-e2e, Dockerfile.preflight-e2e.dockerignore,
run-e2e-scenarios.sh, desktop-preflight-e2e Justfile recipe) were
opt-in scaffolding added for pre-merge confidence on #1732. They were
never wired into CI and never ran in just check or desktop-test.

Will's call: dead weight for the tree. Removing it now that the fix
has landed.

Production code is untouched: NpmPrefix enum, resolve_npm_prefix(),
npm_preflight_check(), npm_install_target_is_writable(), the hint
field, all non-ignored unit tests, and the frontend diff all remain.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
@wpfleger96 wpfleger96 requested a review from a team as a code owner July 11, 2026 00:54
cargo fmt left a stray blank line before the closing brace of mod tests
after the E2E test tail was removed. Run cargo fmt to fix.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
@wpfleger96 wpfleger96 merged commit 9895b4d into main Jul 11, 2026
24 checks passed
@wpfleger96 wpfleger96 deleted the duncan/strip-npm-preflight-e2e-harness branch July 11, 2026 01:05
tlongwell-block pushed a commit that referenced this pull request Jul 11, 2026
Co-authored-by: Tyler Longwell <tlongwell@block.xyz>

Signed-off-by: Tyler Longwell <tlongwell@block.xyz>

* origin/main:
  fix(desktop): preserve archived observer history (#1752)
  fix(dev): install Lefthook hooks into shared .git/hooks dir (#1751)
  fix(desktop): surface codex config-parse failures and -32603 internal errors clearly (#1745)
  fix(desktop): fix workspace rail badge disappearance and persist mark-as-unread (#1747)
  chore(desktop): remove container-only npm-preflight E2E harness (#1749)
  fix(desktop): preflight npm prefix writability in doctor installs (#1732)
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