Conversation
📝 WalkthroughSummary by CodeRabbit
WalkthroughAdds Docker image testing jobs to the release pipeline (amd64 and arm64), a shell script to build/run/health-check test images, renames a Makefile Docker target, and downgrades an icon dependency in the UI package. Changes
Sequence Diagram(s)sequenceDiagram
rect rgba(200,220,255,0.5)
participant GH as GitHub Actions Runner
end
rect rgba(220,255,200,0.5)
participant Buildx as Docker Buildx
end
rect rgba(255,240,200,0.5)
participant Container as Test Container
end
rect rgba(255,220,220,0.5)
participant Health as HTTP Healthcheck (localhost:18080)
end
GH->>Buildx: invoke build for platform (linux/amd64 or linux/arm64)
Buildx->>GH: image produced (tagged)
GH->>Container: run container from image (platform-aware)
Container->>Health: start service and bind :18080
GH->>Health: curl /health (retries)
alt health OK
Health-->>GH: 200 OK
GH->>Container: stop & remove
GH->>Buildx: remove test image
GH-->>GH: success result
else health failed
Container-->>GH: logs
GH->>Container: stop & remove
GH->>Buildx: remove test image
GH-->>GH: fail result
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Comment |
🧪 Test Suite AvailableThis PR can be tested by a repository admin. |
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
Makefile (1)
257-261:⚠️ Potential issue | 🟠 MajorUpdate all references to the old
build-docker-imagetarget.The target was renamed to
docker-image, but three locations still reference the old name and will fail:
recipes/fly.mk:65–$(MAKE) build-docker-imagemust be updated to$(MAKE) docker-imagedocs/contributing/setting-up-repo.mdx:205– Update example commanddocs/contributing/setting-up-repo.mdx:335– Update example command
🤖 Fix all issues with AI agents
In @.github/workflows/scripts/test-docker-image.sh:
- Around line 52-68: The script currently stops and removes the container before
checking HEALTH_OK, so docker logs in the failure path will be empty; update the
logic around CONTAINER_NAME, HEALTH_OK, and IMAGE_TAG in test-docker-image.sh to
capture/container logs before removing the container (i.e., move or delay the
docker stop/docker rm cleanup until after the failure-path docker logs are
printed), or alternatively only perform container removal when HEALTH_OK
indicates success, and keep the image cleanup (docker rmi IMAGE_TAG)
appropriately gated so logs are available on failure.
1499ca5 to
78526a1
Compare

Summary
Added Docker image testing for both AMD64 and ARM64 architectures to the release pipeline, ensuring Docker images work correctly before release.
Changes
test-docker-image-amd64andtest-docker-image-arm64.github/workflows/scripts/test-docker-image.shthat builds and tests Docker imagesbuild-docker-imageMakefile target todocker-imagefor consistency@phosphor-icons/reactfrom 2.1.10 to 2.1.9 in UI dependenciesType of change
Affected areas
How to test
Test the Docker image build and run process:
Breaking changes
Security considerations
The Docker image tests run in isolated containers and perform basic health checks to verify functionality.
Checklist