Repository navigation
feat: incident refs (#42), Telegram incident commands, first-failure snapshots and TLS edge chaining - #217
Merged
Conversation
…check detail page
…differently on the chart and the Recent Results filter
…ifferently on the chart and the Recent Results filter
…n-SNI/Host connections to a second server over PROXY protocol v2
…d unknown-SNI/Host connections to a second server over PROXY protocol v2
…known-SNI/Host connections to a second server over PROXY protocol v2
…known-SNI/Host connections to a second server over PROXY protocol v2
…nown-SNI/Host connections to a second server over PROXY protocol v2
…napshot the first failing result
…them — snapshot the first failing result
… dash0 E2E coverage
… — snapshot the first failing result
… — snapshot the first failing result
…— snapshot the first failing result
…st, ack (button-first), detail
…atus, list, ack (button-first), detail
…nline-keyboard/callback support to the Telegram client
…0 scratch migration
…, list, ack (button-first), detail
…, list, ack (button-first), detail
… list, ack (button-first), detail
012 is the next free scratch number after the consolidated 011_v0_14_0, per wiki/conventions/database.md. The 013 gap was defensive: it assumed a database could still carry a bun_migrations row for the pre-consolidation 012 scratch migration. That consolidation (573e9e8) landed before the v0.14.0 release, so no released install ever recorded a 012. The numbering guard is generalized while we are here: instead of asserting the one hardcoded '012_' filename is absent, both engines' tests now assert every numeric prefix in the directory is unique — the actual invariant, since bun keys applied migrations on the prefix alone. Co-Authored-By: Claude Opus 5 <[email protected]>
…ommands, failure snapshots and TLS edge chaining
fclairamb
enabled auto-merge (squash)
August 14, 2026 06:44
Merged
fclairamb
added a commit
that referenced
this pull request
Aug 14, 2026
🤖 I have created a release *beep* *boop* --- ## [0.15.0](v0.14.0...v0.15.0) (2026-08-14) ### Features * incident refs ([#42](#42)), Telegram incident commands, first-failure snapshots and TLS edge chaining ([#217](#217)) ([a8cbaf3](a8cbaf3)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This was referenced Sep 8, 2026
Closed
Closed
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
#42. A per-org, monotonically increasing number assigned at creation, concurrency-safe on both engines, with existing incidents backfilled oldest-first. Soft-deleted incidents keep their number and numbers are never reused, so a reference always means one incident forever. Surfaced in the API, dash0 (list + detail), Slack and Telegram — a UUID was never something anyone would type into a chat on a phone, which is what blocked typed incident commands./status,/incidents,/ack [#ref],/incident <#ref>and/help, registered viasetMyCommandsso they autocomplete. Unlinked chats are refused on both the command and callback paths.incidents.detailsexisted but nothing ever wrote to it, while the Slack formatter was already readingfailure_reasonfrom it and falling back to the literal "Check failed". The first failing result is now snapshotted at open — a copy, not a reference, since retention deletes raw results — withlast_failureadded on reopen without disturbing the original cause. Rendered as a "First failure" / "Latest relapse" card in dash0; both Slack readers light up as a side effect.:80so the downstream can still solve HTTP-01. Fail-closed: no-SNI, malformed hellos and peek timeouts stay local; a cycle is refused; an unreachable upstream closes rather than falling back. Off unless configured.@-prefixed private slugs jumped the queue in one but not the other); and the redundant docs icon is gone from the check detail toolbar.No breaking changes.
Migration
One scratch migration per engine —
012_incident_number.{up,down}.sql— addingnumberplus a unique(organization_uid, number)index, backfilled ordered bystarted_at. The Postgres side is fully idempotent; the SQLiteADD COLUMNis not (SQLite has noIF NOT EXISTSfor columns), which is the intended loud failure if a database'sbun_migrationsrow doesn't match.The numbering guard in both engines' tests was generalized: it asserts every numeric prefix in the directory is unique, rather than checking one hardcoded filename — bun keys applied migrations on the prefix alone, so a reused prefix means a silently skipped migration.
Test plan
make build-backend lint-back test— green, lint reports0 issuesmake build-dash0+ dash0 eslint — green, no new errors over the ~44-error pre-existing baselinemake build-docs— green-short(they self-skip under-short, which is what CI runs):TestIncidentNumbers_Postgres7.76s,TestIncidentNumberBackfillOrdersByStartedAt_Postgres9.94s, both pass#42is authored but not run locally (the devloop isn't inSP_RUNMODE=test); spec 11's E2E was run against a side-car test server and passes-short-gated, like the pre-existing Pebble test — ungated tests still cover the chain end to endKnown limitation
Telegram group-chat ack attribution is implemented generically and exercised via the callback path, but is unreachable in v1: group chats cannot be linked at all (
/startis refused outside private chats, and Telegram contacts can only be verified there). Making them linkable needs a Telegram-user-id → org-member mapping, which the spec explicitly puts out of scope. The branch is commented as unreachable so it isn't mistaken for live code.🤖 Generated with Claude Code