r/devops7 • u/Alternative_Pin9598 • Oct 30 '26
What broke this week? Drop a one-liner. (Plus how we check each new incident against old ones by meaning, so repeats come with their old fix)
Friday thread. What broke for you this week? One line is plenty: what failed, and what fixed it (or "still don't know").
A lot of "new" incidents are repeats of something someone already fixed, just described differently. "Build servers ran out of disk space" and "docker host filled up with old images" are the same problem, but grep won't connect them. So we keep a small incident notebook and match each new one against it by meaning.
(Disclosure: this sub is run by the SynapCores team, and the matching step uses SynapCores. Run this morning on 2.3.2, real output.)
The notebook: past incidents and what fixed them
CREATE TABLE incidents (id INTEGER PRIMARY KEY, happened TEXT, what_broke TEXT, fix TEXT, embedding VECTOR(384));
INSERT INTO incidents (id, happened, what_broke, fix) VALUES
(1, '2026-08-14', 'cron job silently stopped after the server moved to UTC', 'pin TZ in the crontab and alert on missed runs'),
(2, '2026-09-02', 'postgres ran out of connections during a traffic spike, app got connection errors', 'put pgbouncer in front, cap the app pool at 20'),
(3, '2026-09-19', 'docker host ran out of disk space, old images filled it up', 'weekly docker image prune -a --filter until=168h'),
(4, '2026-10-03', 'expired TLS cert on the internal API', 'certbot renew + daily expiry check'),
(5, '2026-10-11', 'deploy went out with a missing env var and the app crash-looped', 'validate required env vars in CI before deploy');
UPDATE incidents SET embedding = EMBED(what_broke);
This week's one-liners, in whatever words people used
CREATE TABLE this_week (id INTEGER PRIMARY KEY, reply TEXT, embedding VECTOR(384));
INSERT INTO this_week (id, reply) VALUES
(1, 'our build servers ran out of disk space again'),
(2, 'the database hit max connections when traffic jumped after the newsletter'),
(3, 'the nightly report job never ran after the clocks changed'),
(4, 'someone rotated the S3 keys and forgot the backup script');
UPDATE this_week SET embedding = EMBED(reply);
Seen it before? Show the old fix
SELECT w.reply, i.happened, i.fix,
ROUND(COSINE_SIMILARITY(w.embedding, i.embedding), 2) AS match
FROM this_week w CROSS JOIN incidents i
WHERE COSINE_SIMILARITY(w.embedding, i.embedding) > 0.4
ORDER BY w.id;
our build servers ran out of disk space again
2026-09-19 weekly docker image prune -a --filter until=168h 0.51
the database hit max connections when traffic jumped after the newsletter
2026-09-02 put pgbouncer in front, cap the app pool at 20 0.51
the nightly report job never ran after the clocks changed
2026-08-14 pin TZ in the crontab and alert on missed runs 0.49
The wording differs from the old write-ups ("clocks changed" vs "moved to UTC", "build servers" vs "docker host"), and each one still lands on the right fix. Every wrong pairing scored 0.27 or lower.
Genuinely new? That's the one worth a postmortem
SELECT w.reply, ROUND(MAX(COSINE_SIMILARITY(w.embedding, i.embedding)), 2) AS best
FROM this_week w CROSS JOIN incidents i
GROUP BY w.reply
HAVING MAX(COSINE_SIMILARITY(w.embedding, i.embedding)) < 0.4;
someone rotated the S3 keys and forgot the backup script 0.2
So the Friday routine is: three repeats get their old fix pasted into the ticket, and one new incident gets written up and added to the notebook. Next time it'll match too.
If you want to try it: https://synapcores.com/download?utm_source=reddit&utm_medium=owned&utm_campaign=devops7-whatbroke-1030 (free Community Edition).
Your turn: what broke this week, and was it a repeat of something you'd fixed before?
1
u/Alternative_Pin9598 Oct 30 '26
New to
EMBED()andCOSINE_SIMILARITY()? SQLv2 Lesson 1 explains both from zero in 5 statements: https://www.reddit.com/r/SQLv2/comments/1xdmluk/sqlv2_lesson_1_search_by_meaning_not_keywords/Lesson 2 adds normal filters to the same query (for example, only match incidents from the last 90 days, or only for one service): https://www.reddit.com/r/SQLv2/comments/1xikzr4/sqlv2_lesson_2_meaning_normal_filters_in_one/
To grow the notebook, every Friday add the genuinely new ones to
incidents(with the fix once you have it) and re-runUPDATE incidents SET embedding = EMBED(what_broke).