mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
* test(compat): run the Java SDK suite nightly in cn-north-1 against an allowlist of known failures Part of #4272 (P11). The partition work is covered by unit and integration tests over all eight partitions, but nothing ran a real SDK whose own partition logic (arn:aws-cn: ARNs, China signing scopes, the LocationConstraint S3 CreateBucket sends) has to round-trip. The Partition Compatibility workflow runs after each Nightly against the image it published, or on dispatch with an image and region: Floci starts with FLOCI_DEFAULT_REGION=cn-north-1 and sdk-test-java runs with AWS_REGION set, which TestFixtures now reads (default us-east-1, so the per-PR legs are unchanged). It runs once a night rather than per PR, to keep the shared runner pools free. compat-allowlist-check.py compares the JUnit results with compat-partition-allowlist-<region>.txt and fails on a failure the list does not name, on an entry that no longer fails, or on missing results, so the list only shrinks. The cn-north-1 list holds the 112 failures measured locally on main plus #4787: 96 tests that pin commercial ARNs, regions or zones, 13 that exercise commercial-only behaviour, and 3 still to explain. * test(compat): pin the nightly China run to its image's commit and catch an aborted suite Greptile on #4790: the workflow checked out the Nightly run's head_sha but pulled the mutable floci/floci:nightly tag, so the image and the tests could come from different commits; it now pulls the image first and checks out the commit in its org.opencontainers.image.revision label. And Maven exits non-zero for allowlisted failures too, so a suite that stopped partway could pass; the checker now takes --test-sources and requires a report for every test class in that tree. The cn-north-1 allowlist groups its entries by the verified cause: the RDS and SSO portal entries are Floci bugs (an RdsService ownership check against the literal partition "aws", and an arn:aws: seeded Identity Center instance), and SsoAdminAccountAssignmentTest#createInstanceQuotaUsesAwsSdk passes alone and fails only after OrganizationsTest leaves an organization behind.