Skip to content

fix: update yaml path for hosted user-transformer image config - #4545

Merged
koladilip merged 1 commit into
developfrom
fix/hosted-user-transformer-yaml-path
Aug 4, 2025
Merged

koladilip merged 1 commit into
developfrom
fix/hosted-user-transformer-yaml-path

Conversation

@koladilip

@koladilip koladilip commented Aug 1, 2025 •

Copy link
Copy Markdown
Contributor

What are the changes introduced in this PR?

Fixed the yaml path in the GitHub workflow for hosted user-transformer deployment. The paths were incorrectly using dot notation instead of the correct kebab-case format.

What is the related Linear task?

Resolves https://linear.app/rudderstack/issue/INT-3983/on-call-july-30-5-dilip-progress-on-following-tasks

Please explain the objectives of your changes below

Updated the yaml evaluation paths in from:

  • to
  • to

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

Fixed incorrect yaml path format that was preventing proper image configuration updates during deployment.

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.

@koladilip
koladilip requested a review from sivashanmukh as a code owner August 1, 2025 11:58
@koladilip
koladilip requested a review from a team August 1, 2025 11:58
@coderabbitai

coderabbitai Bot commented Aug 1, 2025 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Chores
    • Updated deployment workflow configuration to use new field names for image tag and repository.

Walkthrough

The YAML patch commands in the GitHub Actions workflow for preparing production deployments have been updated. The targeted fields in the Helm chart file have changed from .spec.user_transformer.image.version and .spec.user_transformer.image.repository to .user-transformer.image.tag and .user-transformer.image.repository, reflecting a change in key structure and naming conventions.

Changes

Cohort / File(s) Change Summary
Workflow YAML Patch Updates
.github/workflows/prepare-for-prod-ut-deploy.yml
Modified patch commands to update .user-transformer.image.tag and .user-transformer.image.repository instead of the previous .spec.user_transformer.image.version and .spec.user_transformer.image.repository fields. No other workflow logic changed.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5-10 minutes

Suggested reviewers

  • sivashanmukh

Suggestion:
Consider adding a comment or documentation update in the workflow file to clarify the reason for the key structure change, ensuring future maintainers understand the rationale behind the update.

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/hosted-user-transformer-yaml-path

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@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

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 94f48e1 and e5c2793.

📒 Files selected for processing (1)
  • .github/workflows/prepare-for-prod-ut-deploy.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). (9)
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image ARM64
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Build User 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)

@devops-github-rudderstack

Copy link
Copy Markdown
Contributor

Allure Test reports for this run are available at:

@codecov

codecov Bot commented Aug 1, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.79%. Comparing base (7ae313f) to head (e5c2793).
⚠️ Report is 27 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4545      +/-   ##
===========================================
+ Coverage    91.63%   91.79%   +0.16%     
===========================================
  Files          643      642       -1     
  Lines        34020    33883     -137     
  Branches      8048     8023      -25     
===========================================
- Hits         31174    31103      -71     
+ Misses        2588     2528      -60     
+ Partials       258      252       -6     

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

@sonarqubecloud

sonarqubecloud Bot commented Aug 1, 2025

Copy link
Copy Markdown

@koladilip
koladilip merged commit 65868f6 into develop Aug 4, 2025
@koladilip
koladilip deleted the fix/hosted-user-transformer-yaml-path branch August 4, 2025 06:04
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.

4 participants