Repository navigation
test(addons): list the new specs in the case inventories - #13416
Closed
mudler-agent wants to merge 2 commits into
Closed
mudler-agent wants to merge 2 commits into
mudler-agent wants to merge 2 commits into
Conversation
The add-on tool cap work added six adapter specs that the tables-tools suite runs through the tool adapter package. They were not in the required case inventory, so the exact comparison failed with an inventory mismatch although every case passed. Add the six cases to the tables-tools entry of scripts/addons/suites.json. No required case was removed or renamed; the names are read from the Ginkgo report of the real run. Assisted-by: Claude:claude-sonnet-5-5
…ories The failed-upgrade log work added two specs to the add-on service package and the long lifecycle call work added two to the gateway package. They were not in the required case inventory, so the lifecycle, apps, gateway and artifacts suites, which run those packages, failed the exact comparison although every spec passed. Add the two lifecycle cases to the lifecycle and apps entries and the two gateway cases to the gateway and artifacts entries of scripts/addons/suites.json. No required case was removed or renamed; the names are read from the Ginkgo reports of the real run. Assisted-by: Claude:claude-sonnet-5-5
Collaborator
Author
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.
What
Fix the failing "Add-on Tests" workflow on master. No spec fails. The case inventories in
scripts/addons/suites.jsonwere not updated when specs were added, so the exact comparison of expected and reported cases failed.Why
Each suite lists the cases it must report, and the check compares that list with the Ginkgo report. Recent changes added specs without adding them to the list:
tables-tools: six specs about the tool cap, incore/services/addons/tools/definitions_test.go.lifecycleandapps: two specs incore/services/addons/runtime_integration_test.go(the start error is logged as the cause, and the log line is bounded and has no credentials).gatewayandartifacts: two specs incore/services/addons/gateway/lifecycle_long_test.go(long lifecycle actions, and an owner answering after the short deadline).The CI log of
tables-toolsshows the expected list plus exactly the six new cases and nothing missing.Change
Only
scripts/addons/suites.json: the new cases are added to the matching suites, one commit per cause. The inventory check is unchanged and no spec was removed, skipped or renamed.Tests
Run locally with
-tags auth,nosqlite,purego_utpand a Ginkgo JSON report:./core/services/addons: ok, 150 specs (148 listed before)../core/services/addons/gateway: ok, 269 specs (267 listed before)../core/services/addons/tools: ok.scripts/addons/ginkgo_report.pywith the new inventory:lifecycle150,apps150,gateway269,artifacts269 specs matched.sh scripts/addons/prerequisites_test.shexits 0.Not run locally: the full
scripts/addons/verify.shandtables_tools.sh, which need the UI build, Playwright and the test server. CI runs them.The error text of the check does not say which of its five conditions failed, and nothing checks that new specs are listed in
suites.json. Both are worth a follow-up.Assisted-by: Claude:claude-sonnet-5-5