Skip to content

test deploy#7

Open
stevensdavid wants to merge 8 commits into
v1.0from
test
Open

test deploy#7
stevensdavid wants to merge 8 commits into
v1.0from
test

Conversation

@stevensdavid
Copy link
Copy Markdown
Owner

No description provided.

@stevensdavid
Copy link
Copy Markdown
Owner Author

/preview

@github-actions github-actions Bot added the preview Has a PR preview label May 3, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 3, 2026

🚀 Preview deployed

URL: https://stevensdavid-prodzilla-pr-7.tail502b83.ts.net
Commit: 6147a4062c622403a3bd35fd1ebf0387b480baf8

Connect Tailscale on your phone, then open the URL.
Use /teardown or close the PR to dispose of this environment.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 3, 2026

Preview deploy failed

Commit: ee529067a4cb0786a194cd581d8d1a0a41936f74
See run logs: https://github.com/stevensdavid/prodzilla/actions/runs/25280673209

`tailscale status` exits non-zero while the daemon is in `NeedsLogin`
(its state before `tailscale up` runs), so the readiness loop could
never succeed and the entrypoint timed out before authenticating.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diagnostic to determine whether the auth key value reaching the container
is the full `tskey-auth-...` secret or only the key ID. Will be removed
once the preview deploy is healthy.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
stevensdavid and others added 4 commits May 3, 2026 16:08
Splits the Rust build into chef/planner/build stages so the cooked
dependency layer only invalidates on Cargo.toml/Cargo.lock changes
instead of any source edit. Adds cache mounts on cargo's registry/git
and the target dir (plus npm's cache) to keep within-build work cheap
when the layer cache does miss.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diagnosis confirmed the auth key was intact; the rejection was an ACL
tag-ownership issue resolved out-of-band.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The target/ cache mount caused `cp ./target/release/prodzilla` to fail
after a successful build (cargo-chef leaves stub artifacts that
interact poorly with cache-mounted target dirs). Cache-mount only
cargo's registry/git, and let the cooked deps live in a regular Docker
layer — which is what cargo-chef is designed around. Also pass
--bin prodzilla explicitly to match the canonical cargo-chef pattern.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The cargo-chef base image sets CARGO_TARGET_DIR to a project-name-
derived path under /tmp, so cargo was writing the binary to
/tmp/prodzilla-target/release/prodzilla instead of ./target/release/.
The build appeared to succeed and then `cp ./target/release/prodzilla`
failed. Pin the target dir to /app/target explicitly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Non-reusable auth key + in-memory state caused a crash loop: every
machine restart lost Tailscale state and tried to re-auth with an
already-consumed key.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview Has a PR preview

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant