fix(bug-workflow): preserve RCA revision context - #235
Merged
eshulman2 merged 1 commit intoJul 30, 2026
Conversation
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.
Summary
This addresses the failure pattern observed in OSPRH-32382, where requested multipart-response options disappeared after reflection and the reviewer repeatedly rejected an incomplete view of the RCA.
Validation
platform linux -- Python 3.14.6, pytest-9.0.2, pluggy-1.6.0
codspeed: 4.3.0 (disabled, mode: walltime, callgraph: enabled, timer_resolution: 1.0ns)
benchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /home/eshulman/git/forge
configfile: pyproject.toml
plugins: anyio-4.13.0, asyncio-1.3.0, benchmark-5.2.3, codspeed-4.3.0, recording-0.13.4, socket-0.7.0, syrupy-5.1.0, langsmith-0.7.25, respx-0.22.0, cov-7.1.0, Faker-40.12.0
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
collected 287 items
tests/unit/workflow/bug/test_graph.py .................................. [ 11%]
........................................... [ 26%]
tests/unit/workflow/bug/test_workflow.py ................ [ 32%]
tests/flows/bug_workflow/test_complete_bug_flow.py ..................... [ 39%]
........................................................................ [ 64%]
............... [ 70%]
tests/unit/workflow/nodes/test_rca_analysis.py ....................... [ 78%]
tests/unit/workflow/nodes/test_rca_option_gate.py .................... [ 85%]
tests/unit/models/test_bug_state.py ................. [ 90%]
tests/unit/prompts/test_prompt_templates.py .......................... [100%]
=============================== warnings summary ===============================
.venv/lib64/python3.14/site-packages/langchain_core/_api/deprecation.py:25
/home/eshulman/git/forge/.venv/lib64/python3.14/site-packages/langchain_core/_api/deprecation.py:25: UserWarning: Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater.
from pydantic.v1.fields import FieldInfo as FieldInfoV1
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 287 passed, 1 warning in 4.33s ======================== (287 passed)