Skip to content

fix: version deps UI factors in metadata and created_at#1095

Merged
adityachoudhari26 merged 1 commit intomainfrom
fix-version-dep-ui
May 1, 2026
Merged

fix: version deps UI factors in metadata and created_at#1095
adityachoudhari26 merged 1 commit intomainfrom
fix-version-dep-ui

Conversation

@adityachoudhari26
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 1, 2026 13:41
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 1, 2026

Warning

Rate limit exceeded

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

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ 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: 6facb0f2-3183-4a22-adbb-ff375e934e1f

📥 Commits

Reviewing files that changed from the base of the PR and between 4957142 and 71a41f4.

📒 Files selected for processing (4)
  • apps/web/app/routes/ws/deployments/_components/environmentversiondecisions/rule-results/DependencyDetail.tsx
  • apps/web/app/routes/ws/deployments/_components/release-targets/Dependencies.tsx
  • packages/trpc/src/routes/deployment-versions.ts
  • packages/trpc/src/routes/release-targets.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-version-dep-ui

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
Review rate limit: 0/1 reviews remaining, refill in 46 minutes and 11 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the deployment dependency evaluation data flow so the web UI’s CEL-based dependency checks can consider version.createdAt and version.metadata (and related fields) when determining whether a dependency is satisfied.

Changes:

  • Extend TRPC dependency query results to include createdAt, metadata, and message for the currently deployed upstream versions.
  • Serialize createdAt to ISO strings in TRPC responses where these versions are returned to the web UI.
  • Update dependency UI components to pass the newly available fields into the CEL evaluation context.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
packages/trpc/src/routes/release-targets.ts Adds createdAt, message, metadata, and deploymentId to upstream “current version” dependency payloads for release-target dependencies.
packages/trpc/src/routes/deployment-versions.ts Adds createdAt, message, and metadata to per-(env,resource) dependency “current version” payloads.
apps/web/app/routes/ws/deployments/_components/release-targets/Dependencies.tsx Extends CEL context with createdAt, metadata, message, deploymentId when evaluating dependency satisfaction.
apps/web/app/routes/ws/deployments/_components/environmentversiondecisions/rule-results/DependencyDetail.tsx Extends CEL context with createdAt, metadata, message, deploymentId when evaluating dependency satisfaction per target.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

status: version.status,
deploymentId: version.deploymentId,
createdAt: version.createdAt,
message: version.message ?? "",
status: version.status,
deploymentId: version.deploymentId,
createdAt: version.createdAt,
message: version.message ?? "",
@adityachoudhari26 adityachoudhari26 merged commit 34f2f77 into main May 1, 2026
16 of 17 checks passed
@adityachoudhari26 adityachoudhari26 deleted the fix-version-dep-ui branch May 1, 2026 13:49
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.

2 participants