[BUG] Governance tests assume a fixed repository count #5
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/meta#5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The governance unit suite assumes that the maintained roster has exactly 76
repositories. Registering the owned-region library makes Meta CI fail even
though reviewed repository additions are supported.
Reproduction
At commit
5b2268acbdd9ec25bec2e5c13a8d38b0883d5d7e, run:This is the command exercised by the failing governance job in CI 27.
Expected and actual behavior
The maintained roster test should verify required membership and accept reviewed
additions. It should preserve malformed-roster and exact-cohort rejection.
Instead,
governance_test.py:306asserts a count of 76 and reportsAssertionError: 77 != 76. The suite runs 15 tests with one failure and exits 1.Environment and identity
Meta commit
5b2268acbdd9ec25bec2e5c13a8d38b0883d5d7e, branchfeature/posix-compat, CI 27. The added member islib-owned-region.
This is a host-side governance test; no image, VM or runtime grant is involved.
Evidence and prior checks
CI 27 records the exact
assertion failure in its original governance log. The roster parser is not the
reported failure; the unit test stops the job before its roster-check step.
Tracking
Relates to the shared-library proposal
and phase completion.
Fixed in 8fed04a. The suite now checks an extended original-source cohort without fixing the fleet size. All 16 controls and the 77-member roster check pass locally and in CI 28.