Repository navigation
Description
LocalStack's license change makes it unappealing to keep in CI, and MiniStack now covers almost everything the LocalStack lane does. Both lanes exercise the same aws-s3 pass-through; this tracks dropping LocalStack once the MiniStack gaps below are fixed.
Coverage today
Latest full s3-tests runs, LocalStack 4.14.0 vs MiniStack 1.5.43:
| LocalStack | MiniStack | |
|---|---|---|
| Passed | 545 | 524 |
| Expected failures | 165 | 190 |
| Pass here and not on the other | 45 | 24 |
LocalStack also needs two tests deselected by name for its own bugs (test_copy_object_dest_if_match, where a failed If-Match copy still overwrites an unversioned destination, and test_versioning_concurrent_multi_object_delete).
Of the 45 tests only LocalStack passes:
- 39 ACL tests. They pass because LocalStack still lets a new bucket take ACLs, which S3 stopped doing in 2023; MiniStack follows S3 and answers
InvalidBucketAclWithObjectOwnership/AccessControlListNotSupported. Several only use an ACL as setup (presigned expiry, POST object), and those features are frontend code covered on the other lanes. ACL pass-through itself is now covered on MiniStack by the Java tests, which turn ACLs on the way an S3 caller must (ObjectWriter ownership, public access block removed). - 6 object lock tests, all MiniStack bugs:
- S3: CopyObject carries the source's Object Lock retention and legal hold to the copy ministackorg/ministack#2771: CopyObject carries the source's retention and legal hold to the copy.
test_object_lock_copy_does_not_inherit_retentionis deselected on the MiniStack lane because the inherited lock cannot be cleaned up and breaks every later test. - S3: CreateMultipartUpload drops the Object Lock retention and legal hold ministackorg/ministack#2772: CreateMultipartUpload drops the retention and legal hold it names (3 tests).
- S3: PutBucketVersioning accepts Suspended on a bucket with Object Lock ministackorg/ministack#2773: versioning can be suspended on a bucket with object lock.
- S3: CopyObject ignores the destination's Object Lock: the bucket default retention and the request's lock headers ministackorg/ministack#2780: CopyObject ignores the destination's Object Lock: the bucket default retention and the lock headers the request names.
- S3: CopyObject carries the source's Object Lock retention and legal hold to the copy ministackorg/ministack#2771: CopyObject carries the source's retention and legal hold to the copy.
The Java suite on LocalStack is a subset of the MiniStack one: every LocalStack port check in AwsSdkTest and VersionedBlobStoreTest skips a feature LocalStack lacks.
What we would lose today
Until ministackorg/ministack#2771 and ministackorg/ministack#2772 are fixed, two S3Proxy paths have no lane that observes them end to end: relaying lock headers on CreateMultipartUpload (test_object_lock_multipart_with_compliance_retention), and copying an object under a lock. S3Proxy only relays headers there, so the risk is small.
Work once the MiniStack fixes land
- MiniStack fixes for S3: CopyObject carries the source's Object Lock retention and legal hold to the copy ministackorg/ministack#2771, S3: CreateMultipartUpload drops the Object Lock retention and legal hold ministackorg/ministack#2772, S3: PutBucketVersioning accepts Suspended on a bucket with Object Lock ministackorg/ministack#2773 and S3: CopyObject ignores the destination's Object Lock: the bucket default retention and the request's lock headers ministackorg/ministack#2780 released; bump the pin and drop the matching
fails_on_s3proxy_ministackmarkers (they are strict, so they will XPASS when fixed) - Report the copy default retention gap (S3: CopyObject ignores the destination's Object Lock: the bucket default retention and the request's lock headers ministackorg/ministack#2780) and the UploadPartCopy-into-another-key's-upload gap (S3: UploadPartCopy accepts another key's upload ID ministackorg/ministack#2781, exempted in
MultipartUploadKeyBindingTest; drop the exemption once fixed) - s3-tests: remove the 49
fails_on_s3proxy_localstackmarkers and the marker registration inpytest.ini - Remove the
localstackTestsCI job ands3proxy-localstack.conf - Remove the LocalStack branch of
run-s3-tests.sh(its KMS keys, object lock tag, name deselects) - Remove the LocalStack port checks from the Java tests
- Update README and workflow comments that mention LocalStack
Activity
gaul commentedon Nov 23, 2026
MiniStack 1.5.44 fixes all four blockers listed above (ministackorg/ministack#2771, ministackorg/ministack#2772, ministackorg/ministack#2773, ministackorg/ministack#2780), and also ministackorg/ministack#2781 and ministackorg/ministack#2768. The upgrade to 1.5.44 (f7daab9) removes the workarounds:
fails_on_s3proxy_ministackmarkers those bugs needed;test_object_lock_copy_does_not_inherit_retention;MultipartUploadKeyBindingTestexemption;testCopyObjectDestinationConditions, which now skips only LocalStack.Coverage now
LocalStack 4.14.0 vs MiniStack 1.5.44:
The 39 tests that only LocalStack passes are all the ACL tests described above, which fail on MiniStack because new buckets refuse ACLs, as on S3. None of the six object lock tests is left among them. Lock headers on CreateMultipartUpload and copies under a lock now pass on MiniStack, so the gap noted under "What we would lose today" is closed.
The 28 tests that only MiniStack passes include the destination conditions on CopyObject and CompleteMultipartUpload, conditional PUTs, batch-delete preconditions, and two object lock retention changes.
Against 1.5.44 the Java suite also passes: 879 tests, 0 failures, 61 skipped.
The first checklist item is done once that commit lands; what remains is the removal work.