Skip to content

[Build Optimization] Migration to swc and swc-jest#3772

Draft
sayan-das-in wants to merge 2 commits into
mainfrom
build-optimization
Draft

[Build Optimization] Migration to swc and swc-jest#3772
sayan-das-in wants to merge 2 commits into
mainfrom
build-optimization

Conversation

@sayan-das-in
Copy link
Copy Markdown
Contributor

This PR addresses the following change

  • updates builder from TSC to SWC.
  • updates jest runner from ts-jest to @swc/jest

Testing

Include any additional information about the testing you have completed to
ensure your changes behave as expected. For a speedy review, please check
any of the tasks you completed below during your testing.

  • Added unit tests for new functionality
  • Tested end-to-end using the local server
  • [If destination is already live] Tested for backward compatibility of destination. Note: New required fields are a breaking change.
  • [Segmenters] Tested in the staging environment
  • [Segmenters] [If applicable for this change] Tested for regression with Hadron.

Security Review

Please ensure sensitive data is properly protected in your integration.

  • Reviewed all field definitions for sensitive data (API keys, tokens, passwords, client secrets) and confirmed they use type: 'password'

New Destination Checklist

  • Extracted all action API versions to verioning-info.ts file. example

@sayan-das-in sayan-das-in changed the title Migrated from ts-jest to swc-test [Build Optimization] Migration to swc and swc-jest May 1, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.76%. Comparing base (48b53d2) to head (958f12d).
⚠️ Report is 3 commits behind head on main.

❌ Your project check has failed because the head coverage (69.76%) is below the target coverage (70.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #3772       +/-   ##
===========================================
- Coverage   81.11%   69.76%   -11.36%     
===========================================
  Files        1656     1660        +4     
  Lines       32120    54155    +22035     
  Branches     7102    12475     +5373     
===========================================
+ Hits        26055    37779    +11724     
- Misses       5092    11257     +6165     
- Partials      973     5119     +4146     

☔ 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.

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.

2 participants