Skip to content

Comments

release: v2025.1.7#306

Merged
rustatian merged 1 commit intostablefrom
release/v2025.1.7
Feb 17, 2026
Merged

release: v2025.1.7#306
rustatian merged 1 commit intostablefrom
release/v2025.1.7

Conversation

@rustatian
Copy link
Member

Reason for This PR

  • stable release cycle

Description of Changes

  • Update Go to 1.26
  • Update template v2025

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

PR Checklist

[Author TODO: Meet these criteria.]
[Reviewer TODO: Verify that these criteria are met. Request changes if not]

  • All commits in this PR are signed (git commit -s).
  • The reason for this PR is clearly provided (issue no. or explanation).
  • The description of changes is clear and encompassing.
  • Any required documentation changes (code and docs) are included in this PR.
  • Any user-facing changes are mentioned in CHANGELOG.md.
  • All added/changed functionality is tested.

Signed-off-by: Valery Piashchynski <[email protected]>
@rustatian rustatian self-assigned this Feb 17, 2026
Copilot AI review requested due to automatic review settings February 17, 2026 08:25
@rustatian rustatian added the C-enhancement Category: enhancement. Meaning improvements of current module, transport, etc.. label Feb 17, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 17, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch release/v2025.1.7

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.

@rustatian rustatian merged commit 57082bc into stable Feb 17, 2026
9 checks passed
@rustatian rustatian deleted the release/v2025.1.7 branch February 17, 2026 08:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Release PR for the v2025.1.7 stable cycle, primarily updating the project/tooling to a newer Go version and refreshing the v2025 RoadRunner template baseline, along with CI/linting adjustments.

Changes:

  • Bump Go/toolchain references (go.mod, Dockerfile, template go.mod) and update Go module dependencies.
  • Refresh v2025 template dependency pins (e.g., tablewriter/cobra/testify).
  • Update GitHub Actions workflows and add package-level doc.go files across packages.

Reviewed changes

Copilot reviewed 18 out of 20 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
logger/doc.go Adds package-level GoDoc entry for logger package.
internal/version/doc.go Adds package-level GoDoc entry for version helpers.
internal/cli/doc.go Adds package-level GoDoc entry for CLI wiring.
internal/cli/build/doc.go Adds package-level GoDoc entry for build command package.
gitlab/doc.go Adds package-level GoDoc entry for GitLab client package.
github/doc.go Adds package-level GoDoc entry for GitHub client package.
doc.go Adds package-level GoDoc entry for root velox package.
cmd/vx/doc.go Adds package-level GoDoc entry for main CLI package.
builder/doc.go Adds package-level GoDoc entry for builder package.
builder/templates/doc.go Adds package-level GoDoc entry for templates package.
builder/templates/templateV2025.go Updates v2025 generated RoadRunner go.mod template (Go version + dependency pins).
builder/builder.go Removes //nolint:prealloc on a slice that is appended to.
go.mod Bumps Go version and updates dependency versions.
go.sum Regenerates sums for updated dependencies.
Dockerfile Updates Go base images to 1.26-alpine and tweaks formatting.
.golangci.yml Enables revive default rules (with var-naming disabled).
.gitignore Narrows vx ignore to repo root (/vx).
.github/workflows/release.yml Updates action versions and adjusts build/release scripting.
.github/workflows/linux.yml Updates action versions and cache action major version.
.github/workflows/linters.yml Updates action versions for checkout/setup-go/golangci-lint.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- name: Check out code
uses: actions/checkout@v4

uses: actions/checkout@v5
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

build-sample-rr uses actions/checkout@v5 while the golang job uses actions/checkout@v6. If the version bump is intentional, it should be consistent across jobs; otherwise pin both jobs to the same (known-good) major version to reduce CI drift.

Suggested change
uses: actions/checkout@v5
uses: actions/checkout@v6

Copilot uses AI. Check for mistakes.
Comment on lines +66 to 76




[ ${{ matrix.os }} != '' ] && echo '${{ matrix.os }}' || echo 'unknown'
)$(




[ ${{ matrix.compiler }} = 'musl-gcc' ] && echo '-musl'
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

This run: > step tests [ ${{ matrix.os }} != '' ] without quoting the expanded value. For the matrix entry where os: "", this becomes [ != '' ] and will error in [/bash, breaking the release build. Quote the expression expansions in the test (and consider removing the extra blank lines here to keep the script readable).

Suggested change
[ ${{ matrix.os }} != '' ] && echo '${{ matrix.os }}' || echo 'unknown'
)$(
[ ${{ matrix.compiler }} = 'musl-gcc' ] && echo '-musl'
[ "${{ matrix.os }}" != '' ] && echo '${{ matrix.os }}' || echo 'unknown'
)$(
[ "${{ matrix.compiler }}" = 'musl-gcc' ] && echo '-musl'

Copilot uses AI. Check for mistakes.
Comment on lines 47 to 50
run: |
echo "version=$(echo ${GITHUB_REF##*/} | sed -e 's/^[vV ]*//')" >> $GITHUB_OUTPUT
echo "timestamp=$(echo $(date +%FT%T%z))" >> $GITHUB_OUTPUT
echo "binary-name=$(echo $(echo vx`[ ${{ matrix.os }} = 'windows' ] && echo '.exe'`))" >> $GITHUB_OUTPUT
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

This shell test uses an unquoted ${{ matrix.os }}: when the matrix entry has os: "", it expands to [ = 'windows' ] which causes a bash [ syntax error and will break the workflow. Quote the expanded value in the test (e.g., [ "${{ matrix.os }}" = 'windows' ]).

Copilot uses AI. Check for mistakes.
Comment on lines +335 to 336
var result []*templates.Entry
replaces := replaceRegexp.FindAllStringSubmatch(string(modFile), -1)
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

prealloc linter is enabled in .golangci.yml; removing the previous //nolint:prealloc here will likely reintroduce a lint failure. Either preallocate result (e.g., based on len(replaces)) or restore the targeted nolint if preallocation isn’t appropriate.

Suggested change
var result []*templates.Entry
replaces := replaceRegexp.FindAllStringSubmatch(string(modFile), -1)
replaces := replaceRegexp.FindAllStringSubmatch(string(modFile), -1)
result := make([]*templates.Entry, 0, len(replaces))

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-enhancement Category: enhancement. Meaning improvements of current module, transport, etc..

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant