Repository navigation
feat(lifecycle): report-only first-login probe mode (T843 t2) - #182
Merged
Merged
Conversation
The optional manifest key first_login_probe makes the bootc lifecycle lane install N and boot it once (Floe) or twice with a test-only autologin configuration written into the installed /etc by a login-1 setup unit. The guest records which first-login app started (first-setup or the chairlift first run), marks it done in login-1, and the host reports one summary line. The five-boot and sysext paths are unchanged; the mode never gates on which app started (ADR-0016).
frostyard-machines
marked this pull request as ready for review
November 4, 2026 22:38
bketelsen
approved these changes
Nov 5, 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 T843 task t2 (approved, rev 234c6d8): a first-login check in the bootc lifecycle lane.
What
first_login_probe(session_wait60–900,app_wait30–600). With it the lane installs N and boots it aslogin-1andlogin-2(Floe:login-1only). No installed-n attestation, no N+1 stage (version_distinct, as forsysext_probe).login-1injects a test-only setup unit (login-setup.sh, before the display manager) that creates thesnowqaaccount and writes the autologin config into the installed/etc(GDMdaemon.confor/etc/sddm.conf.d/zz-snow-qa-autologin.conf). Nothing goes into an image, so snositest/gdm-autologin-scope-test.shstill holds.qa.py login) waits for the user's graphical session and records which first-login app started: first-setup (a process seen in 2 consecutive polls) or the chairlift first run (first-run: window presentedin the user journal, or its process). Inlogin-1it marks a started app done (chairlift-first-run --mark-done, or first-setup's realcomplete-setup).login-2shows whether it runs again. Floe records the first-run autostart entries (expected none).SNOW_LOGIN_V1record (identity, nonce, boot id, booted digest = N) and writes one summary:first-setup-once,chairlift-once,none,repeated-*,headless-no-entry, …, infirst-login.txt,checks.txt, thefirst-loginoutput and the reason.unproven-*(no display manager, no autologin, no session) is BLOCKED (ADR-0003). The five-boot and sysext paths are unchanged; no lane gate changes. t3 promotes it.Evidence
.venv/bin/python -m pytest -q tests/→ 1477 passed (138 new intests/test_first_login_probe.py).trigger=dev, no publish, no tag move), today's images:dev-snow-bootc-lifecycle-n7f7s:PASS: verified_first_login_probe;first_login=first-setup-once(login-1 gdm/wayland started first-setup, complete-setup rc 0; login-2 none)dev-snow-bootc-lifecycle-72cjn:PASS …first_login=first-setup-oncedev-snow-bootc-lifecycle-cb9qj:PASS …first_login=none(sddm/wayland, both boots)dev-snow-bootc-lifecycle-w5n6r:PASS …first_login=headless-no-entryFAILED: unit_size(guest unit over the SMBIOS bound, every lane mode): fixed in 56d2422 with a guard test. Run record: docs(plans): first-login probe dev runs on today's images (T843 t2) #183.argo/restored to the base 9d290ad,pytest tests/test_first_login_probe.py→ 138 failed, 15 passed (e.g.test_login_phase_rejects_*:assert 'qa_failed:usage' == 'qa_failed:record_session';test_first_login_probe_normalizes_for_every_product:GateError: manifest_fields). Worktree removed.=), fixed in 10f6c90. Re-review 2: 1 blocker (residual Session/Relogin), fixed in 25dab84. Re-review 3 at 25dab84: Ready, Blocking: none. Each blocker has a guard test and a line in.memory/corrections.jsonl.No
.github/risk-paths.jsonin this repository.