xihaian251 commented on PR #1008:
URL: https://github.com/apache/burr/pull/1008#issuecomment-6557396392

   Updating this PR to current `main` and asking for one small thing: workflow 
approval.
   
   **CI here is gated, not failing.** On head `902c27de` both substantive 
workflows are `action_required` with 0 jobs — they have never executed:
   
   - **Build Burr** — 
[`41300255322`](https://github.com/apache/burr/actions/runs/41300255322)
   - **Release Validation** — 
[`41300255145`](https://github.com/apache/burr/actions/runs/41300255145)
   
   Could a maintainer approve those two runs? Only `Auto-label` (a 
`pull_request_target` workflow) has run so far.
   
   **Why the branch just moved.** The previous head was based on `6741dac2`, 
whose CI matrix still scheduled Python 3.9, which `setup-python` cannot install 
now that `ubuntu-latest` is 26.04. That is not hypothetical: on `6741dac2`, 
Build Burr run 
[`40639768734`](https://github.com/apache/burr/actions/runs/40639768734) fails 
on **exactly** the four `(3.9)` jobs and passes every `3.10` / `3.11` / `3.12` 
job. So approving the runs on the old head would have produced red for a reason 
unrelated to this change. I merged `main` in (`200ab860` + `222b32c3`) as a 
**normal merge** — `4479bbbd` is preserved as-is, no rebase, no force-push, and 
no new content: the diff against `main` is still `burr/core/application.py` 
+8/−2 plus the 76-line test, byte-identical to the patch originally submitted.
   
   **The `documentation` `startup_failure` is pre-existing and repo-wide** — 
please don't read it as a signal about this PR. Run 
[`41300256236`](https://github.com/apache/burr/actions/runs/41300256236) fails 
again with 0 jobs, as it does for every branch and for pushes to `main` too. Of 
that workflow's 917 retained runs, the last **684** are all `startup_failure` 
(523 `pull_request` + 161 `push` on `main`), from 2026-03-21 to today; the last 
run that was not `startup_failure` was a **success on `main` at `9da8f294`, 
2026-03-19**. `docs.yml` is byte-identical (`573046ac`) between that success 
and the first failing run, so no edit to the file caused it; all four 
referenced actions resolve; this PR touches nothing under `.github/`; and 
`Build Sphinx Documentation` passes on `main`, so docs building itself is 
healthy. GitHub exposes no reason for a `startup_failure` (0 jobs, `/logs` 
unavailable), so this needs the Actions UI or runner-side logs. I would rather 
open a separate infra iss
 ue for it than fold it into this PR — say the word.
   
   **Re-verified on the merged head against current `main` `222b32c3`** (Python 
3.13.1; pytest 9.2.0 / pytest-asyncio 1.4.1, then again with pytest 9.1.1 / 
1.4.0 — same result both times):
   
   - the regression test fails **2/2** on `main` (`assert 2 == 1` for both 
entry points) and passes **2/2** here;
   - `tests/core`: `main` = 9 failed / 425 passed → this branch = 9 failed / 
427 passed, and the two failure **sets are identical** — all 9 are 
`test_graphviz_display.py` on this machine only (no graphviz binary; CI 
installs the system dependency). Nothing else changes state;
   - a 15-scenario probe (wrapping `_process_inputs`, recording the four 
lifecycle hooks, capturing log records) confirms the dependency is now 
constructed exactly once on the non-streaming path for `stream_result`, 
`astream_result`, `stream_iterate` and `astream_iterate`, sync and async, while 
streaming event order (`pre_run_step → process_inputs → pre_start_stream → 
stream_run → post_run_step → post_end_stream`), all four hook counts, and 
exception types **and** complete messages in 6 error cases are unchanged;
   - `black` / `isort` / `flake8` pass with the repo's own pre-commit pins 
(23.11.0 / 5.12.0 / 6.1.0) and args; `git diff --check` is clean;
   - it composes with the sibling work: cherry-picking `4479bbbd` onto 
`7a58bba5` (#995) and `e323c836` (#1000) applies cleanly, the test passes 2/2 
on both, and each branch's suite gains exactly its own 2 tests. The duplicate 
processing is still present on both of those heads, so this PR isn't superseded 
by either.
   
   Two things I want to flag rather than have you find them:
   
   1. **One disclosed behaviour nuance.** An input-processing `ValueError` 
raised through `astream_result()` now emits one extra `astep()` `ERROR` log 
line, because the error surfaces from inside `_astep()`'s `try` instead of from 
`stream_result()`'s own `_process_inputs()`. Exception type, message and hook 
sequence are unchanged; synchronous paths are unaffected; and on top of #995 
the extra line does not appear at all.
   2. **The test reaches into a private attribute.** Counting the constructions 
requires replacing `app._dependency_factory["__context"]` — 
`ApplicationBuilder` has no public way to install a dependency factory, and no 
other test in `tests/` uses that mapping. The behaviour under test (`__context` 
injection, and halting on a non-streaming action) is documented and public, but 
the *measurement handle* is not, so the test could break on a rename even 
though the fix stays correct. If you would prefer a different observable, I 
will happily change it.
   
   The PR description has been refreshed to the current baseline, so the 
numbers above are reproducible from `main` as it stands now. Thanks for your 
time — and apologies for the notification noise.
   


-- 
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]

Reply via email to