feat: add SRE production incident response demo - #177
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
feat: add SRE production incident response demo#177devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
demos/observability-sre/incident-response-demo.md— the first demo in the catalog where Devin operates against a running system and reacts to a production signal rather than to a human typing. Closes the SRE / on-call job-function gap (demos/previously covered only data engineering, security, migration, and app development).Anchor repo is
otterworks, and the thread runs on wiring that already exists on itsmainrather than on invented paths:The technical spine is a genuine cross-language root cause, not a staged one. The symptom is a Kotlin deserialization failure in
SqsConsumer.parseMessage; the payload that breaks it is emitted by the RubyChaosProbeServicewith an integer epochtimestampwhereSqsNotificationMessage.timestampis aString, and the same investigation surfaces a second latent drift where the RustFileEventinservices/file-service/src/events.rsemitsfolderId/name/mimeType/sizeBytesthat the Kotlin model never declares — tolerated only because the normal parser setsignoreUnknownKeys = true.search-service's Python_normalize_eventalready branches over both payload shapes, which is the corroborating evidence that the contract has drifted.Parts 1–8: alert fires and the session opens itself → reproduce on the local stack (
make infra-up,make up seed=1) → cross-boundary root cause → child-session fan-out producingdocs/EVENT_CONTRACTS.md→ fix PR with regression tests inSqsConsumerTest.ktand a serialization assertion inevents.rs(gate:./gradlew test+cargo test) → Devin Review on a human's producer-side PR and the loop closing on Devin's own PR → postmortem → repo-scoped Knowledge note. Artifacts the repo does not have yet (docs/postmortems/,docs/EVENT_CONTRACTS.md) are created by the demo; the runbook step completes the real unfinishedResolution Steps/Post-Incidentsections ofdocs/runbooks/notification-processing-failure.md.Includes a "What Still Needs a Human" section that is explicit about production access boundaries (Devin reads signals and writes code/docs; mitigation, merge, deploy, severity classification, and comms stay human).
Index updates so counts stay accurate:
catalog/field-kit-offerings.md: demos11 (3 categories)→15 (5 categories), and the prose category list now includes application-development and observability-sre. Count excludes supporting material (demos/security/general*.md,demos/migration/scenarios/).catalog/repos.md: otterworksChallengesrow links the new demo.No
labs/**/README.mdcurrently links intodemos/, so no link was added there rather than inventing a convention.Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/ee92439833c34689960da75205836f64