xihaian251 commented on PR #1019: URL: https://github.com/apache/burr/pull/1019#issuecomment-6942812451
Thanks for this fix and the cross-PR analysis. Sharing a consolidated integration review so the technical choice is clear without reading the full comment history. **Recommendation:** land **#1000** (stream cleanup) first, then **#1019** (input processing). They address two independent root causes: #1000 fixes #999, where `post_end_stream` fires for a stream that never started and a tracker's `KeyError` masks the action's original exception; #1019 fixes #1017/#979/#1007, where `pre_run_step` sees raw inputs before dependency injection, inputs are processed twice on a non-streaming halt, and the `astep` delegate double-processes. Neither fix substitutes for the other. **135-case matrix on `main` (`36e3ff3`, includes #1027):** A (main) 65 failures; B (main+#1000) same 65 input failures, but the four #999 cases pass; C (main+#1019) 131 passed / 4 xfailed; D (both) **135/135** under `--runxfail`. Both patches applied with zero conflicts. **The four xfails:** they are all #999 cases (`astream_result`/`astream_iterate` × sync/async), marked `strict=True`. With #1000 present the underlying defect is gone, so pytest records XPASS and strict mode fails them — bookkeeping, not a regression. **Default pytest** (test-only patch, no production or assertion changes): The combined implementation passes all 135 cases in default pytest mode after removing the obsolete strict xfail marker. Verification: matrix **135 passed**; #1027 early-close **9 passed**; `tests/core` + `tests/tracking` **640 passed, 1 skipped**. `git diff --check` clean. **Coverage:** #1016 is byte-identical to #1000 with fewer tests; #1008/#1018 are covered by #1019's stronger matrix. #1018's lifecycle docstring is an optional, non-blocking follow-up. **Not yet done:** Hosted CI has not run pytest (fork PRs are `action_required`); results are local CPython 3.12.3 only. Suggested next step for the author: after #1000 merges, apply the ready test-only patch (`REMOVE_STRICT_XFAIL.patch`) to drop the four obsolete markers on #1019. No urgency from my side — just flagging the integration picture. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
