GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — feat(fleet): derived per-app versioning from tags (#8566) by dezren39 · Pull Request #8630 · developing-today/code Conversation
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 56 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@codex review Please review this PR: derived per-app versioning for the fleet binary (#8566, policy #5790). Focus on the derivation transform in |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: e95fe4151b
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Four findings from the Codex review of e95fe41, all accepted: 1. SemVer build metadata permits ONE '+' separator: the feature branch slug now dot-joins the hash identifier (0.4.3-dev.7+g1a2b3c4.ws-h-versioning) instead of a second '+'. The #5790 policy text's example spelling is corrected in the module docs and the README table; a regression test asserts every derived form carries at most one '+'. 2. The packaged (nix) build now produces the derived version: pkgs/fleet/default.nix takes a derivedVersion argument (release tooling passes the clean tag version for a tag build, where the git history exists) and otherwise derives a unique prerelease from sourceRev (0.1.0-dev+g<rev7>) - no more colliding bare 0.1.0-dev from every packaged build. README step 3 documents it. 3. A malformed nearest tag (fleet/v01.2.3, fleet/v0.4.3-rc.1) no longer hides a valid older release tag: when parse_describe rejects describe's pick, build.rs scans reachable fleet/v* tags, keeps only validated <app>/vX.Y.Z ones, and derives from the nearest (ties: highest version). 4. build.rs registers the git refs it reads (refs/tags, packed-refs, HEAD) as rerun-if-changed inputs, so cutting a release tag on an already-built tree invalidates the bake. Verified live in the worktree: with fleet/v01.2.3 tagged at HEAD (describe's pick) and fleet/v0.1.0 at HEAD~1, a build reports 0.1.1-dev.1+ge95fe41.queue-14886-8566-derived-version; with fleet/v0.1.0 at HEAD, a source-unmodified rebuild reports clean 0.1.0; with the tags deleted it reports the 0.1.0-dev fallback again. cargo test -p fleet --locked: 29+1+7 passed.
|
@codex review Re-review head 605e3e2: all four P2 findings from the first round are fixed (dot-joined build metadata, nix |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: 605e3e255a
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codex round-2 P2 on 605e3e2: the rerun watcher tracked HEAD, refs/tags and packed-refs, but on an attached HEAD an ordinary commit updates the loose branch ref (refs/heads/<branch>, in the common dir for linked worktrees) - HEAD is only the symref naming it and never changes content - so a rebuild after an unrelated commit could keep the previous commit's derived version and source rev. rerun_on_git_refs now also watches refs/heads (the directory covers a ref's first loose creation out of packed-refs) and the resolved current branch ref itself (git symbolic-ref -q HEAD, joined to the common dir). Verified live before this commit: an empty commit on the branch with no source edits moved the rebuilt binary from 0.1.0-dev.11341+g605e3e2... to 0.1.0-dev.11342+g4855f7a... (distance and hash both refreshed). cargo test -p fleet --locked: 29+1+7 passed.
|
@codex review Round 3, head f7ae1df: the round-2 P2 (watch the current branch ref as well as HEAD) is fixed and dispositioned on its thread with live verification (an empty commit refreshed both the derived distance and the source rev on a source-unmodified rebuild). Please confirm. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
impl(fleet): derived versioning for individually deployed apps (follow-on to #5790 rulings)
There was an error while loading. Please reload this page.