Repository navigation
feat(lifecycle): report-only report probe for the problem-report senders (T857 t21) - #191
Merged
Merged
Conversation
…p tail on failure (dev run fnn87)
…k readiness check (dev run 5pcgp)
…g-reports in the autologin session (T857 t21)
…est payloads; compressed login-setup credential (dev run 6swrx)
… both logs at start (dev run zf6pf)
…er, crash precondition, no extra production send, secrets, record budget, launch teardown)
…ardown task unless its absence is confirmed (re-review 1)
… the unknown-state tests can fail
… 3/3 each (T857 t21)
…robe # Conflicts: # argo/workflow-templates/snow-bootc-lifecycle-scripts.yaml
frostyard-machines
marked this pull request as ready for review
November 6, 2026 04:33
bketelsen
approved these changes
Nov 6, 2026
5 tasks done
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.
Plan T857 task t21 (phase 2 lab proof): a report-only lane mode that proves the problem-report senders on real installed VMs of all 4 products. Design: ADR-0018. Results: docs/plans/2026-11-05-report-probe-runs.md.
What it adds
report_probe:{"intake": "lab"}or{"intake": "production"}, exclusive with the other probe modes, 1reportboot of the installed N.572fdd87) underwrangler dev, with a mocked GlitchTip (TLS, bearer check, envelope log) and an edge-like proxy (addsCF-Connecting-IP,X-Forwarded-For,True-Client-IP; numbers requests on arrival; off/on marks). It runs in a throwaway Incus container thatrun.shcreates and always deletes; its bearer and DSN key never leave it.reporting off), thenreporting onwith the lab endpoint as a file key, and the realsnosi-health-report.timer(a test drop-in removes its randomized delay).--send-pending-reportsin the test-only autologin session of the first-login probe (ADR-0016), with the endpoint in/etc/chairlift/config.yml, 2 off runs and 1 on run.report.py):ok,missing-<checks>(off,timer/cli,consent,count,app,crash,schema,ip,forward,match) orunproven-no-sender/-intake/-session.production-acceptedormissing-productionfor the production value.run.shbounds the total of a boot's SMBIOS values at 61440 (fail smbios_size; a test checks 8 boot kinds against 58000).Evidence
d1443456; shellcheck;policies/check_agent_governance.py.trigger=dev, no publish, no tag move), allPASS: verified_report_probe:kgbqh,td7t9,p98kx—report=ok.9x87t—production-accepted, HTTP 202, report idbda364d0-a159-416e-a764-05fc7374e590(projectsystem; it is to be deleted by report id withscripts/glitchtip-delete-report.shof frostyard/problem-intake, a host step on TrueNAS).gf584,vrfqr,gsntg; Snowfieldq7xtt,psmgd,vtkw9; Sundog5h8qj,lfckb,grt4h—report=ok.fnn87(Node tarball name),5pcgp(loopback peer falsemissing-ip),6swrx(SMBIOS total),zf6pf(frostyard-chairliftpackage name; empty GlitchTip log).t9p4rwas a boot stall before the guest unit (not a probe result).Cross-review
openai/gpt-6.1-sol; coderdeepseek/deepseek-flashwith fixes byclaude-opus-5.5.79fbe65d(base97af4f0c, 3 batches, 19 files): Not ready, 7 blocking (desktop production after an extra send, vacuous crash check, header-only envelope, secrets in envelope bodies, completion-order sequence, record bound, false teardown failure) + 1 doc point. All fixed inb93a5dc4.b93a5dc4: 2 blocking (envelope item length, unknown intake state). Fixed incaf16a2d/30db25b7.30db25b7: Ready, Blocking: none. 1 low, non-blocking point left as a follow-up:report.pytolerates more than 1 trailing empty line after the envelope payload.af11d437(results doc, merge ofmainwith feat(lifecycle): problems probe proves the timer on a 2nd N+1 boot (T893d) #190, 1 conflict inrun.shresolved by keeping both cases): Ready, Blocking: none.argo/workflow-templates/snow-bootc-lifecycle-scripts.yamlreverted to79fbe65d(tests kept): 21 targeted tests failed intests/test_report_probe.py(e.g.test_forwarding_needs_a_whole_envelope[*],test_no_lab_secret_is_written_in_the_envelope_log,test_report_counts_a_post_that_finished_after_the_mark_as_off,test_the_worst_case_record_is_trimmed_to_fit_and_keeps_every_send,test_a_failed_intake_launch_reports_no_teardown_failure); with only the production guard line reverted,test_a_desktop_dry_run_that_wrote_a_sent_entry_posts_nothingandtest_a_desktop_dry_run_that_failed_posts_nothingfailed on their assertions. Round 2: reverted tob93a5dc4, 11 length tests andtest_a_listed_intake_after_a_failed_launch_stays_a_teardown_task,test_an_intake_list_query_that_fails_keeps_the_teardown_taskfailed.The mode is report-only: it gates nothing; promoting it is a new decision.