iris
dbd4b7a15c
fix(schedules): use typed error for pause/resume 404 discrimination
...
Replace brittle msg.contains("not found") string matching in
post_schedule_pause / post_schedule_resume with a typed
ScheduleNotFoundOrCancelled error that handlers downcast on directly.
pause() and resume() now return Err(ScheduleNotFoundOrCancelled(id).into())
instead of bail!("schedule {id} not found or is cancelled"); handlers call
e.downcast_ref::<ScheduleNotFoundOrCancelled>().is_some() for the 404 branch,
making the discrimination stable even if the error message wording changes.
2026-06-27 20:01:16 +02:00
..
approvals.rs
dashboard: return problem details directly from client-error handlers
2026-06-22 16:04:22 +02:00
build_logs.rs
refactor( #1456 ): extract dashboard build-log endpoints into dashboard/build_logs.rs
2026-06-09 00:12:15 +02:00
journal.rs
dashboard: return problem details directly from client-error handlers
2026-06-22 16:04:22 +02:00
lifecycle_ops.rs
refactor( #1865 ): consolidate agent + manager socket servers into one
2026-06-22 13:58:52 +02:00
matrix_accounts.rs
feat( #2035 ): auto-discover dashboard-provisioned matrix accounts via token+homeserver sidecar
2026-06-27 00:30:04 +02:00
permissions.rs
fix(permissions): propagate I/O errors as 500 from delete_agent_permissions
2026-06-27 13:44:11 +02:00
questions.rs
dashboard: return problem details directly from client-error handlers
2026-06-22 16:04:22 +02:00
reminders.rs
dashboard: return problem details directly from client-error handlers
2026-06-22 16:04:22 +02:00
schedules.rs
fix(schedules): use typed error for pause/resume 404 discrimination
2026-06-27 20:01:16 +02:00
state_files.rs
refactor( #1456 ): extract dashboard state-file proxy + path-validation into dashboard/state_files.rs
2026-06-09 00:12:15 +02:00
topology.rs
dashboard: return problem details directly from client-error handlers
2026-06-22 16:04:22 +02:00
webhook.rs
refactor( #1456 ): extract knowledge push-webhook endpoint into dashboard/webhook.rs
2026-06-09 00:12:15 +02:00