René's URL Explorer Experiment


Title: kill-collector drill: restore trap fires on precondition refusals — a refused drill still starts the collector (PR #1823) · Issue #2865 · developing-today/code · GitHub

Open Graph Title: kill-collector drill: restore trap fires on precondition refusals — a refused drill still starts the collector (PR #1823) · Issue #2865 · developing-today/code

X Title: kill-collector drill: restore trap fires on precondition refusals — a refused drill still starts the collector (PR #1823) · Issue #2865 · developing-today/code

Description: Finding The kill-collector chaos drill installs its restore trap before its precondition checks, so a drill that refuses to start still "restores" — starting the collector timer and immediately running the collector service. That contrad...

Open Graph Description: Finding The kill-collector chaos drill installs its restore trap before its precondition checks, so a drill that refuses to start still "restores" — starting the collector timer and immediately run...

X Description: Finding The kill-collector chaos drill installs its restore trap before its precondition checks, so a drill that refuses to start still "restores" — starting the collector timer and immed...

Opengraph URL: https://github.com/developing-today/code/issues/2865

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"kill-collector drill: restore trap fires on precondition refusals — a refused drill still starts the collector (PR #1823)","articleBody":"## Finding\n\nThe kill-collector chaos drill installs its restore trap **before** its precondition checks, so a drill that *refuses to start* still \"restores\" — starting the collector timer and immediately running the collector service. That contradicts the drill's own interlock contract and can mask exactly the real incidents the preconditions exist to protect.\n\n## Evidence\n\n- Source PR: #1823 (merged, merge commit `1720d64b308905f70b445029b993488dc142fd40`) — https://github.com/developing-today/code/pull/1823\n- Verified still present on current main `074485713b11745c5164a131aac6e80305abd228`, `pm-stack/aggregator/scripts/kill-collector-drill.sh`:\n  - Line 9 (header contract): \"Interlocks (any failure = refuse to start, **nothing is touched**)\"\n  - Lines 108–114: `restore()` runs `systemctl start \"$COLLECTOR_TIMER\"` **and** `systemctl start \"$COLLECTOR_SERVICE\"` (an immediate collection run).\n  - Line 115: `trap restore EXIT INT TERM` — installed here.\n  - Lines 118–122: the preconditions run *after* the trap is installed, and each failure path calls `die`, which `exit 1`s — firing the EXIT trap and therefore `restore()`:\n    - line 118: collector timer not active — the script itself says \"a stopped collector outside a drill is itself a finding\", yet the trap silently restarts it and starts a collection, erasing that finding;\n    - line 121: aggregator health unreadable — the drill \"refuses to drill blind\" but still starts the collector service blind;\n    - line 122: feed already stale — explicitly \"a real incident, not a drill\", yet the trap starts an immediate collection run that can freshen the feed and interfere with / mask that incident.\n\n## Why it matters\n\nThe drill runs on a weekly timer against the live PM stack. Its safety story is that interlock failures are pure refusals. As written, the three most safety-relevant refusals all mutate the system they refused to touch — worst case during a real stale-feed incident, where an unrequested collection run changes the evidence and the state an incident responder would see.\n\n## Acceptance criteria\n\n- [ ] `restore()` only runs once the drill has actually stopped the collector (e.g. trap installed after the kill step, or restore gated on a `KILLED`/`STOPPED` flag set only after both `systemctl stop` calls succeed).\n- [ ] Every precondition/interlock refusal (timer inactive, health unreadable, feed already stale, incident flag, lock held) exits without any `systemctl start` of the timer or service — verifiable by a stubbed-`systemctl`/`sudo` test harness or shell test that records invocations per refusal path.\n- [ ] A drill that does kill the collector still restores exactly as today (trap on EXIT/INT/TERM plus the explicit restore + confirmation), and the result JSON / reporting behaviour is unchanged.\n- [ ] Header comment updated if the resulting contract differs from \"any failure = refuse to start, nothing is touched\".\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-30T23:27:40Z","url":"https://github.com/developing-today/code/issues/2865"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:af6bcbd7-7063-ef72-f1e2-7a58ae124bff
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA124:39ABD:8053DE:ABDA52:6B063434
html-safe-nonce2fec13cc3d72c6c2812e4980d7ee5eeb7ecfc52dc4768b109441899c5cedb6bf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTI0OjM5QUJEOjgwNTNERTpBQkRBNTI6NkIwNjM0MzQiLCJ2aXNpdG9yX2lkIjoiMTc3NDYxNDA3NTQyMzQ3MDY0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9b06dd03d56469f82d404d145b050295175daf0e0105ecac1a4b01e9de3bda88
hovercard-subject-tagissue:6128553257
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/2865/issue_layout
twitter:imagehttps://opengraph.githubassets.com/221d298283f6924c3caac94fece2a4b96c66c43f988e54548c5e02d8ee0bb076/developing-today/code/issues/2865
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/221d298283f6924c3caac94fece2a4b96c66c43f988e54548c5e02d8ee0bb076/developing-today/code/issues/2865
og:image:altFinding The kill-collector chaos drill installs its restore trap before its precondition checks, so a drill that refuses to start still "restores" — starting the collector timer and immediately run...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
Nonec3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9eb3bb1597d09170a5f282cd38ae376dee1a5ec1
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/2865#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F2865
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F2865
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/2865
Reloadhttps://github.com/developing-today/code/issues/2865
Reloadhttps://github.com/developing-today/code/issues/2865
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests151 (151)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/2865
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/2865
#3027https://github.com/developing-today/code/pull/3027
kill-collector drill: restore trap fires on precondition refusals — a refused drill still starts the collector (PR #1823)https://github.com/developing-today/code/issues/2865#top
#3027https://github.com/developing-today/code/pull/3027
https://github.com/dezren39
app/pm-stackhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fpm-stack%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/highhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fhigh%22
source/pr-diff-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fpr-diff-review%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 30, 2026https://github.com/developing-today/code/issues/2865#issue-6128553257
pm-stack(drills): kill-collector chaos drill, first slice of #1283 #1823https://github.com/developing-today/code/pull/1823
pm-stack(drills): kill-collector chaos drill, first slice of #1283 #1823https://github.com/developing-today/code/pull/1823
Nexthttps://github.com/developing-today/code/issues/2865?timeline_page=1
dezren39https://github.com/dezren39
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
source/pr-diff-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fpr-diff-review%22
priority/highhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fhigh%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
app/pm-stackhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fpm-stack%22
on Oct 30, 2026https://github.com/developing-today/code/issues/2865#event-34740951250
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 30, 2026https://github.com/developing-today/code/issues/2865#issuecomment-6535701579
pm-stack(drills): kill-collector chaos drill, first slice of #1283 #1823https://github.com/developing-today/code/pull/1823
0744857https://github.com/developing-today/code/commit/074485713b11745c5164a131aac6e80305abd228
kill-collector drill: restore trap fires on precondition refusals — a refused drill still starts the collector (PR #1823) #2865https://github.com/developing-today/code/issues/2865
kill-collector drill: restore trap fires on precondition refusals — a refused drill still starts the collector (PR #1823) #2865https://github.com/developing-today/code/issues/2865
pm-stack(drills): kill-collector chaos drill, first slice of #1283 #1823https://github.com/developing-today/code/pull/1823
pm-stack(drills): kill-collector chaos drill, first slice of #1283 #1823https://github.com/developing-today/code/pull/1823
design(pm-stack): chaos/rotation drills — scheduled game-days (kill collector, age the feed, drop a service) verifying banners, watchdogs, and self-healing fire #1283https://github.com/developing-today/code/issues/1283
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 30, 2026https://github.com/developing-today/code/issues/2865#event-34741425412
dezren39https://github.com/dezren39
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
on Oct 31, 2026https://github.com/developing-today/code/issues/2865#event-34767129187
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 31, 2026https://github.com/developing-today/code/issues/2865#issuecomment-6542433829
dezren39https://github.com/dezren39
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
on Oct 31, 2026https://github.com/developing-today/code/issues/2865#event-34767183994
dezren39https://github.com/dezren39
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
on Oct 31, 2026https://github.com/developing-today/code/issues/2865#event-34768110483
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 31, 2026https://github.com/developing-today/code/issues/2865#issuecomment-6542669137
fix(pm-stack/drill): gate kill-collector restore on an actual kill (#2865) #3027https://github.com/developing-today/code/pull/3027
fix(pm-stack/drill): gate kill-collector restore on an actual kill (#2865) #3027https://github.com/developing-today/code/pull/3027
dezren39https://github.com/dezren39
on Oct 31, 2026https://github.com/developing-today/code/issues/2865#event-34768224560
fix(pm-stack/drill): arm restore before the destructive stop (#2865)https://github.com/developing-today/code/commit/96b0919096ec65461f1bc4fd8f36b4fb47a221a3
#2865https://github.com/developing-today/code/issues/2865
96b0919https://github.com/developing-today/code/commit/96b0919096ec65461f1bc4fd8f36b4fb47a221a3
dezren39https://github.com/dezren39
queue/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fparked%22
status/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fparked%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
on Oct 31, 2026https://github.com/developing-today/code/issues/2865#event-34768355700
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 31, 2026https://github.com/developing-today/code/issues/2865#issuecomment-6542726328
fix(pm-stack/drill): gate kill-collector restore on an actual kill (#2865) #3027https://github.com/developing-today/code/pull/3027
96b0919https://github.com/developing-today/code/commit/96b0919096ec65461f1bc4fd8f36b4fb47a221a3
96b0919https://github.com/developing-today/code/commit/96b0919096ec65461f1bc4fd8f36b4fb47a221a3
fix(pm-stack/drill): gate kill-collector restore on an actual kill (#2865) #3027https://github.com/developing-today/code/pull/3027
fix(pm-stack/drill): gate kill-collector restore on an actual kill (#2865) #3027https://github.com/developing-today/code/pull/3027
dezren39https://github.com/dezren39
on Oct 31, 2026https://github.com/developing-today/code/issues/2865#event-34769197290
Merge pull request #3027 from developing-today/queue/4380-2865-drill-…https://github.com/developing-today/code/commit/9424578d62d04b23ac3157498970e64ac1efac58
#3027https://github.com/developing-today/code/pull/3027
9424578https://github.com/developing-today/code/commit/9424578d62d04b23ac3157498970e64ac1efac58
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#3027https://github.com/developing-today/code/pull/3027
on Oct 31, 2026https://github.com/developing-today/code/issues/2865#event-34769197864
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 31, 2026https://github.com/developing-today/code/issues/2865#issuecomment-6542934464
kill-collector drill: restore trap fires on precondition refusals — a refused drill still starts the collector (PR #1823) #2865https://github.com/developing-today/code/issues/2865
fix(pm-stack/drill): gate kill-collector restore on an actual kill (#2865) #3027https://github.com/developing-today/code/pull/3027
9424578https://github.com/developing-today/code/commit/9424578d62d04b23ac3157498970e64ac1efac58
dezren39https://github.com/dezren39
status/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fparked%22
queue/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fparked%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
on Oct 31, 2026https://github.com/developing-today/code/issues/2865#event-34769217516
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/2865
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/2865
dezren39https://github.com/dezren39
app/pm-stackhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fpm-stack%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/highhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fhigh%22
source/pr-diff-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fpr-diff-review%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.