fix: correct Tailscale hostname in Caddy pillar for landscaping-assistant (#444) #445
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/pal-e-platform!445
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "444-fix-caddy-pillar-hostname"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fixes the Tailscale hostname in the Caddy pillar from
landscapingtolandscaping-assistant, matching the actual machine name shown bytailscale status.Changes
salt/pillar/caddy.sls: Changedproxy_targetfromlandscaping.tail5b443a.ts.nettolandscaping-assistant.tail5b443a.ts.netTest Plan
tailscale statusshows the machine aslandscaping-assistantsalt '*edge*' state.apply caddyand confirm Caddy can reach the upstreamReview Checklist
tailscale statusRelated
Related Notes
N/A — no docs changes needed for a hostname typo fix.
PR #445 Review
DOMAIN REVIEW
Stack: Salt (SLS pillar) / Caddy reverse proxy / Tailscale networking
This is a one-line fix in
salt/pillar/caddy.slscorrecting theproxy_targetfor thelandscapingsite fromlandscaping.tail5b443a.ts.nettolandscaping-assistant.tail5b443a.ts.net.Salt/Caddy checks:
palinksandlandscaping) follow the same schema:domain,proxy_target,www_redirect.proxy_targetnow correctly matches the Tailscale machine name (landscaping-assistant), consistent with the domainlandscaping-assistant.appalready set in thedomainfield. The old valuelandscapingwas a truncation that would cause Caddy to fail to reach the upstream.landscaping(notlandscaping-assistant), which is fine -- it is an internal identifier for the Jinja template, not a resolvable hostname. No issue here.Naming observation (non-blocking): The site key
landscapingis slightly misleading since the domain and proxy target both referencelandscaping-assistant. However, changing it would be a separate concern and could affect state references. Not a blocker.BLOCKERS
None.
This is a typo fix in a configuration file. No new functionality is introduced, so no test coverage is required. No user input is involved. No secrets are present. No auth logic is touched.
NITS
landscapingcould be renamed tolandscaping-assistantfor consistency with the domain and proxy target. This is cosmetic and would need checking for any Salt state or template references to the key. Not worth blocking on.SOP COMPLIANCE
fix:conventional commit formattailscale statusandsalt state.apply)PROCESS OBSERVATIONS
VERDICT: APPROVED
PR #445 Review
DOMAIN REVIEW
Stack: Salt pillar (YAML), consumed by Jinja2 template (
salt/states/caddy/Caddyfile.j2).The change is a single-line fix in
salt/pillar/caddy.sls, correcting the Tailscale hostname fromlandscaping.tail5b443a.ts.nettolandscaping-assistant.tail5b443a.ts.net. The pillar value feeds directly into the Caddyfile template:The fix is correct. The old hostname would cause Caddy to proxy to a non-existent Tailscale node, breaking upstream connectivity for
landscaping-assistant.app.Salt compliance: No structural issues. The pillar key name, nesting, and data type are consistent with the existing
palinkssite block above it.Secrets handling: No secrets exposed. The Tailscale tailnet ID (
tail5b443a) is a network identifier, not a credential.BLOCKERS
None. This is a one-line typo fix in infrastructure configuration. No new functionality is introduced, so no new tests are required. No security surface is changed.
NITS
salt/states/caddy/init.slscontains an example pillar block in its header comments that still shows the old hostname (landscaping.tail5b443a.ts.net). Not functionally impactful (it is a comment, not rendered), but creates maintenance drift. Consider a follow-up or including the doc fix here.SOP COMPLIANCE
444-fix-caddy-pillar-hostname)PROCESS OBSERVATIONS
tailscale statusandsalt '*edge*' state.apply caddy. The test plan in the PR body is appropriate.init.slsis minor but worth tracking to avoid future confusion during onboarding or audits.VERDICT: APPROVED