[OBS-04] Delivery instability monitoring: deployment frequency vs stability trade-off
Labels: observability, devops, p2-important, effort-small
Assignee: 🤖 Copilot
Phase: Phase 7 — Observability
DORA 2025 Source: “AI adoption is linked to higher throughput AND higher instability”; “Deployment frequency and change failure rate do not need to be in trade-off in well-engineered organisations”
Effort: Small (< 1 day)
Prerequisites: OBS-01 (Sentry), DEVOPS-01 (CI), METRICS-02 (rework rate)
The DORA 2025 Finding That Requires This
The 2025 report contains two findings that appear to contradict each other — but actually define the target:
- “AI adoption is now linked to higher software delivery throughput” — deployments increase
- “However, ongoing challenge remains of ensuring software works as intended before it’s delivered” — stability can decrease
The resolution: “Evidence that throughput and stability do not need to be in trade-off in well-engineered organisations.”
The Goald target is to be in that category — deploying frequently AND maintaining stability. This issue creates the monitoring infrastructure to know, at any point, whether you’re achieving both or trading one for the other.
The Four Classic DORA Metrics (Applied to Goald)
| Metric |
Definition |
Goald Measurement Method |
Target |
| Deployment frequency |
How often code reaches users |
Count of expo publish (OTA) + EAS builds per week |
≥ 1/week once DEVOPS-03 is live |
| Lead time for changes |
Issue created → code in production |
GitHub issue created_at → OTA publish timestamp |
< 3 days |
| Change failure rate |
% of deploys causing user-visible failure |
Sentry spike events ÷ total deploys |
< 5% |
| Time to restore |
When a failure occurs, how fast is it fixed |
Time from Sentry alert to rollback/fix deploy |
< 2 hours |
Acceptance Criteria
Deployment Frequency Tracking
Lead Time Tracking
Change Failure Rate (extend METRICS-02)
Stability vs Throughput Dashboard
Files to Create / Change
docs/METRICS.md — add four DORA metrics with targets and measurement methods
scripts/weekly-metrics.sh — extend with DORA metrics
.github/workflows/ci-quality.yml — add deployment record write to Firestore on merge to main
src/services/deploymentService.ts (create — minimal, just writes deployment record)
- Update Sentry project: add release markers on each OTA publish
[OBS-04] Delivery instability monitoring: deployment frequency vs stability trade-off
Labels:
observability,devops,p2-important,effort-smallAssignee: 🤖 Copilot
Phase: Phase 7 — Observability
DORA 2025 Source: “AI adoption is linked to higher throughput AND higher instability”; “Deployment frequency and change failure rate do not need to be in trade-off in well-engineered organisations”
Effort: Small (< 1 day)
Prerequisites: OBS-01 (Sentry), DEVOPS-01 (CI), METRICS-02 (rework rate)
The DORA 2025 Finding That Requires This
The 2025 report contains two findings that appear to contradict each other — but actually define the target:
The resolution: “Evidence that throughput and stability do not need to be in trade-off in well-engineered organisations.”
The Goald target is to be in that category — deploying frequently AND maintaining stability. This issue creates the monitoring infrastructure to know, at any point, whether you’re achieving both or trading one for the other.
The Four Classic DORA Metrics (Applied to Goald)
expo publish(OTA) + EAS builds per weekAcceptance Criteria
Deployment Frequency Tracking
deployments:timestamp,channel(staging/production),triggeredBy(CI/manual),commitSha,releaseIdscripts/weekly-metrics.sh(from METRICS-02) updated to include deployment frequencyLead Time Tracking
Change Failure Rate (extend METRICS-02)
docs/METRICS.mdupdated with change failure rate target (< 5%) and calculation methodStability vs Throughput Dashboard
scripts/weekly-metrics.shupdated to output all four DORA metrics:This single-screen view is the “weekly 3-minute health check” for the project
Files to Create / Change
docs/METRICS.md— add four DORA metrics with targets and measurement methodsscripts/weekly-metrics.sh— extend with DORA metrics.github/workflows/ci-quality.yml— add deployment record write to Firestore on merge to mainsrc/services/deploymentService.ts(create — minimal, just writes deployment record)