Manage Actions and workflows across CLI, TUI, and iOS #63
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Make Gitea Actions and workflows first-class across every Gotcha interface. Users must be able to list workflows, dispatch a workflow, follow run and job progress, and read logs from the CLI, TUI, and iPhone app.
Implementation plan
crates/giteathe single source for repository-scoped workflow, run, job, dispatch, and log behavior. Provide validated, paged shared contracts for workflow listing, dispatch references andworkflow_dispatchinputs, run listing/details, job/step status, and per-job logs. Frontends must not import generated API modules, reproduce status logic, or use the low-level API escape hatch.gotcha action workflow list|dispatchandgotcha action run list|show|logscommands on the shared contracts. Add dispatch inputs and pagination/filtering needed for parity, with stable terminal output and actionable errors.crates/app; Swift remains presentation-only. Add native repository selection, Workflows/Runs navigation, dispatch form, live run/job progress, refresh/pagination, and readable job logs with accessibility and Dynamic Type support.Acceptance criteria
gotcha_gitea, including dispatch inputs, progress, jobs, and logs.TESTING.md, run all repository gates, and validate the iPhone flows in Simulator only.manage actions and workflowsto Manage Actions and workflows across CLI, TUI, and iOSImplemented in commit
59bcddf.TESTING.md.Verification:
cargo fmt --all -- --checkRUSTFLAGS="-D warnings" cargo check --workspace --all-targetscargo clippy --workspace --all-targets -- -D warningscargo test --workspace(24 app, 6 CLI, 15 TUI, and 23 Gitea tests passed)Follow-up correction in
ac6de7d:Verification:
cargo fmt --all -- --checkRUSTFLAGS="-D warnings" cargo check --workspace --all-targetscargo clippy --workspace --all-targets -- -D warningscargo test --workspace