Skip to content

Resume, trigger cli, until unpaused, generated vocabulary tables (#378) - #534

Merged
winding-lines merged 2 commits into
mainfrom
names-378
Nov 17, 2026
Merged

winding-lines merged 2 commits into
mainfrom
names-378

Conversation

@winding-lines

Copy link
Copy Markdown
Contributor

Closes #378.

  • Resume: the runs row's and run header's Retry is Resume, the bulk bar's Retry failed is Resume failed. POST /runs/bulk takes do=resume; do=retry is kept as its alias (answers did=resume), and an old ?did=retry link still shows its notice.
  • Trigger cli: morca start records cli, whether it posts with an API token or JSON (--remote) or runs in-process over the database; the site's "Start one run over the whole range" stays ui. Call.source is now cli for a JSON action too (the site's forms never post JSON). cli is in RUN_TRIGGERS, so ?trigger=cli and ?trigger=ui tell the two apart. Stored ui rows are left as they are; no migration.
  • Help texts: backfill and ui say what sets them, cli has its own, and paused reads "until unpaused".
  • Generated docs: RUN_STATUSES, STEP_STATUSES and RUN_TRIGGERS live in morca._internal.ui.terms (moved from ui/runs.mojo), and vocabulary_markdown() renders the three tables into docs/ui.md between markers. pixi run docs-vocabulary writes them; the new test-terms (scheduler-ui shard) fails when the doc differs, and checks every listed value has help. No generator existed before.
  • No retrying status: the cancel help (CLI usage, the Cancel button's title, the API table, README) now says "queued, deferred and running runs, and failed ones due a retry".
  • The rerun part (orca rerun <run> [--from STEP]: rerun one run from a step without the UI form #137) is not in this PR.

Tests: test-terms, test-remote (start's run is cli, over --remote and locally; the trigger filter tells them apart), test-actions, test-ui (Resume labels, do=resume, the do=retry alias) pass locally under -e ouromo. Registry hashes untouched (no pipeline changes).

🤖 Generated with Claude Code

https://claude.ai/code/session_017TycszSbyw92Efu4ZeCYL6

winding-lines and others added 2 commits November 16, 2026 23:58
- UI: Retry and Retry failed are Resume and Resume failed; POST /runs/bulk
  takes do=resume, and do=retry (and an old did=retry link) as its alias.
- morca start records trigger cli (an API token, a JSON action, or the
  in-process command); the site's Start one run stays ui. cli is in the
  runs filter and has help; the backfill and ui help say what sets them.
- paused: "until unpaused".
- docs/ui.md's run-status, step-status and trigger tables are generated
  from morca._internal.ui.terms (pixi run docs-vocabulary), and test-terms
  fails when they differ. The nonexistent "retrying" status is gone from
  the cancel help and docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017TycszSbyw92Efu4ZeCYL6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017TycszSbyw92Efu4ZeCYL6
@winding-lines
winding-lines merged commit 2d53c8e into main Nov 17, 2026
35 checks passed
@winding-lines
winding-lines deleted the names-378 branch November 17, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resume, retry and rerun, and the triggers behind Start, are used inconsistently across CLI, UI and API

1 participant