test deploy#7
Open
stevensdavid wants to merge 8 commits into
Open
Conversation
Owner
Author
|
/preview |
|
🚀 Preview deployed URL: https://stevensdavid-prodzilla-pr-7.tail502b83.ts.net Connect Tailscale on your phone, then open the URL. |
|
❌ Preview deploy failed Commit: |
`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>
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>
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.
No description provided.