-
Notifications
You must be signed in to change notification settings - Fork 32
feat: add all branches option to TA branch selector #3842
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
base: main
Are you sure you want to change the base?
Conversation
Bundle ReportChanges will increase total bundle size by 325 bytes (0.0%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: gazebo-staging-systemAssets Changed:
Files in
Files in
view changes for bundle: gazebo-staging-esmAssets Changed:
Files in
Files in
|
Bundle ReportChanges will increase total bundle size by 325 bytes (0.0%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: gazebo-production-systemAssets Changed:
Files in
Files in
view changes for bundle: gazebo-production-esmAssets Changed:
Files in
Files in
|
This comment has been minimized.
This comment has been minimized.
❌ 8 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
❌ 8 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
❌ 8 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
❌ 8 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
✅ Deploy preview for gazebo ready!Previews expire after 1 month automatically.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small thing to clean up, but looks all good 👍
selection = { | ||
name: 'Select branch', | ||
head: null, | ||
console.log('selection', selection) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚨 🚓 🚨
To see data for the {testData?.defaultBranch} branch, merge your PR | ||
into the {testData?.defaultBranch} branch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should there be some fallback copy if the default branch doesn't exist?
basically we're going to be encoding a null branch parameter as specifying "all branches". So if a user goes to `<service>/<owner>/<repo>/tests` they will no longer get redirected or told to select a branch, we'll first attempt to fetch the results for all branches from the API. This change will rely on the change to the API which changes the default value of the branch when it's undefined to fetch the "all branches" data instead of the repo's default branch's data.
49b51e0
to
06a7dff
Compare
also updates condition for showing error messages in failed tests table component
we want to allow users to not filter by any specific branch and aggregate the results from all branches
we also want to make this the default option when users land on the tests tab from now on
i'm putting this behind a feature flag because the backend is not capable of serving this data yet since it relies on the TA timescale data migration, and there's an equivalent API change that needs to be made for this to work correctly as well
fixed a thing where when users were searching through the branch selector for a specific branch we were still pinning the default branch to the top of the selection
also the all branches view has all the nice stuff that the default branch view has: metrics section, reset to default button, etc.