MT-22040: upgrade github-actions CI and composite runtimes#68
MT-22040: upgrade github-actions CI and composite runtimes#68leonid-shevtsov wants to merge 2 commits into
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
📝 WalkthroughWalkthroughThis PR modernizes the repository's CI infrastructure and Node.js runtime environment. Node.js is upgraded from version 20 to 22 in the base configuration, all custom GitHub Actions are migrated from node20 to node24 runtime, and runtime dependencies are updated uniformly across the actions. The workflow is simplified with modern action versions and built-in concurrency handling. ChangesNode.js Runtime and Dependency Modernization
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. 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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/main.yml:
- Around line 14-17: Replace mutable GitHub Actions refs with their immutable
commit SHAs for the four usages mentioned: change the `uses:` entries for
actions/checkout@v6, actions/setup-node@v6, actions/upload-artifact@v7, and
8398a7/action-slack@v3.19.0 to the corresponding full commit SHAs (obtain the
exact SHA from each action’s GitHub repository/tags) so the workflow pins to a
specific commit; update the `uses:` values to those SHAs and confirm the
workflow still runs by testing the CI.
🪄 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: defaults
Review profile: CHILL
Plan: Pro
Run ID: 56553fef-4436-4a3b-a552-3327153c17d9
⛔ Files ignored due to path filters (36)
fetch-task-definition/dist/index.jsis excluded by!**/dist/**github-ref-to-env/dist/index.jsis excluded by!**/dist/**read-from-ssm-param-store/dist/136.index.jsis excluded by!**/dist/**read-from-ssm-param-store/dist/254.index.jsis excluded by!**/dist/**read-from-ssm-param-store/dist/287.index.jsis excluded by!**/dist/**read-from-ssm-param-store/dist/410.index.jsis excluded by!**/dist/**read-from-ssm-param-store/dist/448.index.jsis excluded by!**/dist/**read-from-ssm-param-store/dist/520.index.jsis excluded by!**/dist/**read-from-ssm-param-store/dist/544.index.jsis excluded by!**/dist/**read-from-ssm-param-store/dist/578.index.jsis excluded by!**/dist/**read-from-ssm-param-store/dist/589.index.jsis excluded by!**/dist/**read-from-ssm-param-store/dist/919.index.jsis excluded by!**/dist/**read-from-ssm-param-store/dist/index.jsis excluded by!**/dist/**register-ecs-task-definition/dist/136.index.jsis excluded by!**/dist/**register-ecs-task-definition/dist/254.index.jsis excluded by!**/dist/**register-ecs-task-definition/dist/287.index.jsis excluded by!**/dist/**register-ecs-task-definition/dist/410.index.jsis excluded by!**/dist/**register-ecs-task-definition/dist/448.index.jsis excluded by!**/dist/**register-ecs-task-definition/dist/520.index.jsis excluded by!**/dist/**register-ecs-task-definition/dist/544.index.jsis excluded by!**/dist/**register-ecs-task-definition/dist/578.index.jsis excluded by!**/dist/**register-ecs-task-definition/dist/589.index.jsis excluded by!**/dist/**register-ecs-task-definition/dist/919.index.jsis excluded by!**/dist/**register-ecs-task-definition/dist/index.jsis excluded by!**/dist/**run-ecs-task/dist/136.index.jsis excluded by!**/dist/**run-ecs-task/dist/254.index.jsis excluded by!**/dist/**run-ecs-task/dist/287.index.jsis excluded by!**/dist/**run-ecs-task/dist/410.index.jsis excluded by!**/dist/**run-ecs-task/dist/448.index.jsis excluded by!**/dist/**run-ecs-task/dist/520.index.jsis excluded by!**/dist/**run-ecs-task/dist/544.index.jsis excluded by!**/dist/**run-ecs-task/dist/578.index.jsis excluded by!**/dist/**run-ecs-task/dist/589.index.jsis excluded by!**/dist/**run-ecs-task/dist/919.index.jsis excluded by!**/dist/**run-ecs-task/dist/index.jsis excluded by!**/dist/**yarn.lockis excluded by!**/yarn.lock,!**/*.lock
📒 Files selected for processing (13)
.gitattributes.github/workflows/main.yml.node-versionfetch-task-definition/action.ymlfetch-task-definition/package.jsongithub-ref-to-env/action.ymlgithub-ref-to-env/package.jsonread-from-ssm-param-store/action.ymlread-from-ssm-param-store/package.jsonregister-ecs-task-definition/action.ymlregister-ecs-task-definition/package.jsonrun-ecs-task/action.ymlrun-ecs-task/package.json
Changes
concurrencyandcancel-in-progress(same rules: no cancel onmasteror tags).actions/checkout@v6,setup-node@v6withnode-version-fileand Yarn cache,upload-artifact@v7, pinnedaction-slack@v3.19.0)..node-versionto Node 22; set composite actions tonode24runtime.@actions/core, AWS SDK v3 clients, andyarn.lock; rebuildnccbundles (including new chunk files underdist/).How to test
Summary by CodeRabbit