Skip to content

Read the ecosystem's own definition of the two test-outcome rules - #66

Merged
estebanzimanyi merged 1 commit into
masterfrom
ci/shared-test-outcome-guard
Sep 2, 2026
Merged

Read the ecosystem's own definition of the two test-outcome rules#66
estebanzimanyi merged 1 commit into
masterfrom
ci/shared-test-outcome-guard

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

The conformance job reaches the rules through
MobilityDB/MEOS-API/.github/actions/check-test-outcome, the composite action
JMEOS, MobilityFlink, MobilitySpark and MobilityKafka already use, rather than
stating them again in shell. The rules live once, beside the catalog, and a
copy of a rule about coverage is exactly the thing that drifts. The same script
answers over a local log, so a by-hand answer and the CI answer cannot differ.

The floor becomes 141, which is every result line go test -v writes: 77
top-level tests and 64 subtests. The shared rules count subtests, and they
belong in the total, since a t.Run whose body skips is as unrun as its parent
would be and deleting a case from a table-driven test moves nothing else. The
same suite reads 141 against this floor with no database, where 28 of those
lines are skips the rules refuse, and 141 with none skipped where the job
supplies the database.

The conformance job reaches the rules through
MobilityDB/MEOS-API/.github/actions/check-test-outcome, the composite action
JMEOS, MobilityFlink, MobilitySpark and MobilityKafka already use, rather than
stating them again in shell. The rules live once, beside the catalog, and a
copy of a rule about coverage is exactly the thing that drifts. The same script
answers over a local log, so a by-hand answer and the CI answer cannot differ.

The floor becomes 141, which is every result line `go test -v` writes: 77
top-level tests and 64 subtests. The shared rules count subtests, and they
belong in the total, since a t.Run whose body skips is as unrun as its parent
would be and deleting a case from a table-driven test moves nothing else. The
same suite reads 141 against this floor with no database, where 28 of those
lines are skips the rules refuse, and 141 with none skipped where the job
supplies the database.
@estebanzimanyi
estebanzimanyi merged commit 0ee99e5 into master Sep 2, 2026
2 checks passed
@estebanzimanyi
estebanzimanyi deleted the ci/shared-test-outcome-guard branch September 2, 2026 20:36
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