Repository navigation
test: let scenarios that replace the test set evaluate again - #306
Merged
Merged
Conversation
9d7a7ed made the i2pd test data depend on config.tests.i2pd. Scenarios that set `tests = mkForce { ... }` have no such attribute, so wireguardIptablesLegacy and lnconnectNoOperatorRole failed to evaluate with "attribute 'i2pd' missing". Treat a missing entry as false. Assisted-by: Claude Code (Claude Opus 5.5)
seberm
approved these changes
Nov 20, 2026
seberm
left a comment
Contributor
There was a problem hiding this comment.
LGTM, no action items.
Tested: run-tests.sh -s <scenario> build --dry-run for wireguardIptablesLegacy, lnconnectNoOperatorRole and an inline scenario that copies the selectedTests example (tests = mkForce {…}). On master all three fail with attribute 'i2pd' missing; on this PR all three pass.
Assisted-by: Claude Code (Claude Opus 5.5)
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.
Since #224,
wireguardIptablesLegacyandlnconnectNoOperatorRolefail to evaluate withattribute 'i2pd' missing. Both settests = mkForce { ... }, soconfig.testshas noi2pdentry, andtest.data.i2pdreads it. CI doesn't build these two scenarios. Onlyrun-tests.sh buildableandalldo.This PR reads the entry with
or false, so a missing entry counts as a test that's off. Which tests run doesn't change.Testing
run-tests.sh -s <scenario> build --dry-runfails for both scenarios. With this PR it passes.#293 reads
config.tests.rtlthe same way, so I changed it there too.Written with Claude Opus 5.5 and reviewed with GPT-6 Astra.