Skip to content

Read HostService as its end state - #83

Merged
czpython merged 1 commit into
mainfrom
claude/friendly-easley-72cbb3
Oct 22, 2026
Merged

czpython merged 1 commit into
mainfrom
claude/friendly-easley-72cbb3

Conversation

@czpython

@czpython czpython commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

A checklist pass over hosts/service.py, on main after #80.

  • The template lookup lives in create_host, its one caller, and reads the row by id.
  • _lookup_idempotency_key is one positive branch; the miss falls through. Its caller reads the key in one positive condition too.
  • create_host names the host and picks the image in the row itself, and raises the stored last_error without a fallback.
  • A from None outside any except is gone.
  • Comments that narrated the code, the caller or a provider are gone. The ones that stay say why.
  • provision takes the host row it already has; the string id, its parse and the lookup are gone.
  • scan_known_hosts raises HostKeyScanError, a plain exception beside the other hosts errors, and provision catches that type.
  • The keyscan subprocess call sits inside scan_known_hosts, its one caller, and the failure detail is built only when it fails.

The lease intent (expires_at and its ... sentinel) is untouched; it has its own change.

@czpython
czpython force-pushed the claude/friendly-easley-72cbb3 branch from 7120e24 to cb0bb2a Compare October 22, 2026 14:37
@czpython
czpython force-pushed the claude/issuer-refusal-422-08395b branch from ce9fd52 to 6435813 Compare October 22, 2026 14:50
@czpython
czpython force-pushed the claude/friendly-easley-72cbb3 branch from cb0bb2a to b5f9800 Compare October 22, 2026 14:54
The template lookup lives in create_host, its one caller. The idempotency
lookup is one positive branch. Comments that narrated the code, the caller
or a provider are gone; the ones that stay say why.
@czpython
czpython changed the base branch from claude/issuer-refusal-422-08395b to main October 22, 2026 14:56
@czpython
czpython force-pushed the claude/friendly-easley-72cbb3 branch from b5f9800 to 4ab62a2 Compare October 22, 2026 14:56
@czpython
czpython merged commit 0cf501f into main Oct 22, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant