Process smartstack frames in AWS banzai (e45 --> e91) - #485
Merged
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The routing, stage selection, naming behavior, documentation, and version metadata are consistent and adequately tested.
Pull request overview
Enables central BANZAI to accept Smartstack e45 frames and produce e91 archive products.
Changes:
- Routes configured reduction levels to a specific starting pipeline stage.
- Updates output naming and adds routing/stage-selection tests.
- Documents the workflow and bumps the release to 1.38.2.
File summaries
| File | Description |
|---|---|
banzai/settings.py |
Maps e45 inputs to SourceDetector. |
banzai/utils/stage_utils.py |
Supports starting midway through the pipeline. |
banzai/utils/realtime_utils.py |
Accepts configured nonzero reduction levels. |
banzai/lco.py |
Rewrites terminal reduction-level digits safely. |
banzai/tests/test_stage_utils.py |
Tests stage selection and execution. |
banzai/tests/test_need_to_process_image.py |
Tests archive routing by reduction level. |
banzai/tests/test_frames.py |
Tests e45 to e91 filenames. |
docs/smartstacking_architecture.md |
Documents central tail reduction. |
CHANGES.md |
Records the 1.38.2 feature. |
pyproject.toml |
Bumps the package version. |
uv.lock |
Synchronizes the locked project version. |
Review details
- Files reviewed: 10/11 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change configures banzai to process the smartstack fits files (e45) that are sent to the archive, producing a final e91 as output.
To recap the current smartstack process:
The stages run on the e45 frame are:
This PR also includes a version bump from 1.38.1 to 1.38.2.