Skip to content

feat: add formatter GitHub Action to run on all PRs#312

Merged
sweetmantech merged 3 commits intotestfrom
feature/formatter-github-action
Mar 17, 2026
Merged

feat: add formatter GitHub Action to run on all PRs#312
sweetmantech merged 3 commits intotestfrom
feature/formatter-github-action

Conversation

@sweetmantech
Copy link
Contributor

Adds a new format.yml workflow that runs pnpm format:check (Prettier) automatically on every pull request targeting main or test, ensuring all code changes follow standardized formatting before merge.

Adds a new `format.yml` workflow that runs `pnpm format:check` (Prettier)
automatically on every pull request targeting `main` or `test`, ensuring
all code changes follow standardized formatting before merge.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@vercel
Copy link
Contributor

vercel bot commented Mar 17, 2026

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

Project Deployment Actions Updated (UTC)
recoup-api Ready Ready Preview Mar 17, 2026 8:54pm

Request Review

@coderabbitai
Copy link

coderabbitai bot commented Mar 17, 2026

Warning

Rate limit exceeded

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

⌛ 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: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 5d7068d5-8446-49f5-919c-1fc889598b7a

📥 Commits

Reviewing files that changed from the base of the PR and between 1ec8e48 and 53e1dd9.

⛔ Files ignored due to path filters (86)
  • .github/workflows/format.yml is excluded by none and included by none
  • app/api/admins/sandboxes/__tests__/route.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by app/**
  • app/api/admins/sandboxes/orgs/__tests__/route.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by app/**
  • app/api/coding-agent/callback/__tests__/route.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by app/**
  • evals/catalog-songs-count.eval.ts is excluded by !**/evals/** and included by none
  • evals/first-week-album-sales.eval.ts is excluded by !**/evals/** and included by none
  • evals/memory-tools.eval.ts is excluded by !**/evals/** and included by none
  • evals/monthly-listeners-tracking.eval.ts is excluded by !**/evals/** and included by none
  • evals/search-web-tool.eval.ts is excluded by !**/evals/** and included by none
  • evals/social-scraping.eval.ts is excluded by !**/evals/** and included by none
  • evals/spotify-tools.eval.ts is excluded by !**/evals/** and included by none
  • evals/tiktok-analytics-questions.eval.ts is excluded by !**/evals/** and included by none
  • lib/admins/emails/__tests__/validateGetAdminEmailsQuery.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/ai/__tests__/getAvailableModels.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/ai/__tests__/getModel.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/artists/__tests__/checkAccountArtistAccess.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/artists/__tests__/validateGetArtistsRequest.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/chat/__tests__/buildSystemPromptWithImages.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/chat/__tests__/handleChatCompletion.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/chat/__tests__/integration/chatEndToEnd.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/chat/__tests__/setupToolsForRequest.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/chat/__tests__/validateChatRequest.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/chat/toolChains/__tests__/getPrepareStepResult.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/chat/toolChains/__tests__/toolChains.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/chats/__tests__/updateChatHandler.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/chats/__tests__/validateUpdateChatBody.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/coding-agent/__tests__/encodeGitHubThreadId.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/coding-agent/__tests__/handleCodingAgentCallback.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/coding-agent/__tests__/onMergeAction.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/coding-agent/__tests__/onMergeTestToMainAction.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/coding-agent/__tests__/parseMergeTestToMainActionId.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/composio/connectors/__tests__/getConnectorsHandler.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/composio/connectors/__tests__/validateAuthorizeConnectorRequest.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/composio/connectors/__tests__/validateGetConnectorsRequest.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/composio/toolRouter/__tests__/createToolRouterSession.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/composio/toolRouter/__tests__/getComposioTools.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/content/__tests__/createContentHandler.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/content/__tests__/getArtistContentReadiness.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/content/__tests__/persistCreateContentRunVideo.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/content/__tests__/validateCreateContentBody.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/credits/__tests__/handleChatCredits.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/emails/__tests__/validateInboundEmailEvent.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/emails/inbound/__tests__/extractRoomIdFromHtml.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/emails/inbound/__tests__/getFromWithName.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/evals/callChatFunctionsWithResult.ts is excluded by !**/evals/** and included by lib/**
  • lib/evals/createToolsCalledScorer.ts is excluded by !**/evals/** and included by lib/**
  • lib/evals/extractTextFromResult.ts is excluded by !**/evals/** and included by lib/**
  • lib/evals/extractTextResultFromSteps.ts is excluded by !**/evals/** and included by lib/**
  • lib/evals/getSpotifyFollowersData.ts is excluded by !**/evals/** and included by lib/**
  • lib/evals/scorers/CatalogAvailability.ts is excluded by !**/evals/** and included by lib/**
  • lib/evals/scorers/QuestionAnswered.ts is excluded by !**/evals/** and included by lib/**
  • lib/evals/scorers/ToolsCalled.ts is excluded by !**/evals/** and included by lib/**
  • lib/files/__tests__/getKnowledgeBaseText.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/flamingo/__tests__/callFlamingoGenerate.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/flamingo/__tests__/postProcessors.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/flamingo/__tests__/presets.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/flamingo/__tests__/processAnalyzeMusicRequest.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/github/__tests__/buildSubmoduleRepoMap.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/github/__tests__/fetchEarliestCommit.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/github/__tests__/fetchLatestCommits.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/github/__tests__/fetchRepoCommitStats.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/github/__tests__/findOrgReposByAccountId.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/github/__tests__/getRepoGitModules.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/mcp/tools/__tests__/registerSendEmailTool.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/mcp/tools/__tests__/registerWebDeepResearchTool.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/mcp/tools/sandbox/__tests__/registerPromptSandboxTool.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/mcp/tools/tasks/__tests__/registerGetTaskRunStatusTool.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/messages/__tests__/extractImageUrlsFromMessages.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/messages/__tests__/getLatestUserMessageText.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/messages/__tests__/getTextContent.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/notifications/__tests__/createNotificationHandler.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/notifications/__tests__/validateCreateNotificationBody.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/pulse/__tests__/validateGetPulsesRequest.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/sandbox/__tests__/createSandboxFromSnapshot.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/sandbox/__tests__/getActiveSandbox.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/sandbox/__tests__/getOrCreateSandbox.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/sandbox/__tests__/getSandboxesFileHandler.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/supabase/account_snapshots/__tests__/upsertAccountSnapshot.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/supabase/accounts/__tests__/selectAccountWithSocials.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/supabase/pulse_accounts/__tests__/selectPulseAccounts.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/tasks/__tests__/deleteTask.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/tasks/__tests__/getTaskRunHandler.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • lib/tasks/__tests__/validateGetTaskRunQuery.test.ts is excluded by !**/*.test.*, !**/__tests__/** and included by lib/**
  • next.config.ts is excluded by none and included by none
  • tsconfig.json is excluded by none and included by none
  • types/database.types.ts is excluded by none and included by none
📒 Files selected for processing (138)
  • app/api/accounts/[id]/route.ts
  • app/api/artists/route.ts
  • app/api/content/create/route.ts
  • app/api/content/estimate/route.ts
  • app/api/content/templates/route.ts
  • app/api/content/validate/route.ts
  • app/api/organizations/artists/route.ts
  • app/api/spotify/artist/albums/route.ts
  • app/api/transcribe/route.ts
  • lib/accounts/getAccountHandler.ts
  • lib/accounts/validateAccountParams.ts
  • lib/admins/emails/getAccountEmailIds.ts
  • lib/admins/emails/getAdminEmailsHandler.ts
  • lib/admins/emails/validateGetAdminEmailsQuery.ts
  • lib/admins/privy/countNewAccounts.ts
  • lib/admins/sandboxes/aggregateAccountSandboxStats.ts
  • lib/admins/sandboxes/getAdminSandboxesHandler.ts
  • lib/admins/sandboxes/getOrgRepoStats.ts
  • lib/ai/getAvailableModels.ts
  • lib/ai/getModel.ts
  • lib/artist/validateArtistSocialsScrapeBody.ts
  • lib/artists/checkAccountArtistAccess.ts
  • lib/artists/createArtistPostHandler.ts
  • lib/artists/getFormattedArtist.ts
  • lib/artists/getSocialPlatformByLink.ts
  • lib/artists/validateArtistsQuery.ts
  • lib/arweave/isIPFSUrl.ts
  • lib/arweave/isNormalizedIPFSURL.ts
  • lib/catalog/formatCatalogSongsAsCSV.ts
  • lib/catalog/getCatalogSongs.ts
  • lib/catalog/getCatalogs.ts
  • lib/chat/handleChatCompletion.ts
  • lib/chat/handleChatStream.ts
  • lib/chat/toolChains/getExecutedToolTimeline.ts
  • lib/chat/toolChains/getPrepareStepResult.ts
  • lib/chat/toolChains/index.ts
  • lib/chat/validateMessages.ts
  • lib/chats/buildGetChatsParams.ts
  • lib/coding-agent/buildPRCard.ts
  • lib/coding-agent/handlers/onMergeAction.ts
  • lib/coding-agent/mergeGithubBranch.ts
  • lib/coding-agent/postGitHubComment.ts
  • lib/composio/connectors/disconnectConnectorHandler.ts
  • lib/composio/connectors/getConnectors.ts
  • lib/composio/connectors/validateAuthorizeConnectorRequest.ts
  • lib/composio/connectors/validateDisconnectConnectorRequest.ts
  • lib/composio/connectors/validateGetConnectorsRequest.ts
  • lib/composio/toolRouter/createToolRouterSession.ts
  • lib/contact/contactTeam.ts
  • lib/content/contentTemplates.ts
  • lib/content/getArtistContentReadiness.ts
  • lib/content/getContentValidateHandler.ts
  • lib/content/resolveArtistSlug.ts
  • lib/content/validateCreateContentBody.ts
  • lib/credits/getCreditUsage.ts
  • lib/emails/fetchResendEmail.ts
  • lib/emails/inbound/extractRoomIdFromHtml.ts
  • lib/emails/processAndSendEmail.ts
  • lib/files/generateAndStoreTxtFile.ts
  • lib/files/parseFilesFromQuery.ts
  • lib/flamingo/callFlamingoGenerate.ts
  • lib/flamingo/executeFullReport.ts
  • lib/flamingo/getFlamingoPresetsHandler.ts
  • lib/flamingo/isFlamingoGenerateResult.ts
  • lib/flamingo/postFlamingoGenerateHandler.ts
  • lib/flamingo/presets/audienceProfile.ts
  • lib/flamingo/presets/catalogMetadata.ts
  • lib/flamingo/presets/condenseRepetitions.ts
  • lib/flamingo/presets/contentAdvisory.ts
  • lib/flamingo/presets/deduplicateArray.ts
  • lib/flamingo/presets/extractOneCycle.ts
  • lib/flamingo/presets/getAllPresets.ts
  • lib/flamingo/presets/getPreset.ts
  • lib/flamingo/presets/getPresetSummaries.ts
  • lib/flamingo/presets/lyricTranscription.ts
  • lib/flamingo/presets/moodTags.ts
  • lib/flamingo/presets/musicTheory.ts
  • lib/flamingo/presets/parseJsonLike.ts
  • lib/flamingo/presets/presetRegistry.ts
  • lib/flamingo/presets/similarArtists.ts
  • lib/flamingo/presets/syncBriefMatch.ts
  • lib/flamingo/processAnalyzeMusicRequest.ts
  • lib/flamingo/validateFlamingoGenerateBody.ts
  • lib/github/fetchRepoCommitCount.ts
  • lib/github/fetchRepoCommitStats.ts
  • lib/github/findOrgReposByAccountId.ts
  • lib/github/getOrgRepoUrls.ts
  • lib/github/getRepoFileTree.ts
  • lib/mcp/tools/artistSocials/registerGetArtistSocialsTool.ts
  • lib/mcp/tools/artistSocials/registerUpdateArtistSocialsTool.ts
  • lib/mcp/tools/artists/registerCreateNewArtistTool.ts
  • lib/mcp/tools/flamingo/registerAnalyzeMusicTool.ts
  • lib/mcp/tools/registerWebDeepResearchTool.ts
  • lib/mcp/tools/search/registerSearchGoogleImagesTool.ts
  • lib/mcp/tools/transcribe/index.ts
  • lib/mcp/tools/transcribe/registerTranscribeAudioTool.ts
  • lib/messages/convertToUiMessages.ts
  • lib/messages/getLatestUserMessageText.ts
  • lib/messages/getTextContent.ts
  • lib/organizations/addArtistToOrgHandler.ts
  • lib/organizations/canAccessAccount.ts
  • lib/organizations/createOrganizationHandler.ts
  • lib/organizations/formatAccountOrganizations.ts
  • lib/organizations/validateAddArtistToOrgBody.ts
  • lib/organizations/validateCreateOrganizationBody.ts
  • lib/perplexity/chatWithPerplexity.ts
  • lib/rooms/copyRoom.ts
  • lib/sandbox/getActiveSandbox.ts
  • lib/sandbox/runClaudeCode.ts
  • lib/segments/createSegmentResponses.ts
  • lib/spotify/getSpotifyFollowers.ts
  • lib/supabase/account_artist_ids/getAccountArtistIds.ts
  • lib/supabase/account_artist_ids/selectAccountArtistId.ts
  • lib/supabase/account_info/insertAccountInfo.ts
  • lib/supabase/account_organization_ids/addAccountToOrganization.ts
  • lib/supabase/account_organization_ids/selectAccountOrganizationIds.ts
  • lib/supabase/account_snapshots/selectAllAccountSnapshotsWithOwners.ts
  • lib/supabase/account_workspace_ids/getAccountWorkspaceIds.ts
  • lib/supabase/account_workspace_ids/selectAccountWorkspaceId.ts
  • lib/supabase/accounts/selectAccounts.ts
  • lib/supabase/artist_organization_ids/addArtistToOrganization.ts
  • lib/supabase/artist_organization_ids/getArtistsByOrganization.ts
  • lib/supabase/files/createFileRecord.ts
  • lib/supabase/song_artists/insertSongArtists.ts
  • lib/supabase/storage/uploadFileByKey.ts
  • lib/tasks/validateGetTaskRunQuery.ts
  • lib/telegram/sendErrorNotification.ts
  • lib/transcribe/formatTranscriptMd.ts
  • lib/transcribe/index.ts
  • lib/transcribe/processAudioTranscription.ts
  • lib/transcribe/saveAudioToFiles.ts
  • lib/transcribe/transcribeAudio.ts
  • lib/transcribe/types.ts
  • lib/trigger/triggerCreateContent.ts
  • lib/workspaces/createWorkspacePostHandler.ts
  • lib/youtube/fetchYouTubeChannelInfo.ts
  • lib/youtube/getDefaultDateRange.ts
  • lib/youtube/isTokenExpired.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/formatter-github-action
📝 Coding Plan
  • Generate coding plan for human review comments

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.

Format 225 files to pass the new format GitHub Action check.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Keep test branch version: total=totalPrivyUsers, removed
countActiveAccounts.ts and total_privy_users from response.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@sweetmantech sweetmantech merged commit 3f141c7 into test Mar 17, 2026
3 checks passed
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.

1 participant