[review-stack 10/10] assets-tests - #16218
Open
synap5e wants to merge 2 commits into
Open
Conversation
…-system health at teardown
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
synap5e
marked this pull request as ready for review
September 10, 2026 04:23
synap5e
requested review from
Kosinkadink,
alexisrolland,
comfyanonymous,
guill,
kijai and
rattus128
as code owners
September 10, 2026 04:23
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Two test gaps closed, both raised in the 2026-09-08 review: the execution battery never ran with assets enabled, and list-shaped node outputs had no unit coverage.
No production changes; this layer is entirely tests.
Assets-enabled battery coverage. The execution suite boots a server per cache mode and drives real prompts over HTTP — but never with
--enable-assets, so the whole asset path had no end-to-end coverage. A fourth server param now runs the same 52 tests with assets on, against an isolated database. At teardown it asserts the asset system is actually healthy: the scan settles without errors, the database and the output directory agree in both directions, and no exception-path log line was emitted.The reconcile builds its disk set from the scanner's own enumeration and admission filters rather than a fresh walk — a looser one reports every partial download as a missing registration, a stricter one hides real misses. I checked both halves of the teardown check can fail: planting a file the API doesn't know about trips the reconcile, and an injected error line trips the log scan.
List-shaped output coverage. A node that executes N times from a list input emits N declared entries in one call. Four cases pinned: N entries register N assets under one job; mixed output/temp entries resolve against their own roots; repeated executions accumulate distinct paths without superseding each other; an empty entry list is a no-op. Each test was checked against a broken version of what it covers. The mixed-type one needs its own fixture with separate roots — the existing one points every type at the same directory, where broken per-type resolution still passes.
Suite: 1355 passed, 1 skipped. Ruff clean. 2 files, +448/−1.
tests/execution/test_execution.pytests-unit/execution_test/test_enrich_output.pyStacked on #16081. Draft until the layers below land.