refactor: establish modular directory structure for seqerakit#250
Open
edmundmiller wants to merge 2 commits intomainfrom
Open
refactor: establish modular directory structure for seqerakit#250edmundmiller wants to merge 2 commits intomainfrom
edmundmiller wants to merge 2 commits intomainfrom
Conversation
edmundmiller
added a commit
that referenced
this pull request
Nov 20, 2025
Create foundational architecture to support one-file-per-command pattern by organizing code into logical modules. This is the first step in a stacked PR series to improve code maintainability and AI-assisted development. Changes: - Create new directory structure: commands/, resources/, core/, utils/ - Move core modules to core/ package: - seqeraplatform.py → core/seqeraplatform.py - overwrite.py → core/overwrite.py - on_exists.py → core/on_exists.py - Extract YAML utilities to utils/yaml_utils.py: - load_and_merge_yaml_files() - filter_blocks_by_targets() - get_resource_order() - Move general utilities to utils/helpers.py - Add backward compatibility imports in original locations This refactoring maintains 100% backward compatibility while laying the groundwork for subsequent PRs that will extract resource-specific parsers and handlers into individual modules. Test Plan: - All 111 unit tests pass - No breaking changes to public API - Backward compatibility maintained through import shims 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Pull Request: #250 Test Plan: - All 111 unit tests pass - No breaking changes to existing functionality - Verified backward compatibility with re-export shims
e557671 to
f87ab87
Compare
2e80632 to
58f3a80
Compare
Create foundational architecture to support one-file-per-command pattern by organizing code into logical modules. This is the first step in a stacked PR series to improve code maintainability and AI-assisted development. Changes: - Create new directory structure: commands/, resources/, core/, utils/ - Move core modules to core/ package: - seqeraplatform.py → core/seqeraplatform.py - overwrite.py → core/overwrite.py - on_exists.py → core/on_exists.py - Extract YAML utilities to utils/yaml_utils.py: - load_and_merge_yaml_files() - filter_blocks_by_targets() - get_resource_order() - Move general utilities to utils/helpers.py - Add backward compatibility imports in original locations This refactoring maintains 100% backward compatibility while laying the groundwork for subsequent PRs that will extract resource-specific parsers and handlers into individual modules. Test Plan: - All 111 unit tests pass - No breaking changes to public API - Backward compatibility maintained through import shims 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Pull Request: #250
58f3a80 to
71e66ce
Compare
f87ab87 to
930bf5b
Compare
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.
refactor: establish modular directory structure for seqerakit
Create foundational architecture to support one-file-per-command pattern
by organizing code into logical modules. This is the first step in a
stacked PR series to improve code maintainability and AI-assisted
development.
Changes:
This refactoring maintains 100% backward compatibility while laying the
groundwork for subsequent PRs that will extract resource-specific parsers
and handlers into individual modules.
Test Plan:
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com
Pull Request: #250