Skip to content

Replace localstack with ministack - #796

Open
Nahuel990 wants to merge 1 commit into
NVIDIA:mainfrom
Nahuel990:replace-localstack-with-ministack
Open

Replace localstack with ministack#796
Nahuel990 wants to merge 1 commit into
NVIDIA:mainfrom
Nahuel990:replace-localstack-with-ministack

Conversation

@Nahuel990

@Nahuel990 Nahuel990 commented Aug 12, 2026

Copy link
Copy Markdown

Swaps localstack/localstack:4.3 for ministackorg/ministack:1.4.16 in the four local_env compose files. ministack is an open-source (MIT) AWS emulator that serves the same APIs on the same port (4566) and honours both SERVICES and /etc/localstack/init/ready.d init scripts, so no other changes are needed. Pinned to a released version to match this repo's pinning.

Disclosure: I maintain ministack.

Verified locally against this repo, running the actual aws/startup.sh init scripts unchanged:

  • cloud-functions (SERVICES=sts,s3): init buckets b-strap-results / b-strap-assets created, STS get-caller-identity and S3 put/get work.
  • instance-cluster-management (SERVICES=sqs,sns,sts): FIFO SQS queues + FIFO SNS topic created, SNS→SQS subscribe with RawMessageDelivery returns a SubscriptionArn, IAM role created, awslocal present and working.

Scoped to the compose files only. The Testcontainers-based Go/Rust tests still pin LocalStack and are left unchanged (happy to do a follow-up).

Summary by CodeRabbit

  • Chores
    • Updated local development and test environments to use the latest AWS service emulator image.
    • Standardized the emulator version across cloud functions and instance cluster management setups.

@Nahuel990
Nahuel990 requested a review from a team as a code owner August 12, 2026 21:44
@Nahuel990
Nahuel990 requested a review from sparve-nv August 12, 2026 21:44
@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The local AWS service image changes from localstack/localstack:4.3 to ministackorg/ministack:1.4.16 in four Docker Compose configurations.

Changes

Local AWS image update

Layer / File(s) Summary
Update local AWS service images
src/control-plane-services/cloud-functions/local_env/docker-compose*.yml, src/control-plane-services/instance-cluster-management/local_env/docker-compose*.yml
The AWS service uses ministackorg/ministack:1.4.16 instead of localstack/localstack:4.3 in local and test configurations.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Mergeability Score: 🔵 Low · up to adc20

The PR replaces the local AWS emulator image across four development Compose files. The change is mergeable with owner awareness, but the image should use an approved immutable digest and have its licensing and attribution confirmed to avoid bounded dependency-provenance or compliance risk.

Suggested reviewers: sparve-nv

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title accurately describes the image replacement but does not use the required Conventional Commits format with a type prefix. Use a title such as "build: replace LocalStack with Ministack" or "chore: replace LocalStack with Ministack".
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@src/control-plane-services/cloud-functions/local_env/docker-compose.test.yml`:
- Line 21: Replace the MiniStack tag with the resolved multi-platform manifest
digest for ministackorg/ministack:1.4.16 in all four Compose files:
src/control-plane-services/cloud-functions/local_env/docker-compose.test.yml:21-21,
src/control-plane-services/cloud-functions/local_env/docker-compose.yml:21-21,
src/control-plane-services/instance-cluster-management/local_env/docker-compose.test.yml:21-21,
and
src/control-plane-services/instance-cluster-management/local_env/docker-compose.yml:42-42.
Use the identical immutable digest everywhere, verify its license against
.allowed-licenses.txt, and add the required NOTICE or attribution entry if
applicable.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: adb9e4b2-dfbe-424f-94ff-1644365be7bf

📥 Commits

Reviewing files that changed from the base of the PR and between e0c2e06 and adc200a.

📒 Files selected for processing (4)
  • src/control-plane-services/cloud-functions/local_env/docker-compose.test.yml
  • src/control-plane-services/cloud-functions/local_env/docker-compose.yml
  • src/control-plane-services/instance-cluster-management/local_env/docker-compose.test.yml
  • src/control-plane-services/instance-cluster-management/local_env/docker-compose.yml

services:
aws:
image: localstack/localstack:4.3
image: ministackorg/ministack:1.4.16

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔒 Security & Privacy | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

image='ministackorg/ministack:1.4.16'

docker buildx imagetools inspect "$image"

test -f .allowed-licenses.txt
rg -n -i '\bMIT\b|ministack' .allowed-licenses.txt

fd -HI -t f '^(NOTICE|NOTICE\..*|THIRD_PARTY.*)$' .

Repository: NVIDIA/nvcf

Length of output: 193


Use one immutable and approved MiniStack image reference in all four Compose files.

Resolve the multi-platform manifest digest for ministackorg/ministack:1.4.16, use the same digest in all four Compose files, and verify the license against .allowed-licenses.txt. Add the required NOTICE or attribution entry if applicable.

📍 Affects 4 files
  • src/control-plane-services/cloud-functions/local_env/docker-compose.test.yml#L21-L21 (this comment)
  • src/control-plane-services/cloud-functions/local_env/docker-compose.yml#L21-L21
  • src/control-plane-services/instance-cluster-management/local_env/docker-compose.test.yml#L21-L21
  • src/control-plane-services/instance-cluster-management/local_env/docker-compose.yml#L42-L42
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/control-plane-services/cloud-functions/local_env/docker-compose.test.yml`
at line 21, Replace the MiniStack tag with the resolved multi-platform manifest
digest for ministackorg/ministack:1.4.16 in all four Compose files:
src/control-plane-services/cloud-functions/local_env/docker-compose.test.yml:21-21,
src/control-plane-services/cloud-functions/local_env/docker-compose.yml:21-21,
src/control-plane-services/instance-cluster-management/local_env/docker-compose.test.yml:21-21,
and
src/control-plane-services/instance-cluster-management/local_env/docker-compose.yml:42-42.
Use the identical immutable digest everywhere, verify its license against
.allowed-licenses.txt, and add the required NOTICE or attribution entry if
applicable.

Sources: Coding guidelines, MCP tools

@sbaum1994

Copy link
Copy Markdown
Collaborator

@Nahuel990 we require an issue associated with MRs. In the issue please include what benefit this gives, as I consider this a feature request/minor feature not a bug fix or improvement.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants