Skip to content

chore: run format check on all files - #4750

Merged
shekhar-rudder merged 3 commits into
developfrom
chore.format-check
Nov 4, 2025
Merged

shekhar-rudder merged 3 commits into
developfrom
chore.format-check

Conversation

@shekhar-rudder

@shekhar-rudder shekhar-rudder commented Nov 4, 2025 •

Copy link
Copy Markdown
Member

Summary

Simplifies the format check workflow by running Prettier on all files instead of filtering and checking only changed JS/TS files.

Changes

  • Added format:ci script to package.json that runs prettier --check . on all files
  • Replaced the selective file filtering and formatting logic in .github/workflows/verify.yml with a simple npm run format:ci command
  • Ran npm run format to fix formatting across all files in the codebase

Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?

N/A

Any new dependencies introduced with this change?

N/A

Any new generic utility introduced or modified. Please explain the changes.

N/A

Any technical or performance related pointers to consider with the change?

N/A

@coderabbitai review


Developer checklist

  • My code follows the style guidelines of this project

  • No breaking changes are being introduced.

  • All related docs linked with the PR?

  • All changes manually tested?

  • Any documentation changes needed with this change?

  • Is the PR limited to 10 file changes?

  • Is the PR limited to one linear task?

  • Are relevant unit and component test-cases added in new readability format?

Reviewer checklist

  • Is the type of change in the PR title appropriate as per the changes?

  • Verified that there are no credentials or confidential data exposed with the changes.

@shekhar-rudder
shekhar-rudder requested a review from a team as a code owner November 4, 2025 06:24
@coderabbitai

coderabbitai Bot commented Nov 4, 2025 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • test/integrations/sources/facebook_lead_ads_native/data.ts is excluded by !**/test/**

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

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

Summary by CodeRabbit

  • Chores
    • Improved code formatting and consistency across codebase with standardized quote styles and whitespace normalization.
    • Enhanced CI/CD workflows with global format verification step for better code quality assurance.
    • Updated public exports to include additional functionality for internal tooling.

Walkthrough

Replaces per-file formatting checks in the verify CI workflow with a single global format check (npm run format:ci) run early; removes file-filtering, per-file format validation, git-diff and formatting-error messaging steps. ESLint and downstream steps remain in place. Other edits are whitespace/quoting/formatting-only across many files.

Changes

Cohort / File(s) Summary
CI: verify workflow
.github/workflows/verify.yml
Replaced per-file formatting/filtering/generate-diff steps with a single global npm run format:ci step executed before linting; removed formatting-specific error messaging flow.
Minor CI whitespace/format edits
.github/workflows/build-push-docker-image.yml, .github/workflows/prepare-for-dev-deploy.yml, .github/workflows/prepare-for-prod-dt-deploy.yml, .github/workflows/prepare-for-prod-rollback.yml, .github/workflows/prepare-for-prod-ut-deploy.yml, .github/workflows/slack-notify.yml, .github/workflows/update-ingestion-service.yml
Whitespace, trailing-newline and minor comment spacing changes only; no behavioral changes.
Scripts & tooling
scripts/create-github-release.js
Formatting/spacing and minor parsing tweaks; added getVersion to module exports (export list formatting).
App code & tests formatting
src/index.ts, src/adapters/network.js, src/cdk/v2/destinations/.../procWorkflow.yaml, src/cdk/v2/destinations/userpilot/utils.test.js, src/sources/shopify/utils.test.js, src/v0/destinations/**/networkHandler.js, src/v0/destinations/attentive_tag/transform.js
Reformatting and line-break adjustments; some httpSend/proxyRequest call argument layouts changed across lines without semantic changes.
Swagger examples & schemas
swagger/components/examples/delivery/v*/**/*.yaml, swagger/components/schemas/*.yaml, swagger/routes/source.yaml
Normalized YAML quoting (double → single), minor indentation and end-of-file newline fixes; no schema or example semantics changed.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  participant CI as GitHub Actions (verify)
  participant Formatter as Formatter (npm run format:ci)
  participant Linter as ESLint
  Note over CI,Formatter: New global format check runs first
  CI->>Formatter: run npm run format:ci
  alt format passes (exit 0)
    CI->>Linter: continue to ESLint step
    Linter->>CI: lint results
  else format fails (non-zero)
    Formatter->>CI: failure -> workflow fails early
  end
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

  • Primary logic change in a single workflow file; many peripheral formatting-only edits.
  • Pay extra attention to: .github/workflows/verify.yml (ensure required checks still covered) and scripts/create-github-release.js (export list change and getPreviousTag behavior). Spot-check restructured httpSend/proxyRequest calls for accidental argument reordering.

Possibly related PRs

Suggested reviewers

  • krishna2020
  • vinayteki95

Pre-merge checks and finishing touches

✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'chore: run format check on all files' clearly and concisely summarizes the main change: converting from selective file formatting to running format checks globally.
Description check ✅ Passed The description includes all required template sections: summary of changes, Linear task reference pattern, objectives, capability/behavior changes, dependencies, and utilities sections. Developer and reviewer checklists are present.

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.

@coderabbitai coderabbitai Bot left a comment

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.

Actionable comments posted: 0

🧹 Nitpick comments (1)
.github/workflows/verify.yml (1)

40-41: Consider adding an error message step for format check failures.

The workflow currently has an explicit error message for ESLint failures (lines 54–57), but format check failures would only show a generic job failure. Adding a dedicated error message for format check failures would improve user experience and provide clearer guidance on remediation.

Consider adding an error message step similar to the ESLint one:

      - name: Format check error message
        if: ${{ failure() && steps.format-check.outcome == 'failure' }}
        run: |
          echo 'Format check failure. Ensure you run `npm run format` and commit the files.'

(Note: This requires adding id: format-check to the "Run format check" step to reference its outcome.)

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c2c4c74 and 480bda4.

⛔ Files ignored due to path filters (1)
  • package.json is excluded by !**/*.json
📒 Files selected for processing (1)
  • .github/workflows/verify.yml (1 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). (10)
  • GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image ARM64
  • GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image ARM64
  • GitHub Check: Code Coverage
  • GitHub Check: test_and_publish
  • GitHub Check: Check for formatting & lint errors
  • GitHub Check: UT Tests
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: Analyze (go)
🔇 Additional comments (1)
.github/workflows/verify.yml (1)

40-41: Format check step is well-positioned and correctly implemented.

The new upfront format check on all files aligns with the PR objective to simplify the workflow. Placement before file-change processing is appropriate and ensures format validation happens before subsequent linting steps.

Verify that npm run format:ci is properly defined in package.json (with prettier --check . per the PR description).

@devops-github-rudderstack

Copy link
Copy Markdown
Contributor

Allure Test reports for this run are available at:

saikumarrs
saikumarrs previously approved these changes Nov 4, 2025
@codecov

codecov Bot commented Nov 4, 2025 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.44444% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 91.92%. Comparing base (80b80b1) to head (28047c1).
⚠️ Report is 24 commits behind head on develop.

Files with missing lines Patch % Lines
src/adapters/network.js 88.88% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #4750   +/-   ##
========================================
  Coverage    91.91%   91.92%           
========================================
  Files          651      652    +1     
  Lines        34613    34646   +33     
  Branches      8131     8143   +12     
========================================
+ Hits         31816    31848   +32     
- Misses        2548     2568   +20     
+ Partials       249      230   -19     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@devops-github-rudderstack

Copy link
Copy Markdown
Contributor

Allure Test reports for this run are available at:

@coderabbitai coderabbitai Bot left a comment

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.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
scripts/create-github-release.js (1)

75-78: Fix the logic in getPreviousTag when the current tag is the oldest tag.

The function returns tags[tags.length - 1] (the oldest tag itself) when currentIndex === tags.length - 1, which is incorrect. Since tags are sorted newest-to-oldest, when the current tag is the oldest, there is no previous tag. The function should return 'v0.0.0' instead of returning the current tag itself.

This bug produces an empty commit range when generating release notes for the oldest tag (from oldest tag to itself), which breaks the release notes generation.

Suggested fix:

if (currentIndex === -1 || currentIndex === tags.length - 1) {
  // Current tag not found or is the oldest tag
  return 'v0.0.0';
}

Similarly, when currentIndex === -1 (tag not found), returning the oldest tag is arbitrary. Returning 'v0.0.0' is more appropriate and consistent.

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9c933db and 75e9e1e.

⛔ Files ignored due to path filters (84)
  • README.md is excluded by !**/*.md
  • docs/RELEASE_PROCESS.md is excluded by !**/*.md, !docs/**
  • go/webhook/testcases/testdata/testcases/shopify/identify_call_for_customers_create_event_0.json is excluded by !**/*.json
  • memory-bank/03_system_architecture.md is excluded by !**/*.md
  • memory-bank/04_preferences_and_settings.md is excluded by !**/*.md
  • memory-bank/05_best_practices_and_guidelines.md is excluded by !**/*.md
  • memory-bank/07_code_structure.md is excluded by !**/*.md
  • memory-bank/09_integration_development_guide.md is excluded by !**/*.md
  • memory-bank/11_git_workflow_cicd.md is excluded by !**/*.md
  • memory-bank/12_integration_analysis.md is excluded by !**/*.md
  • memory-bank/13_api_endpoints.md is excluded by !**/*.md
  • memory-bank/14_integration_nuances.md is excluded by !**/*.md
  • memory-bank/15_integration_specific_docs.md is excluded by !**/*.md
  • memory-bank/16_version_differences.md is excluded by !**/*.md
  • memory-bank/17_proxy_implementation_guide.md is excluded by !**/*.md
  • memory-bank/18_component_testing_guide.md is excluded by !**/*.md
  • memory-bank/20_consistency_analysis.md is excluded by !**/*.md
  • memory-bank/21_database_query_guide.md is excluded by !**/*.md
  • memory-bank/22_integration_specific_docs_guide.md is excluded by !**/*.md
  • memory-bank/README.md is excluded by !**/*.md
  • memory-bank/review_and_questions.md is excluded by !**/*.md
  • package.json is excluded by !**/*.json
  • prompts/integration_versions_audit_prompt.md is excluded by !**/*.md
  • src/cdk/v2/destinations/bluecore/README.md is excluded by !**/*.md
  • src/cdk/v2/destinations/intercom/README.md is excluded by !**/*.md
  • src/cdk/v2/destinations/intercom/docs/businesslogic.md is excluded by !**/*.md
  • src/cdk/v2/destinations/intercom/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/af/README.md is excluded by !**/*.md
  • src/v0/destinations/af/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/af/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/airship/README.md is excluded by !**/*.md
  • src/v0/destinations/airship/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/airship/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/am/README.md is excluded by !**/*.md
  • src/v0/destinations/am/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/am/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/braze/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/braze/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/campaign_manager/README.md is excluded by !**/*.md
  • src/v0/destinations/campaign_manager/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/campaign_manager/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/criteo_audience/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/customerio/README.md is excluded by !**/*.md
  • src/v0/destinations/customerio/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/customerio/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/facebook_conversions/README.md is excluded by !**/*.md
  • src/v0/destinations/facebook_conversions/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/facebook_conversions/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/facebook_pixel/README.md is excluded by !**/*.md
  • src/v0/destinations/facebook_pixel/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/facebook_pixel/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/fb_custom_audience/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/ga4/README.md is excluded by !**/*.md
  • src/v0/destinations/ga4/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/ga4/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/google_adwords_offline_conversions/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/google_adwords_offline_conversions/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/google_adwords_remarketing_lists/README.md is excluded by !**/*.md
  • src/v0/destinations/google_adwords_remarketing_lists/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/google_adwords_remarketing_lists/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/iterable/README.md is excluded by !**/*.md
  • src/v0/destinations/iterable/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/iterable/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/moengage/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/moengage/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/mp/README.md is excluded by !**/*.md
  • src/v0/destinations/mp/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/mp/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/sfmc/README.md is excluded by !**/*.md
  • src/v0/destinations/sfmc/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/sfmc/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/splitio/README.md is excluded by !**/*.md
  • src/v0/destinations/splitio/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/splitio/docs/retl.md is excluded by !**/*.md
  • src/v0/destinations/tiktok_ads/README.md is excluded by !**/*.md
  • src/v0/destinations/tiktok_ads/docs/businesslogic.md is excluded by !**/*.md
  • src/v0/destinations/tiktok_ads/docs/retl.md is excluded by !**/*.md
  • test/integrations/destinations/braze/mocks.ts is excluded by !**/test/**
  • test/integrations/destinations/intercom/processor/groupTestData.ts is excluded by !**/test/**
  • test/integrations/destinations/intercom/processor/identifyTestData.ts is excluded by !**/test/**
  • test/integrations/destinations/intercom/processor/validationTestData.ts is excluded by !**/test/**
  • test/integrations/destinations/pinterest_tag/processor/data.ts is excluded by !**/test/**
  • test/mocks/user_transformation/test-data/README.md is excluded by !**/*.md, !**/test/**
  • test/scripts/README.md is excluded by !**/*.md, !**/test/**
📒 Files selected for processing (31)
  • .github/workflows/build-push-docker-image.yml (1 hunks)
  • .github/workflows/prepare-for-dev-deploy.yml (1 hunks)
  • .github/workflows/prepare-for-prod-dt-deploy.yml (0 hunks)
  • .github/workflows/prepare-for-prod-rollback.yml (1 hunks)
  • .github/workflows/prepare-for-prod-ut-deploy.yml (1 hunks)
  • .github/workflows/slack-notify.yml (1 hunks)
  • .github/workflows/update-ingestion-service.yml (1 hunks)
  • .github/workflows/verify.yml (1 hunks)
  • scripts/create-github-release.js (10 hunks)
  • src/adapters/network.js (7 hunks)
  • src/cdk/v2/destinations/accoil_analytics/procWorkflow.yaml (2 hunks)
  • src/cdk/v2/destinations/userpilot/utils.test.js (1 hunks)
  • src/index.ts (1 hunks)
  • src/sources/shopify/utils.test.js (6 hunks)
  • src/v0/destinations/attentive_tag/transform.js (1 hunks)
  • src/v0/destinations/google_adwords_offline_conversions/networkHandler.js (1 hunks)
  • src/v0/destinations/intercom/networkHandler.js (1 hunks)
  • src/v0/destinations/pardot/networkHandler.js (1 hunks)
  • src/v0/destinations/rakuten/networkHandler.js (1 hunks)
  • src/v0/destinations/snapchat_custom_audience/networkHandler.js (1 hunks)
  • src/v0/destinations/the_trade_desk/networkHandler.js (1 hunks)
  • swagger/components/examples/delivery/v0/request/request.yaml (2 hunks)
  • swagger/components/examples/delivery/v0/response/failure.yaml (1 hunks)
  • swagger/components/examples/delivery/v0/response/success.yaml (1 hunks)
  • swagger/components/examples/delivery/v1/request/request.yaml (2 hunks)
  • swagger/components/examples/delivery/v1/response/failure.yaml (1 hunks)
  • swagger/components/examples/delivery/v1/response/success.yaml (2 hunks)
  • swagger/components/schemas/v0DeliveryRequest.yaml (1 hunks)
  • swagger/components/schemas/v0DeliveryResponse.yaml (1 hunks)
  • swagger/components/schemas/v1DeliveryRequest.yaml (1 hunks)
  • swagger/routes/source.yaml (1 hunks)
💤 Files with no reviewable changes (1)
  • .github/workflows/prepare-for-prod-dt-deploy.yml
✅ Files skipped from review due to trivial changes (4)
  • src/index.ts
  • swagger/components/schemas/v1DeliveryRequest.yaml
  • src/v0/destinations/intercom/networkHandler.js
  • swagger/components/schemas/v0DeliveryResponse.yaml
🚧 Files skipped from review as they are similar to previous changes (19)
  • src/v0/destinations/attentive_tag/transform.js
  • swagger/components/examples/delivery/v0/request/request.yaml
  • src/v0/destinations/pardot/networkHandler.js
  • src/v0/destinations/rakuten/networkHandler.js
  • swagger/components/examples/delivery/v1/response/success.yaml
  • swagger/components/examples/delivery/v0/response/failure.yaml
  • src/sources/shopify/utils.test.js
  • src/cdk/v2/destinations/accoil_analytics/procWorkflow.yaml
  • swagger/components/examples/delivery/v0/response/success.yaml
  • src/v0/destinations/google_adwords_offline_conversions/networkHandler.js
  • swagger/components/examples/delivery/v1/response/failure.yaml
  • swagger/components/examples/delivery/v1/request/request.yaml
  • .github/workflows/prepare-for-dev-deploy.yml
  • src/v0/destinations/snapchat_custom_audience/networkHandler.js
  • swagger/components/schemas/v0DeliveryRequest.yaml
  • .github/workflows/slack-notify.yml
  • .github/workflows/update-ingestion-service.yml
  • .github/workflows/prepare-for-prod-rollback.yml
  • src/cdk/v2/destinations/userpilot/utils.test.js
🧰 Additional context used
📓 Path-based instructions (1)
**/*.js

⚙️ CodeRabbit configuration file

Focus on ESLint errors (max 3) and warnings (max 5).

Files:

  • src/adapters/network.js
  • src/v0/destinations/the_trade_desk/networkHandler.js
  • scripts/create-github-release.js
🧠 Learnings (1)
📚 Learning: 2025-03-21T12:32:28.443Z
Learnt from: krishna2020
Repo: rudderlabs/rudder-transformer PR: 4178
File: src/sources/shopify/transform.js:37-45
Timestamp: 2025-03-21T12:32:28.443Z
Learning: The getBodyFromV2SpecPayload function throws an error if request is not defined, making additional null checks in the getEventFromV2Request function unnecessary.

Applied to files:

  • swagger/routes/source.yaml
🧬 Code graph analysis (3)
src/adapters/network.js (5)
src/v0/destinations/intercom/networkHandler.js (2)
  • response (50-61)
  • requestOptions (43-49)
src/v0/destinations/pardot/networkHandler.js (2)
  • response (131-139)
  • requestOptions (124-130)
src/v0/destinations/rakuten/networkHandler.js (2)
  • response (22-33)
  • requestOptions (15-21)
src/v0/destinations/snapchat_custom_audience/networkHandler.js (2)
  • response (44-55)
  • requestOptions (37-43)
src/v0/destinations/the_trade_desk/networkHandler.js (2)
  • response (41-52)
  • requestOptions (34-40)
src/v0/destinations/the_trade_desk/networkHandler.js (2)
src/adapters/network.js (12)
  • response (119-119)
  • response (169-169)
  • response (473-481)
  • httpSend (192-195)
  • requestOptions (104-109)
  • requestOptions (193-193)
  • requestOptions (206-206)
  • requestOptions (223-223)
  • requestOptions (241-241)
  • requestOptions (266-266)
  • requestOptions (284-284)
  • requestOptions (466-472)
src/v0/destinations/intercom/networkHandler.js (2)
  • response (50-61)
  • requestOptions (43-49)
scripts/create-github-release.js (2)
src/logger.js (1)
  • log (89-120)
src/services/misc.ts (1)
  • getVersion (59-61)
⏰ 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). (9)
  • GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image ARM64
  • GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image ARM64
  • GitHub Check: Code Coverage
  • GitHub Check: UT Tests
  • GitHub Check: test_and_publish
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: Analyze (go)
🔇 Additional comments (15)
.github/workflows/build-push-docker-image.yml (1)

148-148: Format alignment approved.

The trailing whitespace removal from the comment line aligns with the PR's broader formatting initiative. No functionality or readability impact.

.github/workflows/prepare-for-prod-ut-deploy.yml (1)

208-208: Formatting alignment looks good.

The inline comment spacing adjustment aligns with the PR's broader Prettier formatting standardization across the codebase. No functional changes to the workflow.

swagger/routes/source.yaml (1)

40-45: Clarify v1Spec event structure change.

The v1Spec example's event field appears to have shifted from a JSON string representation to a structured YAML object. Confirm this change is intentional and aligns with the v1 transformation contract, not an unintended formatting artifact.

src/v0/destinations/the_trade_desk/networkHandler.js (1)

41-52: LGTM! Formatting improvement for readability.

The multi-line formatting of the httpSend call enhances code readability without altering functionality. This change is consistent with similar formatting updates across other destination networkHandler files in this PR.

src/adapters/network.js (7)

150-154: LGTM! Improved function signature formatting.

The multi-line formatting of the commonHandler function signature improves readability without any functional changes.


207-211: LGTM! Consistent multi-line formatting.

The commonHandler call formatting aligns with the updated code style throughout this file.


224-228: LGTM! Consistent formatting pattern.

This follows the same multi-line formatting pattern applied to other HTTP method wrappers in this file.


242-253: LGTM! Enhanced readability for complex arguments.

The multi-line formatting is particularly beneficial here given the number of properties in the argument object.


267-271: LGTM! Consistent with other HTTP method wrappers.

This formatting change maintains consistency across all HTTP method wrapper functions.


285-296: LGTM! Consistent formatting for method wrappers.

The multi-line formatting aligns with the httpPOST wrapper and improves code readability.


473-481: LGTM! Consistent with destination-specific networkHandlers.

This formatting change mirrors similar updates in destination-specific networkHandler files, maintaining consistency across the codebase.

.github/workflows/verify.yml (1)

40-42: LGTM! Excellent workflow simplification.

The new global format check step (npm run format:ci) effectively replaces the previous per-file formatting logic, making the workflow simpler and more consistent. Running this check early in the workflow provides fast feedback on formatting issues before proceeding to ESLint checks.

This change aligns perfectly with the PR's objective to ensure consistent formatting across the entire codebase rather than just changed files.

scripts/create-github-release.js (3)

121-139: Good modernization with arrow function.

The conversion to an arrow function is a clean, modern JavaScript practice that maintains the same behavior while improving code consistency.


181-214: Excellent formatting improvement for command arrays.

The multi-line formatting of command arrays significantly enhances readability by making each argument clearly visible. This makes the code easier to maintain and debug.


320-320: Good addition of getVersion to exports.

Properly exporting the getVersion function makes it available for reuse in other modules, which is consistent with similar implementations in the codebase (e.g., src/services/misc.ts).

Comment thread swagger/routes/source.yaml Resolved
@devops-github-rudderstack

Copy link
Copy Markdown
Contributor

Allure Test reports for this run are available at:

@sonarqubecloud

sonarqubecloud Bot commented Nov 4, 2025

Copy link
Copy Markdown

@shekhar-rudder
shekhar-rudder merged commit c8a8ce4 into develop Nov 4, 2025
@shekhar-rudder
shekhar-rudder deleted the chore.format-check branch November 4, 2025 11:58
ItsSudip added a commit that referenced this pull request Nov 12, 2025
* feat: introduce e2e tests UT (#4686)

* chore: update slack notification list (#4706)

* chore: skip pushing docker images for dependabot (#4714)

* chore: skip building images for debendabot

* chore: review comments

* chore: skip docker login for dependabot

* chore: skip docker login for dependabot

* chore: misc

* chore: misc

* chore: misc

* chore: misc

* chore: review comments

* chore: review comments

* chore: review comments

* chore: review comments

* chore: review comments

* chore: add dub to new test structure (#4717)

* chore: add readme for campaign_manager (#4710)

* chore: update GAOC readme with quota link (#4723)

* chore: apply security best practices (#4708)

[StepSecurity] Apply security best practices

Signed-off-by: StepSecurity Bot <[email protected]>

* feat: add validation of diff in staging deployment workflow (#4722)

* chore(deps-dev): bump commander from 10.0.1 to 14.0.2

Bumps [commander](https://github.com/tj/commander.js) from 10.0.1 to 14.0.2.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](tj/commander.js@v10.0.1...v14.0.2)

---
updated-dependencies:
- dependency-name: commander
  dependency-version: 14.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore(deps-dev): bump supertest from 6.3.4 to 7.1.4 (#4525)

---
updated-dependencies:
- dependency-name: supertest
  dependency-version: 7.1.4
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: add env vars for controlling the connection pooling on python transformations (#4738)

* chore: update facebook conversion api version from 22.0 to 24.0 (#4734)

* chore: update facebook conversion api version from 22.0 to 23.0

* chore: update facebook conversion api version from 23.0 to 45.0

* chore: fix typo

* chore: update facebook custom audience api version from 22.0 to 23.0 (#4735)

* chore: update facebook custom audience api version from 22.0 to 23.0

* chore: update facebook custom audience api version from 23.0 to 24.0

* chore: update facebook custom audience api version from 24.0 to 23.0 as it has some breaking changes

* chore: update facebook pixel api version from 22.0 to 24.0 (#4737)

* chore: update facebook pixel api version from 22.0 to 24.0

* chore: update facebook app events api version from 22.0 to 24.0 (#4736)

* chore: move rs-ai memory bank to transformer

* chore: add nodemon for hot reloading (#4748)

* chore: refactor code to update variable name in more readable format (#4747)

* feat: source transformation endpoint for facebook_lead_ads_native source (#4746)

* chore: disable clustering in nodemon configuration (#4749)

* chore: run format check on all files (#4750)

* fix: intercom rETL flow when user_id only provided as identifier (#4739)

* chore: apply security best practices from step security (#4727)

[StepSecurity] Apply security best practices

Signed-off-by: StepSecurity Bot <[email protected]>
Co-authored-by: stepsecurity-app[bot] <188008098+stepsecurity-app[bot]@users.noreply.github.com>

* chore(deps): bump actions/setup-node from 5.0.0 to 6.0.0

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v5.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: remove logs logging request/response body (#4754)

* chore: disable pyroscope for primary process in cluster mode (#4756)

* feat(reddit): onboard v3 api (#4699)

* feat(reddit): onboard v3 api

* chore: implement router batching flow

* feat: enable batching scenario

* chore: add test cases

* chore: address coderabbit comments

* chore: add mock for timestamp

* chore: add documentation for reddit

* fix: use crypto for hashing

* chore: address coderabbit comment

* chore: address comments

* chore: add validation and remove double type assertion

* chore: remove undefined files from final palyload

* chore: fix test case

* feat(reddit): onboard v3 api

* chore: implement router batching flow

* feat: enable batching scenario

* chore: add test cases

* chore: address coderabbit comments

* chore: add mock for timestamp

* chore: add documentation for reddit

* fix: use crypto for hashing

* chore: address coderabbit comment

* chore: address comments

* chore: add validation and remove double type assertion

* chore: remove undefined files from final palyload

* chore: fix test case

* chore: apply format

* chore: apply format

* chore(deps): bump actions/checkout from 4.3.0 to 5.0.0

Bumps [actions/checkout](https://github.com/actions/checkout) from 4.3.0 to 5.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4.3.0...08c6903)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* feat: add advertiser_tracking_enabled mapping for pinterest without featureFlag (#4740)

* chore(deps): bump actions/stale from 10.0.0 to 10.1.0

Bumps [actions/stale](https://github.com/actions/stale) from 10.0.0 to 10.1.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](actions/stale@v10.0.0...v10.1.0)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: 10.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: handle breaking changes for commander

* chore: fix breaking commander changes

* chore(release): 1.112.0

---------

Signed-off-by: StepSecurity Bot <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Rohith BCS <[email protected]>
Co-authored-by: Vinay Teki <[email protected]>
Co-authored-by: Mahesh Kutty <[email protected]>
Co-authored-by: Sudip Paul <[email protected]>
Co-authored-by: stepsecurity-app[bot] <188008098+stepsecurity-app[bot]@users.noreply.github.com>
Co-authored-by: Krishna Chaitanya <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jayachand Mopidevi <[email protected]>
Co-authored-by: GitHub Actions <[email protected]>
Co-authored-by: shekhar-rudder <[email protected]>
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.

3 participants