Skip to content

ci: bump cozyvalues-gen to v1.6.0#2784

Merged
Aleksei Sviridkin (lexfrei) merged 1 commit into
mainfrom
ci/bump-cozyvalues-gen-v1.6.0
Jun 2, 2026
Merged

ci: bump cozyvalues-gen to v1.6.0#2784
Aleksei Sviridkin (lexfrei) merged 1 commit into
mainfrom
ci/bump-cozyvalues-gen-v1.6.0

Conversation

@lexfrei
Copy link
Copy Markdown
Contributor

@lexfrei Aleksei Sviridkin (lexfrei) commented Jun 2, 2026

What this PR does

Bumps the cozyvalues-gen version installed in the pre-commit CI workflow from v1.5.0 to v1.6.0.

v1.6.0 adds two additive, opt-in annotation features: the date-time string-format alias (mirroring the existing date alias) and the @example annotation, which accumulates JSON-encoded values into an examples array on the matching schema property.

Both are opt-in, so charts that do not use the new directives regenerate byte-identical values.schema.json, README.md and Go type output. Verified locally by regenerating all 31 packages (apps/*, extra/*, library/cozy-lib) with both v1.5.0 and v1.6.0 — every produced artifact is identical, so the pre-commit regeneration check stays green without touching any committed file.

Release note

ci: bump cozyvalues-gen to v1.6.0

Summary by CodeRabbit

  • Chores
    • Updated build tool to the latest version for improved code generation.

v1.6.0 adds the date-time string-format alias and the @example
annotation. Both are additive, opt-in directives: charts that do not
use them regenerate byte-identical schema, README and Go type output,
so the pre-commit check stays green without touching any committed
artifact.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
@github-actions github-actions Bot added area/uncategorized PR auto-labeler could not map title scope to a known area/*; please review size/XS This PR changes 0-9 lines, ignoring generated files labels Jun 2, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 2, 2026

Review Change Stack

📝 Walkthrough

Walkthrough

The pre-commit GitHub Actions workflow is updated to install cozyvalues-gen v1.6.0 instead of v1.5.0. No other workflow logic changes.

Changes

Build Tool Update

Layer / File(s) Summary
cozyvalues-gen version bump
.github/workflows/pre-commit.yml
The install command for cozyvalues-gen updates the release version from v1.5.0 to v1.6.0 in the pre-commit workflow step.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • cozystack/cozystack#2730: Modifies the same .github/workflows/pre-commit.yml step that installs the pinned cozyvalues-gen binary.

Suggested labels

size/XS, area/ci

Suggested reviewers

  • androndo
  • sircthulhu
  • kvaps
  • lllamnyp
  • IvanHunters
  • myasnikovdaniil

Poem

🐰 A tiny hop from one-five to one-six,
The generator tool gets its latest fix,
One line changed, one version new,
Build steps faster, workflows true! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'ci: bump cozyvalues-gen to v1.6.0' directly and clearly summarizes the main change—updating a CI dependency to a specific version.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/bump-cozyvalues-gen-v1.6.0

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@dosubot dosubot Bot added the area/ci Issues or PRs related to CI workflows, GitHub Actions, automation label Jun 2, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
.github/workflows/pre-commit.yml (1)

50-50: Confirm cozyvalues-gen v1.6.0 release is available; no security advisories noted

  • v1.6.0 exists at https://github.com/cozystack/cozyvalues-gen/releases/tag/v1.6.0, and the cozyvalues-gen-linux-amd64.tar.gz download works.
  • The v1.6.0 release notes only list changelog items and do not mention security advisories, CVEs, breaking changes, or deprecations.
  • The workflow still downloads/extracts the tarball without checksum validation; the release includes cozyvalues-gen-checksums.txt (SHA256 hashes), which could be used to verify the downloaded artifact before tar extraction.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/pre-commit.yml at line 50, The workflow step that
currently streams the tarball directly into tar (the line using "curl -sSL
https://github.com/cozystack/cozyvalues-gen/releases/download/v1.6.0/cozyvalues-gen-linux-amd64.tar.gz
| tar -xzvf- -C /usr/local/bin/ cozyvalues-gen") must be updated to perform
checksum verification: download both the tarball and the companion
cozyvalues-gen-checksums.txt, verify the tarball's SHA256 against the checksums
file (e.g., using sha256sum --check or equivalent), fail the job if verification
fails, and only then extract the verified tarball to /usr/local/bin/; update the
step name and error messages accordingly so failures are clear.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In @.github/workflows/pre-commit.yml:
- Line 50: The workflow step that currently streams the tarball directly into
tar (the line using "curl -sSL
https://github.com/cozystack/cozyvalues-gen/releases/download/v1.6.0/cozyvalues-gen-linux-amd64.tar.gz
| tar -xzvf- -C /usr/local/bin/ cozyvalues-gen") must be updated to perform
checksum verification: download both the tarball and the companion
cozyvalues-gen-checksums.txt, verify the tarball's SHA256 against the checksums
file (e.g., using sha256sum --check or equivalent), fail the job if verification
fails, and only then extract the verified tarball to /usr/local/bin/; update the
step name and error messages accordingly so failures are clear.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 6c599afe-6c4a-4b7e-b770-b491ea4e65aa

📥 Commits

Reviewing files that changed from the base of the PR and between c435efa and bac670d.

📒 Files selected for processing (1)
  • .github/workflows/pre-commit.yml

@lexfrei Aleksei Sviridkin (lexfrei) merged commit 86c3de2 into main Jun 2, 2026
11 of 12 checks passed
@lexfrei Aleksei Sviridkin (lexfrei) deleted the ci/bump-cozyvalues-gen-v1.6.0 branch June 2, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci Issues or PRs related to CI workflows, GitHub Actions, automation area/uncategorized PR auto-labeler could not map title scope to a known area/*; please review size/XS This PR changes 0-9 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants