Skip to content

chore: add go-libs/v5 dependency#153

Merged
gfyrag merged 1 commit into
mainfrom
chore/upgrade-go-libs-v5
May 22, 2026
Merged

chore: add go-libs/v5 dependency#153
gfyrag merged 1 commit into
mainfrom
chore/upgrade-go-libs-v5

Conversation

@gfyrag
Copy link
Copy Markdown
Contributor

@gfyrag gfyrag commented May 22, 2026

Summary

  • Add github.com/formancehq/go-libs/v5 dependency (commit d2a60ed2e0dd) alongside existing go-libs/v2
  • Fix deprecated bun.In() call -> bun.List() in test/e2e/trigger_test.go
  • Fix deprecated r.AddNoPublisherHandler() call -> r.AddConsumerHandler() in pkg/worker/module.go

Test plan

  • CI passes (build + tests)
  • Verify go build ./... succeeds
  • Verify no remaining staticcheck deprecation warnings

🤖 Generated with Claude Code

Add go-libs/v5 alongside existing v2, and fix deprecated API calls
introduced by transitive dependency upgrades:
- bun.In() -> bun.List()
- r.AddNoPublisherHandler() -> r.AddConsumerHandler()

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 22, 2026

Warning

Rate limit exceeded

@gfyrag has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 5 minutes and 48 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 1c1b192e-2808-4884-8a30-6b4ba301c8b2

📥 Commits

Reviewing files that changed from the base of the PR and between 5043fd5 and 35f4dd6.

⛔ Files ignored due to path filters (2)
  • go.mod is excluded by !**/*.mod
  • go.sum is excluded by !**/*.sum, !**/*.sum
📒 Files selected for processing (2)
  • pkg/worker/module.go
  • test/e2e/trigger_test.go
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/upgrade-go-libs-v5

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.

@gfyrag gfyrag marked this pull request as ready for review May 22, 2026 09:29
@gfyrag gfyrag requested a review from a team as a code owner May 22, 2026 09:29
@gfyrag gfyrag enabled auto-merge (squash) May 22, 2026 09:34
@gfyrag gfyrag merged commit e22e7f7 into main May 22, 2026
6 checks passed
@gfyrag gfyrag deleted the chore/upgrade-go-libs-v5 branch May 22, 2026 09:37
@gfyrag gfyrag mentioned this pull request May 22, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants