Skip to content

chore(release): v2.6.66 - #509

Merged
LucasSantana-Dev merged 1 commit into
mainfrom
release/v2.6.66
Apr 9, 2026
Merged

LucasSantana-Dev merged 1 commit into
mainfrom
release/v2.6.66

Conversation

@LucasSantana-Dev

@LucasSantana-Dev LucasSantana-Dev commented Apr 9, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Paginated /level leaderboard (5 entries/page with prev/next buttons)
  • Rich track embeds for /pause, /resume, /skip, /songinfo via buildCommandTrackEmbed helper
  • Shared embed builder utilities (buildTrackEmbed, buildUserProfileEmbed, buildListPageEmbed, buildPlatformAttribEmbed) across all commands
  • Unified embed function naming (createSuccessEmbed, createErrorEmbed, createInfoEmbed, createWarningEmbed)

Test plan

  • CI passes (Quality Gates + SonarCloud)
  • Version bumped to 2.6.66 in all packages
  • CHANGELOG updated with full feature list

🤖 Generated with Claude Code

Summary by CodeRabbit

Release Notes v2.6.66

  • New Features

    • Added pagination to /level leaderboard (5 entries per page with navigation controls).
    • Enhanced /pause, /resume, /skip, and /play commands with rich track embeds.
    • Improved embed formatting and consistency across /queue, /songinfo, /starboard, and /lastfm commands.
  • Bug Fixes

    • Resolved potential Discord embed field truncation on leaderboard by limiting fetch to 50 entries.

@vercel

vercel Bot commented Apr 9, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lucky Ready Ready Preview, Comment Apr 9, 2026 11:04pm

Request Review

@github-actions github-actions Bot added dependencies Pull requests that update a dependency file bot backend frontend shared labels Apr 9, 2026
@coderabbitai

coderabbitai Bot commented Apr 9, 2026 •

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Version release 2.6.66 documenting consolidation of embed construction utilities and refactoring of music/engagement commands to use shared helpers for consistent embed formatting across /play, /pause, /resume, /skip, /songinfo, /queue, /level leaderboard, /starboard, and /lastfm.

Changes

Cohort / File(s) Summary
Documentation & Changelog
CHANGELOG.md
Documented new embed utilities (buildTrackEmbed, buildUserProfileEmbed, buildListPageEmbed, buildPlatformAttribEmbed), consolidated embed creators (createSuccessEmbed, createErrorEmbed, createInfoEmbed, createWarningEmbed), and migration of command responses to use shared builders and standardized formatting patterns.
Package Version Bumps
package.json, packages/backend/package.json, packages/bot/package.json, packages/frontend/package.json, packages/shared/package.json
Incremented version from 2.6.65 to 2.6.66 across all workspace packages.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • #502: Enhances now-playing/embed construction for the play response with platform styling updates.
  • #507: Directly related refactor introducing and utilizing buildTrackEmbed/trackToData utilities across music command responses.

Suggested labels

dependencies, size/xs

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title 'chore(release): v2.6.66' clearly and specifically indicates this is a release commit that bumps the version to 2.6.66, which aligns with all package.json version updates and the CHANGELOG entry in the changeset.
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 release/v2.6.66

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.

@github-actions

github-actions Bot commented Apr 9, 2026

Copy link
Copy Markdown

Size Change: 0 B

Total Size: 324 kB

ℹ️ View Unchanged
Filename Size
packages/frontend/dist/assets/ActionPanel-DNyixsRN.js 400 B
packages/frontend/dist/assets/api-DsLAIu-l.js 2.9 kB
packages/frontend/dist/assets/authStore-Bo_PbbZd.js 557 B
packages/frontend/dist/assets/AutoMessages-CMx6p29r.js 2.69 kB
packages/frontend/dist/assets/AutoMod-H-4xwkmt.js 4.09 kB
packages/frontend/dist/assets/avatar-BYVlC9R1.js 1.79 kB
packages/frontend/dist/assets/badge-kekZ5uai.js 498 B
packages/frontend/dist/assets/Button-Chq_jJX6.js 766 B
packages/frontend/dist/assets/Card-DY7pU8Q5.js 457 B
packages/frontend/dist/assets/chunk-QFMPRPBF-ySVqcpZB.js 14.8 kB
packages/frontend/dist/assets/CommandsConfig-D5HhVE8J.js 1.49 kB
packages/frontend/dist/assets/Config-D0yyrS5J.js 1.74 kB
packages/frontend/dist/assets/CustomCommands-D6roNyDQ.js 2.15 kB
packages/frontend/dist/assets/DashboardOverview-B7ZvaNvW.js 3.42 kB
packages/frontend/dist/assets/dialog-DCGuWOQz.js 949 B
packages/frontend/dist/assets/dist-Bzdj1j8i.js 416 B
packages/frontend/dist/assets/EmbedBuilder-Rq0Aksdt.js 3.35 kB
packages/frontend/dist/assets/EmptyState-D-FW84dc.js 432 B
packages/frontend/dist/assets/Features-CWZ4j0-1.js 2.85 kB
packages/frontend/dist/assets/GuildAutomation-K29WisHS.js 2.94 kB
packages/frontend/dist/assets/guildStore-D5pntH7c.js 791 B
packages/frontend/dist/assets/index-BvzPtzfc.js 11.7 kB
packages/frontend/dist/assets/index-DoLe_VYd.css 14.4 kB
packages/frontend/dist/assets/input-B8xLKRen.js 465 B
packages/frontend/dist/assets/label-9gyU3CvE.js 485 B
packages/frontend/dist/assets/LastFm-rG5GrbYY.js 1.74 kB
packages/frontend/dist/assets/Levels-DLo4t0Rt.js 2.65 kB
packages/frontend/dist/assets/Login-C5vaBplo.js 2.54 kB
packages/frontend/dist/assets/Lyrics-C6bZmDoy.js 1.33 kB
packages/frontend/dist/assets/Moderation-Ceej5Axm.js 3.87 kB
packages/frontend/dist/assets/Music-DwHM3KDy.js 6.17 kB
packages/frontend/dist/assets/MusicConfig-BkgUtXsR.js 1.62 kB
packages/frontend/dist/assets/PrivacyPolicy-BMYU-0jY.js 1.38 kB
packages/frontend/dist/assets/rbac-BN1DzQHh.js 152 B
packages/frontend/dist/assets/ReactionRoles-D-ubvLwR.js 1.9 kB
packages/frontend/dist/assets/rolldown-runtime-COnpUsM8.js 467 B
packages/frontend/dist/assets/scroll-area-C8T6RLOh.js 522 B
packages/frontend/dist/assets/SectionHeader-C0yb_DFu.js 385 B
packages/frontend/dist/assets/select-CHLbPSDw.js 1.23 kB
packages/frontend/dist/assets/ServerLogs-BtUuCMku.js 2.9 kB
packages/frontend/dist/assets/ServerSettings-4VsKJdYy.js 4.22 kB
packages/frontend/dist/assets/ServersPage-CLyZtYdk.js 2.95 kB
packages/frontend/dist/assets/Skeleton-Z9dBUKZD.js 236 B
packages/frontend/dist/assets/Starboard-xddi8bqd.js 2.09 kB
packages/frontend/dist/assets/StatTile-DI0Q4bgV.js 606 B
packages/frontend/dist/assets/switch-nhTZOPm5.js 543 B
packages/frontend/dist/assets/TermsOfService-SB9iOf3u.js 1.37 kB
packages/frontend/dist/assets/TrackHistory-Brg7jkn6.js 1.91 kB
packages/frontend/dist/assets/TwitchNotifications-BrtUbdEd.js 2.29 kB
packages/frontend/dist/assets/useGuildSelection-CNWhdqGT.js 488 B
packages/frontend/dist/assets/usePageMetadata-C6uKjjUo.js 325 B
packages/frontend/dist/assets/utils-ayWzbeKE.js 148 B
packages/frontend/dist/assets/vendor-forms-DmZCnE0r.js 25.4 kB
packages/frontend/dist/assets/vendor-radix-DyTfqI7p.js 33.5 kB
packages/frontend/dist/assets/vendor-react-DlFk5rSD.js 55.6 kB
packages/frontend/dist/assets/vendor-state-1dKZOhDf.js 22.2 kB
packages/frontend/dist/assets/vendor-ui-B32-89km.js 64.2 kB

compressed-size-action

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@CHANGELOG.md`:
- Around line 10-25: The 2.6.66 changelog entry is missing explicit PR/issue
references; update the "## [2.6.66] - 2026-04-09" section by appending the
relevant PR and issue IDs for each notable change (for example link the PR that
added buildCommandTrackEmbed and the PR that refactored shared embed builders),
and add a short "Breaking Changes" subsection if any change is breaking;
reference the unique symbols to locate changes (buildCommandTrackEmbed,
buildTrackEmbed, createQueueEmbed, /pause, /resume, /skip, /songinfo, /level
leaderboard) and format each bullet to include "PR #<num>" and "Issue #<num>"
next to the related bullet.
🪄 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: fbbd18a9-bd36-49c9-b0df-7e466567bbe0

📥 Commits

Reviewing files that changed from the base of the PR and between f9f2c61 and 185f23d.

📒 Files selected for processing (6)
  • CHANGELOG.md
  • package.json
  • packages/backend/package.json
  • packages/bot/package.json
  • packages/frontend/package.json
  • packages/shared/package.json
📜 Review details
⏰ 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). (3)
  • GitHub Check: Quality Gates
  • GitHub Check: SonarCloud Scan
  • GitHub Check: compressed-size
🧰 Additional context used
📓 Path-based instructions (11)
{LICENSE,COPYING,COPYING.md,LICENSE.md,license.txt,**/package.json,**/requirements.txt,**/Cargo.toml,**/pom.xml,**/composer.json}

📄 CodeRabbit inference engine (.cursor/rules/accessibility-openness.mdc)

Respect OSS licenses for third-party code and declare license in repo

Files:

  • packages/shared/package.json
  • packages/backend/package.json
  • packages/bot/package.json
  • packages/frontend/package.json
  • package.json
packages/shared/package.json

📄 CodeRabbit inference engine (.cursor/rules/lucky-project.mdc)

The shared package must not have dependencies on bot or backend packages, only provide config, services (DB/Redis), types, and utils

Files:

  • packages/shared/package.json
packages/shared/**/*

📄 CodeRabbit inference engine (.cursor/rules/subagent-data.mdc)

Shared client and services must be located in packages/shared

Files:

  • packages/shared/package.json
packages/backend/**

📄 CodeRabbit inference engine (.cursor/rules/lucky-project.mdc)

The backend package depends on shared and contains Express API with auth and guild routes

Files:

  • packages/backend/package.json
packages/bot/**

📄 CodeRabbit inference engine (.cursor/rules/lucky-project.mdc)

The bot package depends on shared and contains Discord bot commands and player handlers using Discord.js and Discord Player

Files:

  • packages/bot/package.json
packages/frontend/**

📄 CodeRabbit inference engine (.cursor/rules/lucky-project.mdc)

The frontend package uses React with Vite and must not depend on the shared package

Files:

  • packages/frontend/package.json
{webpack.config.{js,ts},vite.config.{js,ts},esbuild.config.{js,ts},package.json,.bundlebudgetrc,.bundlebudgetrc.json}

📄 CodeRabbit inference engine (.cursor/rules/performance-observability.mdc)

Add performance budgets for frontend bundles

Files:

  • package.json
package.json

📄 CodeRabbit inference engine (.cursor/rules/lucky-project.mdc)

package.json: Use npm workspaces monorepo structure with packages in packages/* directory containing: shared (config, services, types, utils), bot (Discord.js/Discord Player), backend (Express API), and frontend (React/Vite)
Use npm run build for shared → bot → backend build order; use npm run build:frontend separately for frontend
Use npm run dev:bot, npm run dev:backend, and npm run dev:frontend for development, and npm run db:* commands for database operations

Files:

  • package.json
{CHANGELOG.md,README.md}

📄 CodeRabbit inference engine (.cursor/rules/agent-rules.mdc)

ALWAYS update CHANGELOG.md and README.md as changes are made.

Files:

  • CHANGELOG.md
CHANGELOG.md

📄 CodeRabbit inference engine (.cursor/rules/templates-examples.mdc)

CHANGELOG.md must be updated with all changes in pull requests

Always update CHANGELOG.md with all code changes

Update CHANGELOG.md with all changes, include breaking changes documentation, and reference issues and PRs

Files:

  • CHANGELOG.md
{CHANGELOG.md,docs/**}

📄 CodeRabbit inference engine (.cursor/rules/lucky-project.mdc)

Update CHANGELOG.md and relevant docs/ files when behavior or setup changes

Files:

  • CHANGELOG.md
🔇 Additional comments (5)
packages/shared/package.json (1)

3-3: Version bump is clean and scoped.

@lucky/shared release version update is consistent and does not alter shared package boundaries.

packages/bot/package.json (1)

3-3: Release version update looks good.

The package version bump is consistent with the monorepo release tagging for 2.6.66.

packages/backend/package.json (1)

3-3: Backend package version bump is correct.

No additional concerns on this segment.

package.json (1)

3-3: Root version bump is aligned with workspace release.

This change is straightforward and consistent with sibling package bumps.

packages/frontend/package.json (1)

4-4: Frontend package version bump is good.

No functional or packaging concerns in this change.

Comment thread CHANGELOG.md
Comment on lines +10 to +25
## [2.6.66] - 2026-04-09

### Added

- **`buildCommandTrackEmbed` helper** (`packages/bot/src/utils/general/responseEmbeds/buildTrackEmbed.ts`): combines `trackToData + buildTrackEmbed + setAuthor` into a single call. Used by `pause`, `resume`, and `skip` commands to display a rich track embed with a custom status label (e.g. "⏸️ Paused", "▶️ Resumed", "⏭️ Song skipped") as the embed author.
- **Shared embed builder utilities** (`packages/bot/src/utils/general/responseEmbeds/`): `buildTrackEmbed`, `buildUserProfileEmbed`, `buildListPageEmbed`, `buildPlatformAttribEmbed` — reusable embed constructors shared across commands. Embed functions in `embeds.ts` unified to `createSuccessEmbed`, `createErrorEmbed`, `createInfoEmbed`, `createWarningEmbed`.

### Changed

- **`/pause`, `/resume`, `/skip` commands**: show a rich track embed (title, thumbnail, duration, platform badge, requester footer) instead of a plain text success message when a track is active.
- **`/songinfo` command**: migrated to `buildTrackEmbed` + `trackToData`, removing the legacy inline embed builder.
- **`/level leaderboard`**: results are now paginated (5 entries per page) with prev/next buttons, preventing Discord embed field truncation for guilds with many members. Fetches up to 50 entries via `levelService.getLeaderboard(guildId, 50)`.
- **Queue embed** (`/queue` command): rebuilt with `createQueueEmbed` — structured sections for now-playing, upcoming tracks, queue stats, and music controls, all consistent with shared embed patterns.
- **Engagement commands** (`/starboard`, `/lastfm`): migrated to shared embed builders (`buildListPageEmbed`, `buildPlatformAttribEmbed`, `createSuccessEmbed/createErrorEmbed/createInfoEmbed`).
- **Autoplay embed** (`/play` now-playing): added `.setTimestamp()` to embed builder for consistent timestamp display. Error handler for the `play` command now uses `createErrorEmbed`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Add explicit PR/issue references in the 2.6.66 entry.

The release notes are detailed, but this section should include direct references (e.g., PR #509``, related issue IDs) to satisfy changelog traceability requirements.
As per coding guidelines, "Update CHANGELOG.md with all changes, include breaking changes documentation, and reference issues and PRs".

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

In `@CHANGELOG.md` around lines 10 - 25, The 2.6.66 changelog entry is missing
explicit PR/issue references; update the "## [2.6.66] - 2026-04-09" section by
appending the relevant PR and issue IDs for each notable change (for example
link the PR that added buildCommandTrackEmbed and the PR that refactored shared
embed builders), and add a short "Breaking Changes" subsection if any change is
breaking; reference the unique symbols to locate changes
(buildCommandTrackEmbed, buildTrackEmbed, createQueueEmbed, /pause, /resume,
/skip, /songinfo, /level leaderboard) and format each bullet to include "PR
#<num>" and "Issue #<num>" next to the related bullet.

@sonarqubecloud

sonarqubecloud Bot commented Apr 9, 2026

Copy link
Copy Markdown

@LucasSantana-Dev
LucasSantana-Dev merged commit b6d4470 into main Apr 9, 2026
13 checks passed
@LucasSantana-Dev
LucasSantana-Dev deleted the release/v2.6.66 branch April 9, 2026 23:07

This branch was successfully deployed

1 active deployment
Preview — 185f23d6 Deployed Apr 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant