mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
The partition compatibility nightly ran the Java SDK suite in cn-north-1
only. GovCloud (IAM signs us-gov-west-1, no CloudFront) and EUSC (no
global endpoints) take their own code paths and had no end-to-end check.
The job is now a matrix of cn-north-1, us-gov-west-1 and eusc-de-east-1;
a dispatch that names a region runs that region alone.
Measured locally on main 367ae0b2d with a JVM image: a us-east-1 control
run and one run per new region, 2461 tests each. Beyond the control
run's one failure, GovCloud showed one and EUSC four, all in tests that
assumed the commercial partition, so they are fixed here and both new
allowlists start empty:
- WafV2Test.cloudfrontScopeIsolated created a CLOUDFRONT-scope IP set,
which Floci refuses where CloudFront does not exist. It now runs only
in the partitions that have CloudFront.
- S3Test built its LocationConstraint through the SDK enum, which has no
value for eusc-de-east-1 and is then sent as the literal "null". It
passes the region id as a string.
The workflow checks the suite out at the commit the nightly image was
built from, so the new legs first run with these fixes on the nightly
after this lands.
Signed-off-by: Hector Ventura <hectorvent@gmail.com>