Repository navigation
test(e2e): assert the real bundle pull's unmatched-pattern warning on stderr - #2790
Merged
Merged
Conversation
… stderr Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Code coverage overviewLanguages: Rust Rust / code-coverage/cargo-llvm-cov
View coverage of the 4 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. Updated |
…the unmatched-warning e2e Co-Authored-By: Claude Opus 5.5 <[email protected]>
thiras
approved these changes
Oct 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
A real (non-dry-run)
decdn get 'decdn:<hash>/'prints each unmatched--include/--excludepattern on stderr throughEntryFilter::apply_and_warn, called fromobtain_manifest. Only the dry-run path had a subprocess test (#2671). This adds ananvil-e2ejourney that runs the real path through the binary, with no node and no funds:ChainFixturefor the one chain read (PaymentPool.usdc()inBundlePullerBuilder::build) and a fresh, unfunded buyer keystore.--node-id/--provider-addresspin a node, so selection reads noCapacityBondregistry.Two runs share one anvil:
--exclude 'metal/*' --exclude '**'keeps no entry. The run ends atreport_nothing_to_fetch, exits 0, and adds nothing to the output root.--exclude 'metal/*'alone keeps both entries: the run that would go on to pay. A--receiptat the path one entry lands at makesguard_selectionrefuse the run after the filter, before any dial. No entry lands.Each run asserts that stderr carries
warning: --exclude 'metal/*' matched no entrieswith thedid you mean '**/metal/*'hint exactly once, and that stdout carries neither. The CLI runs throughtokio::process::Commandwithkill_on_drop, so the test's overall timeout bounds a regression that hangs.Mutation checks against
apply_and_warn: dropping theeprintln!fails run 1, and warning only when the filters keep nothing passes run 1 but fails run 2.The review found that this test's empty-set exit prints prose under
--json. That production bug is filed separately as #2800.Closes #2672
🤖 Generated with Claude Code