Skip to content

auto-docs: Update Go modules#372

Open
vbotbuildovich wants to merge 1 commit intomainfrom
update-go-mod
Open

auto-docs: Update Go modules#372
vbotbuildovich wants to merge 1 commit intomainfrom
update-go-mod

Conversation

@vbotbuildovich
Copy link
Copy Markdown
Contributor

This PR updates the Go modules for the Bloblang playground Wasm code.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 2, 2026

Deploy Preview for docs-ui ready!

Name Link
🔨 Latest commit f9e8351
🔍 Latest deploy log https://app.netlify.com/projects/docs-ui/deploys/69d7d7428b5c1e000885c10e
😎 Deploy Preview https://deploy-preview-372--docs-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 34 (🔴 down 5 from production)
Accessibility: 93 (no change from production)
Best Practices: 92 (no change from production)
SEO: 89 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 2, 2026

Important

Review skipped

Auto incremental reviews are disabled on this repository.

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.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 1f038a36-265e-463c-b313-553cfcc22cd6

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
📝 Walkthrough

Walkthrough

This pull request updates the Go module dependencies in blobl-editor/wasm/go.mod. The Go toolchain version is upgraded from 1.25.6 to 1.26.1. Direct dependencies are bumped: github.com/redpanda-data/benthos/v4 from v4.63.1 to v4.70.0 and github.com/redpanda-data/connect/v4 from v4.78.0 to v4.86.0. Multiple indirect dependencies are updated across the module graph, with some modules removed and others added or upgraded to newer versions.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • #354: Both PRs modify blobl-editor/wasm/go.mod to update the Go toolchain version and overlapping module versions including benthos and connect.
  • #314: Both PRs modify blobl-editor/wasm/go.mod to bump the same direct dependencies (benthos and connect).
  • #338: Both PRs modify blobl-editor/wasm/go.mod to update the Go toolchain and github.com/redpanda-data/connect/v4 versions.

Suggested reviewers

  • JakeSCahill
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: updating Go modules in the go.mod file with new versions for the project.
Description check ✅ Passed The description is directly related to the changeset, explaining that Go modules for the Bloblang playground Wasm code are being updated, which matches the go.mod file changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ 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 update-go-mod

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

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.

Actionable comments posted: 1

🧹 Nitpick comments (1)
blobl-editor/wasm/go.mod (1)

57-58: Awareness: protoreflect v2 beta dependency added.

A new indirect dependency on jhump/protoreflect/v2 v2.0.0-beta.2 (line 58) has been added alongside the existing v1 (line 57). Since this is a beta version, it may introduce instability or breaking changes in future updates.

Monitor this dependency in future updates and consider pinning to stable versions when v2 is officially released, or verify that the upstream packages (benthos/connect) are handling this appropriately.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@blobl-editor/wasm/go.mod` around lines 57 - 58, go.mod now includes an
indirect beta dependency github.com/jhump/protoreflect/v2 v2.0.0-beta.2
alongside the stable v1 entry; to address this, verify whether the v2 entry
originates from an upstream module (e.g., benthos/connect) and either update
that upstream or explicitly pin the dependency to a stable version (remove or
replace the v2 indirect requirement) to avoid pulling a beta into builds, and
add a short comment in go.mod noting the reason for the pin/override so future
reviewers see why github.com/jhump/protoreflect and
github.com/jhump/protoreflect/v2 are present.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@blobl-editor/wasm/go.mod`:
- Line 3: go.mod requires Go 1.26.1 but the CI workflow still pins Go to 1.25.x
causing builds to fail; update the test workflow to install Go 1.26.x (or
'stable') by changing the actions/setup-go step's go-version to '1.26.x' and
update the cache key to use go-1.26.x (e.g., key: ${{ runner.os }}-go-1.26.x-${{
hashFiles('**/go.sum') }}); ensure the changes are applied in the
test-bloblang-playground workflow that currently uses actions/setup-go@v5 so CI
satisfies the go.mod requirement.

---

Nitpick comments:
In `@blobl-editor/wasm/go.mod`:
- Around line 57-58: go.mod now includes an indirect beta dependency
github.com/jhump/protoreflect/v2 v2.0.0-beta.2 alongside the stable v1 entry; to
address this, verify whether the v2 entry originates from an upstream module
(e.g., benthos/connect) and either update that upstream or explicitly pin the
dependency to a stable version (remove or replace the v2 indirect requirement)
to avoid pulling a beta into builds, and add a short comment in go.mod noting
the reason for the pin/override so future reviewers see why
github.com/jhump/protoreflect and github.com/jhump/protoreflect/v2 are present.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0c0dc5af-9575-4696-970a-64901984f2dd

📥 Commits

Reviewing files that changed from the base of the PR and between c694140 and 9c5f1c4.

⛔ Files ignored due to path filters (1)
  • blobl-editor/wasm/go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • blobl-editor/wasm/go.mod

module blobl

go 1.25.6
go 1.26.1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

Is Go 1.26.1 an officially released version? What is the latest stable Go version as of April 2026?

💡 Result:

Yes, Go 1.26.1 is an officially released version. It was released on 2026-03-05 as a minor revision of Go 1.26.0 (released 2026-02-10), including security and bug fixes. As of April 2026 (today 2026-04-02), the latest stable Go version is Go 1.26.1, available for download on the official site and listed as the top stable version.

Citations:


🏁 Script executed:

# Find and inspect the test-bloblang-playground workflow file
find . -name "test-bloblang-playground.yml" -o -name "*bloblang*playground*.yml" 2>/dev/null | head -20

Repository: redpanda-data/docs-ui

Length of output: 113


🏁 Script executed:

# Look for all GitHub workflow files
find .github/workflows -name "*.yml" -o -name "*.yaml" 2>/dev/null | sort

Repository: redpanda-data/docs-ui

Length of output: 222


🏁 Script executed:

# Search for Go version pinning in workflow files
rg "go-version" .github/workflows/ -A 2 -B 2

Repository: redpanda-data/docs-ui

Length of output: 1080


CI workflow version mismatch will cause build failures.

The Go version requirement has been updated to 1.26.1 in go.mod, but .github/workflows/test-bloblang-playground.yml pins Go to '1.25.x'. When the test workflow runs, the build will fail because Go 1.25.x cannot satisfy the 1.26.1 requirement.

Required fix: Update the CI workflow

Update .github/workflows/test-bloblang-playground.yml to use a compatible Go version:

- name: Setup Go
  uses: actions/setup-go@v5
  with:
    go-version: '1.26.x'  # Or use 'stable' to match other workflows

Also update the cache key to reflect the new version:

key: ${{ runner.os }}-go-1.26.x-${{ hashFiles('**/go.sum') }}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@blobl-editor/wasm/go.mod` at line 3, go.mod requires Go 1.26.1 but the CI
workflow still pins Go to 1.25.x causing builds to fail; update the test
workflow to install Go 1.26.x (or 'stable') by changing the actions/setup-go
step's go-version to '1.26.x' and update the cache key to use go-1.26.x (e.g.,
key: ${{ runner.os }}-go-1.26.x-${{ hashFiles('**/go.sum') }}); ensure the
changes are applied in the test-bloblang-playground workflow that currently uses
actions/setup-go@v5 so CI satisfies the go.mod requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant