Skip to content

fix: actionCache miss reason does NOT have an "UNKNOWN" enum at index 0#79

Merged
trey-ivy merged 3 commits intobuildbarn:mainfrom
jasonschroeder-sfdc:action-cache-enums
Feb 11, 2025
Merged

fix: actionCache miss reason does NOT have an "UNKNOWN" enum at index 0#79
trey-ivy merged 3 commits intobuildbarn:mainfrom
jasonschroeder-sfdc:action-cache-enums

Conversation

@jasonschroeder-sfdc
Copy link
Contributor

The MissReason enum doesn't align with the missReason() label.

I also added "UNCONDITIONAL_EXECUTION" enum consistently (Green for the UI)

@jasonschroeder-sfdc jasonschroeder-sfdc marked this pull request as ready for review February 8, 2025 18:16
Copy link
Collaborator

@trey-ivy trey-ivy left a comment

Choose a reason for hiding this comment

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

Hey @jasonschroeder-sfdc

Thanks for putting this up! I have some minor feedback, but this is a great catch!

Also i think there is one more place you need to update. frontend/src/components/ActionCacheMetrics/index.module.css should include the color for unconditional execution.

@trey-ivy
Copy link
Collaborator

hey @jasonschroeder-sfdc
can you rebase on main? there was an issue with the frontend docker file unrelated to your PR

@jasonschroeder-sfdc
Copy link
Contributor Author

All set, @trey-ivy ! I just picked green for UNCONDITIONAL_EXECUTION as it seems like we don't have any greens yet. But I have no UX talent and the color is arbitrary :)

@jasonschroeder-sfdc
Copy link
Contributor Author

Let me know if you'd like me to squash commits.

@trey-ivy trey-ivy merged commit db914e1 into buildbarn:main Feb 11, 2025
2 checks passed
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

Comments