Repository navigation
fix(workflows): log failures to record a failed schema apply (1/10) - #1360
Conversation
Maple review🟢 Confidence 8/10 · likely safe to merge A behavior-preserving sweep:
Production impactOpen errors in the changed files
After this merges, Maple checks whether they stop. What was checked
Observability coverage: 1 of 1 changes observable
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to The failure-path updates remain best-effort, with added logging. No issue requiring a fix before merge is established. Pre-merge checks |
|
…of dropping them markFailed best-effort writes swallowed their own failures silently, which is the path that leaves a run stuck as queued.
0352cbc to
802d6f8
Compare
Maple review🟢 Confidence 9/10 · safe to merge The two best-effort writes in the schema-apply workflow's
What was checked
Observability coverage: 1 of 1 changes observable
|
Part 1 of a backend consistency sweep (stack of 10). Each PR targets the one below it.
Rebuilt on top of #1353 (Postgres on effect-orm). The original msToDate/dateToMs sweep is obsolete now that timestamps are epoch ms natively, and its other small fixes moved to the layers that own them (org scoping in #1366, McpDecodeError in #1368, anomaly query contexts in #1363).
Changes
markFailedlogs failures to record a failed run instead of dropping them silently. That silent path is what leaves a run stuck as "queued".Verification
apps/api typecheck clean;
ClickHouseSchemaApplyWorkflow.run.test.tspasses.Summary by CodeRabbit