Skip to content

Retire the LocalStack CI lane in favor of MiniStack #1273

Open

Description

@gaul

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:

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

Activity

  1. gaul commented on Nov 23, 2026

    @gaul
    OwnerAuthor

    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:

    • the nine fails_on_s3proxy_ministack markers those bugs needed;
    • the name deselect of test_object_lock_copy_does_not_inherit_retention;
    • the MultipartUploadKeyBindingTest exemption;
    • the MiniStack skip in testCopyObjectDestinationConditions, which now skips only LocalStack.

    Coverage now

    LocalStack 4.14.0 vs MiniStack 1.5.44:

    LocalStack MiniStack
    Passed 545 534
    Expected failures 165 181
    Pass here and not on the other 39 28

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions