Skip to content

Conversation

@vbotbuildovich
Copy link
Contributor

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

@netlify
Copy link

netlify bot commented Jul 15, 2025

Deploy Preview for docs-ui ready!

Name Link
🔨 Latest commit 28caa28
🔍 Latest deploy log https://app.netlify.com/projects/docs-ui/deploys/6879ad4a9aafbd0008b33e91
😎 Deploy Preview https://deploy-preview-314--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: 52
Accessibility: 93
Best Practices: 100
SEO: 79
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
Contributor

coderabbitai bot commented Jul 15, 2025

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.

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

📝 Walkthrough

Walkthrough

The go.mod file in the blobl-editor/wasm module was updated to bump several dependency versions. Direct dependencies github.com/redpanda-data/benthos/v4 and github.com/redpanda-data/connect/v4 were upgraded to newer patch and minor versions, respectively. Indirect dependencies such as cuelang.org/go, github.com/urfave/cli/v2, and several OpenTelemetry modules were also updated to more recent versions. No changes were made to exported or public entity declarations.

Possibly related PRs

Suggested reviewers

  • JakeSCahill

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
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

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a65c772 and adaa69a.

⛔ 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 (3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: Redirect rules - docs-ui
  • GitHub Check: Header rules - docs-ui
  • GitHub Check: Pages changed - docs-ui
  • GitHub Check: build

Comment on lines 8 to 9
github.com/redpanda-data/benthos/v4 v4.53.1
github.com/redpanda-data/connect/v4 v4.60.1
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Verification agent

❓ Verification inconclusive

Remember to tidy & compile-test after version bumps

All bumped modules (benthos, connect, cuelang, urfave/cli, OTel core) are minor/patch upgrades, so no red flags.
Still, to avoid subtle breakages and stale go.sum entries, please:

  1. Run go mod tidy and commit the refreshed go.sum.
  2. Re-build the Wasm target (make wasm or your usual script) to catch any API changes early.
  3. Double-check CI is pinned to Go 1.24.2 (the toolchain line) so the new deps build identically locally and in CI.

Let me know if you hit any incompatibilities—happy to help track them down.

Also applies to: 13-13, 80-80, 91-93


🏁 Script executed:

#!/usr/bin/env bash
# Quickly verify that the module graph is clean and the project compiles
set -euo pipefail
go mod tidy
git diff --exit-code go.sum           # Fails if go.sum changed
go vet ./...
go test ./...                         # or `make wasm` if tests aren't available

Length of output: 228


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

# Navigate to the module directory before running Go commands
cd blobl-editor/wasm

# Verify module graph is clean and project compiles
go mod tidy
git diff --exit-code go.sum
go vet ./...
go test ./...

Length of output: 7383


Update verification script for Wasm build constraints

The existing go vet ./... step fails on the host because syscall/js is only available under GOOS=js GOARCH=wasm. After bumping the Wasm module’s dependencies, please:

  • cd into the Wasm module before running Go commands
  • Run go mod tidy and commit any changes to go.sum
  • Build and vet the Wasm target under the correct environment (or use your existing make wasm rule)
  • Confirm CI is still pinned to Go 1.24.2

Updated verification snippet:

#!/usr/bin/env bash
set -euo pipefail

# 1. Verify module graph
cd blobl-editor/wasm
go mod tidy
git diff --exit-code go.sum

# 2. Build the Wasm target
make wasm

# 3. Vet (and optionally test) under the Wasm environment
GOOS=js GOARCH=wasm go vet ./...
# If you have Wasm-specific tests:
# GOOS=js GOARCH=wasm go test ./...
🤖 Prompt for AI Agents
In blobl-editor/wasm/go.mod around lines 8 to 9, the verification script for the
Wasm build needs updating because running `go vet ./...` on the host fails due
to `syscall/js` being available only under the Wasm environment. To fix this,
update the verification process to first change directory into the Wasm module,
run `go mod tidy` and commit any changes to `go.sum`, then build the Wasm target
using the existing `make wasm` rule, and finally run `go vet` with the
environment variables `GOOS=js GOARCH=wasm` set to properly vet the Wasm code.
Also ensure the CI remains pinned to Go 1.24.2.

@JakeSCahill JakeSCahill merged commit 716ce5b into main Jul 18, 2025
6 checks passed
@JakeSCahill JakeSCahill deleted the update-go-mod branch July 18, 2025 14:58
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.

3 participants