session naming: archive- prefix convention + cc-ci-report unique-name invariant
- _archive_stale_titles default label is now 'archive-<title> —' (operator convention: all archived sessions start with archive- so they sort/filter together in the web UI). - launch-report.py start() archives older cc-ci-report sessions before launch, same invariant as upgrader/supervisor (reuses the launch-upgrader helper). - 33 sessions restyled/archived live; canonical names now unique: cc-ci-upgrader (idle finisher), cc-ci-report (generating), cc-ci-supervisor (none — only exists during a rescue).
This commit is contained in:
@@ -101,7 +101,7 @@ def spawn_supervisor(sid, reason):
|
||||
# Unique-name invariant (same as the upgrader): archive-rename every older session titled
|
||||
# SUP_SESSION so the one this launch creates is the ONLY 'cc-ci-supervisor' in the web UI.
|
||||
try:
|
||||
lu._archive_stale_titles(SUP_SESSION, "supervisor archive —")
|
||||
lu._archive_stale_titles(SUP_SESSION)
|
||||
except Exception:
|
||||
pass
|
||||
kf = Path(LOG_DIR) / f".kickoff-{SUP_SESSION}.txt"
|
||||
|
||||
Reference in New Issue
Block a user