

# --- WINDOW 5 at 69438c01 (the merged tip) -------------------------------
# UNFILTERED on purpose. The stock `spt-daemon-lib-run` selects 21 exact
# names via test(=...), and doyle's END for this window asks two questions a
# filtered run CANNOT answer:
#   1. index_escapes_html_encodes_urls_and_reports_real_source_paths must be
#      shown ABSENT FROM THE TREE. It is not in the 21-term list, so under the
#      filter its absence is over-determined - not selected and not present
#      read identically, and "absent" would be a claim the run never made.
#   2. the six LEAKY cases from todlando's run (brainproc x4, broker, livehost)
#      are not in the list either, so whether they leak here is unaskable.
# The filter is also exact-match, so a cell this lane RENAMED drops out of
# selection silently - which is how index_escapes left the selected set in the
# first place. Same class as the 9f09db4e note above: a case the admitted
# subset does not name is inventory, not coverage.
# --success-output immediate is doyle's instruction and my own need: P3 is
# about the VALUE of a Location header, and nextest prints a passing case's
# output nowhere.
def nextest_full(label, scope, deadline, profile="ci-windows"):
    argv = ["cargo", "nextest", "run"] + scope + [
        "--locked", "--build-jobs", "2", "--profile", profile,
        "--no-fail-fast", "--success-output", "immediate",
    ]
    return L.run(label, argv, TREE, deadline)


PRODUCERS["w5-lib-full"] = lambda: nextest_full(
    "w5-lib-full", ["-p", "spt-daemon", "--lib"], 420)
# One #[test] in the whole file, so unfiltered == the population and no filter
# can mismatch the name.
PRODUCERS["w5-cross-node"] = lambda: nextest_full(
    "w5-cross-node", ["-p", "spt", "--test", "webserve_cross_node_e2e"], 420,
    profile="default")
