Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ignore segment order in diff calculation #8880

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented Nov 28, 2024

About the changes

Backend does not guarantee segment order (segments are more like a set than a list) so very often in diff calculation we get those results even when no segments changed in the CR
Screenshot 2024-11-28 at 15 19 16

After this fix we get info about no changes since we always sort segments before diffing
Screenshot 2024-11-28 at 15 17 32

Important files

Discussion points

Copy link

vercel bot commented Nov 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 28, 2024 2:26pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Nov 28, 2024 2:26pm

Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

@kwasniew kwasniew merged commit 8d1ebf6 into main Nov 28, 2024
13 checks passed
@kwasniew kwasniew deleted the ignore-segment-order-diff-calculation branch November 28, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants