Three problems found in review of #139273:
- A failed fire's output doc listed both attempts as candidates, so
reconciliation dropped it against the earlier attempt's session while
_list_cron_output_runs had already suppressed the later attempt's own
row: the failed fire vanished from history. A doc now pairs only with
the session of its likeliest writer, the newest candidate it already
stands in for.
- Desktop skipped the pre-send write gate once an opened local-* run
left the cached sidebar page, even though a verdict was recorded when
it was opened. cronRunWriteGateApplies() now covers both, and submit
uses it, so a run whose scheduler died since is still gated.
- test_unified_run_is_one_owned_session_row_and_detail_agrees failed
outside TZ=UTC: conftest sets TZ in the environment without tzset, so
the output writer and the reader resolved different zones. The fixture
now pins the configured zone for both.
Refs #134889 (CRON-1)
Refs #139162
Refs #138812