mirror of
https://github.com/imjasonh/krust
synced 2026-07-08 14:55:35 +00:00
This commit eliminates test flakiness by building to unique temporary directories and updates the README to reflect all changes in this branch. Code changes: - Modified RustBuilder to use tempfile::tempdir() for each build - Added BuildResult struct to keep temp directory alive during image build - Each build now gets its own isolated target directory - Removed clean_example_dir() and all cleanup logic - no longer needed - Tests can now run concurrently without interfering with each other Documentation updates: - Added "Isolated builds" and "Concurrent builds" to key features - Added comprehensive "Build Process" section explaining the temp directory approach - Updated multi-arch documentation to reflect default behavior (builds both platforms) - Added "Multi-Architecture Images" section explaining how multi-arch works - Documented that manifest list support is planned for future release Benefits: - No more "Built binary not found" errors - Tests run reliably every time - Concurrent test execution is now safe - Simpler test code without cleanup logic - Clear documentation of build isolation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| workflows | ||