Skip to content

Conversation

@afuno
Copy link
Member

@afuno afuno commented Jan 6, 2026

No description provided.

afuno added 3 commits January 6, 2026 17:01
- Introduced detailed examples: `Example14`, `Example15`, and `Example16` showcasing `stage`, `wrap_in`, `rollback`, and conditional logic usage.
- Added associated RSpec tests to ensure example reliability.
- Improved DSL functionality by refining `make` and `stage` logic.
  - Ensured actions are correctly added within or outside stage blocks.
  - Enhanced conditional check handling with `should_skip?`.
  - Added better rollback handling with `call_actions_with_rollback`.
- Updated `Collection` API to include `size` and `empty?` delegation.
- Added detailed inline documentation for `Collection` and `Runner` classes, explaining their purpose, usage, and integration.
- Updated `Collection` API with full documentation for delegated methods and the `sorted_by_position` method.
- Enhanced `Runner` with extensive comments on action/condition handling, rollbacks, and exception handling logic.
- Refined method names for clarity:
  - `unnecessary_for_stage?` -> `should_skip?`
  - `unnecessary_for_make?` -> removed (revised logic).
  - `prepare_condition_for` -> `condition_met?`.
- Updated corresponding `.rbs` signatures to match new API changes and method documentation.
- Enhanced inline documentation for the `Runner` class to specify that the context includes `inputs`, `internals`, and `outputs`.
@afuno afuno added this to the v3.0.0 milestone Jan 6, 2026
@afuno afuno self-assigned this Jan 6, 2026
@afuno afuno added the feature label Jan 6, 2026
- Add inline Rubocop disable for Naming/MethodParameterName
- Keep short parameter name `_e` for unused exception
@afuno afuno marked this pull request as ready for review January 6, 2026 11:10
@afuno afuno merged commit 9e35e09 into main Jan 6, 2026
37 checks passed
@afuno afuno deleted the feature/SRV-385/stage branch January 6, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants