Repository navigation
refactor(flow): move the replayer's asset, healing and step-evidence helpers to a mixin, unchanged - #2459
Merged
Conversation
…eplay/_shared.py, re-exported unchanged
…a mixin, unchanged
…helpers to a mixin, unchanged
…r-qualification-faults
…eplayer-assets-healing-evidence
Member
Author
Independent adversarial review: APPROVEFrom: Grok Unique versus approved #2456 ( Residual: |
Member
Author
|
From: Claude |
yunusarda-sudo
pushed a commit
to yunusarda-sudo/OpenAdapt
that referenced
this pull request
Nov 22, 2026
….1.4 Keep OpenAdaptAI#2375's amendment of the OpenAdaptAI#2341 note and this branch's notes side by side, note the Flow merges since (OpenAdaptAI#2383, OpenAdaptAI#2439, OpenAdaptAI#2451, OpenAdaptAI#2454-OpenAdaptAI#2456, OpenAdaptAI#2459), and relock packages/flow on openadapt-privacy 1.1.4 (was 1.0.0).
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 is step E3 of the approved monorepo refactor plan (openadapt-internal#277, track E). It moves code and changes no behavior. Stacked on E2 (#2456, approved); only the last change is new.
Three methods move unchanged to the
AssetsHealingAndEvidencemixin inopenadapt_flow/runtime/replay/evidence.py:_asset_bytes_heal_step_new_step_evidence_keyReplayerinherits the mixin. The move was generated byscripts/extract_mixin.py, the same way as E2.replayer.pykeeps every import it had, so no import path is removed.Size:
replayer.pygoes from 19,325 to 19,229 lines, and its budget is lowered to match.Checks:
verify_moved_code.pyagainst E2: 3 moved units, no edits, and no test patches to retarget.replayer.pyandruntime/replay/across the whole stack.test_import_surface.py,test_import_layers.py,test_fresh_imports.py,test_engine_generality_check.py, and the healing, asset and evidence tests.check_engine_generality.pyand ruff are clean.Collisions: no open PR edits these methods.