docs(deploy-to-cloud-engine): add service:git:updated_at (commit date) to version metadata#247
Open
artkorotkikh-dfinity wants to merge 2 commits into
Open
docs(deploy-to-cloud-engine): add service:git:updated_at (commit date) to version metadata#247artkorotkikh-dfinity wants to merge 2 commits into
artkorotkikh-dfinity wants to merge 2 commits into
Conversation
…te) to version metadata The console wants a last-updated field. A build timestamp is banned (pitfall 16, breaks determinism), but the last commit's date ($(git log -1 --format=%cI)) is a property of the source tree, not the build — verified by live builds: identical value across rebuilds of the same commit. Pitfall 16 now names it as the deterministic alternative and the notes clarify it means "code last changed", not deploy time (that stays with canister history). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Skill Validation ReportValidating skill: /home/runner/work/icskills/icskills/skills/deploy-to-cloud-engineStructure
Frontmatter
Tokens
Markdown
Tokens
Content Analysis
Contamination Analysis
Result: 1 warning Project Checks |
…dated_at Naming decision: generic and conventional (updated_at, with the _at suffix implying a full timestamp) over commit_date; the value is unchanged — the last commit's ISO 8601 committer date. Co-Authored-By: Claude Fable 5 <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.
Motivation
The console wants to show a last-updated field for a deployed app, but pitfall 16 bans build timestamps in wasm metadata (a
$(date)value changes every build and breaks reproducibility). The last commit's date is the deterministic middle ground: it is a property of the source tree, not of the build, so rebuilding the same commit produces the same wasm.Changes
service:git:updated_at=$(git log -1 --format=%cI)to the version metadata example (git projects only).Eval results
Output eval 15 — Adversarial: timestamp in wasm version metadata (updated case: WITH 4/4)
The without-skill baseline for this run hit the runner's 120s timeout before producing output. The last completed baseline of this case (in #246) failed 0/4 with real output — it complied with the build timestamp via a predeploy script and invented
build_timestamp/git_commitnames — and that output also fails all four updated behaviors, so the with/without delta carries over.🤖 Generated with Claude Code