Inspiration
I started with a simple question: What happens when a release passes its technical checks but still lets a customer down?
A server can be healthy, an API can return success, and a checkout can complete—while the customer pays more than the price they were shown.
That gap inspired ReleaseGuard: a DevSecOps project focused on checking the promises software makes to its users and helping developers turn failures into verified repairs.
The problem
Most release checks tell us whether individual parts of an application work. They do not always tell us whether the complete experience delivers the expected business outcome.
Our demo makes this easy to see. A customer adds a notebook, applies WELCOME10, and receives a quote of $16.20. The order succeeds, but its confirmation shows $18.00.
The server remains healthy, and the original checkout checks still pass. Yet the customer’s price promise has been broken:
$$ \text{Confirmed total} - \text{Quoted total} = \$18.00 - \$16.20 = \$1.80 $$
I wanted the release process to catch that difference and give a developer clear evidence for deciding what to do next.
What I built
ReleaseGuard connects customer-facing checks, AI-assisted investigation and repair, independent verification, and human review.
The demonstration follows a complete story:
- Reproduce the wrong-price checkout.
- Investigate the failure using its source version and execution evidence.
- Prepare a focused repair and a new regression test.
- Prove that the same test fails before the repair and passes afterward.
- Open a draft merge request for independent CI checks and human review.
The dashboard presents the original and repaired outcomes together, making the result understandable without needing to read the implementation first.
How I built it
I built a small commerce application with Node.js, executable customer contracts, and Playwright browser tests. I packaged the application with Docker and deployed separate baseline, failing-candidate, and repaired previews on Google Cloud Run.
I used GitLab Duo to support investigation, repair, and review. I separated those responsibilities and defined their instructions, selected tools, and handoff conditions in the flow configuration.
The investigation produces evidence files. The repair adds an application change, a regression test, and a replay manifest. Verification then runs the identical new test against committed snapshots of both source versions.
GitLab CI/CD checks the repair independently and retains the proof artifacts. The result remains a draft merge request, with approval and release decisions left to a human.
Challenges I faced
One challenge was defining what “working” actually meant. Availability checks and successful responses were useful, but the price mismatch required a specific customer contract.
Another challenge was establishing whether a new regression test could detect the original defect. I built the proof around an observable requirement: it must fail on the original price assertion and pass on the repair. Crashes, skipped tests, and unrelated failures cannot count as successful reproduction.
I also needed to preserve the integrity of verification. The repair must keep the existing contract, tests, and verification code unchanged. That makes the evidence useful for reviewing the application change.
Finally, presenting the project clearly took several iterations. Showing the real checkout problem, the recorded repair workflow, and the corrected result before explaining the architecture made the purpose much easier to understand.
What I learned
I learned that release confidence depends on connecting technical checks to business outcomes.
I also learned that AI assistance becomes more useful when the task, available tools, expected evidence, and stopping conditions are explicit. A proposed fix becomes easier to assess when it comes with reproducible evidence and a focused diff.
In the verified run, the repair passed 13 proof gates, 28 unit/API tests, and 16 browser checks.
What comes next
The current implementation protects checkout promises. I would like to extend the same approach to other business rules, such as duplicate billing, permissions, and data-processing accuracy, with appropriate contracts and test environments for each case.
The goal is straightforward: help developers ship changes that keep their promises to users
Built With
- gitlab
- gitlab-agents
- google-cloud
- node.js