-
Notifications
You must be signed in to change notification settings - Fork 64
🌱 Update target and GitHub Action to run and upload all demos daily #2020
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?
🌱 Update target and GitHub Action to run and upload all demos daily #2020
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2020 +/- ##
==========================================
+ Coverage 73.78% 73.84% +0.05%
==========================================
Files 80 80
Lines 7146 7146
==========================================
+ Hits 5273 5277 +4
+ Misses 1550 1547 -3
+ Partials 323 322 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
44c7d99
to
ef9a390
Compare
should we rename the other scripts to append _script? |
ef9a390
to
f10f3a0
Compare
Hi @perdasilva
I did that. If you have a better idea, please feel free to share. |
6f9896e
to
020f801
Compare
Is this in response to an actual problem, or a perceived future one? |
Hi @grokspawn
Today **we don’t run all demos in CI—**just the ones listed in the catalogd catalog. We can run all of them via GitHub action in CI, but over time that might slow things down or get expensive. IMO agree it’s better to wait for real problems before adding more work. That is my preferred choice Personally, I’d keep running demos in CI only when related code changes. They kind of act like end-to-end tests, especially for feature-gated stuff where we don’t have full test coverage yet. We moved to a cronjob because of @perdasilva’s concerns about CI time. If @perdasilva is okay with it, I’m happy to move the demo call back to CI—and only switch to cronjob if it becomes a problem again. That feels like the best approach to me 👍 |
@grokspawn yeah, I'm not in favor of running a 15 minute job (which will only grow) on a PR basis for something that seems more like stale documentation to me. Don't get me wrong, it matters. I'm just not sure we want to hold up PRs because of it, or run it with this level of frequency. We may want to hold a release back, but PRs, probably not. The unit tests and e2e suites should already give us pretty good signal that things are working as they should. I don't think we should use demos for that. In any case, the biggest vector for demo failures would probably be changes in API surface, which should occur fairly seldomly. The failure rate of the catalogd-demo GHA is extremely low (and in the failures I've seen, it's not even exactly clear that the RC was something wrong with the demo). Tbh, thinking a bit more about it, I'd start by making this a non-blocking step of the release pipeline and use fewer resources. If we feel strongly about running this more frequently than once before release, maybe a good compromise would be to only run it when there are relevant manifest/API changes? |
my bad if I missed it. I was looking in the output for the job and didn't see them (which doesn't mean they weren't there XDD) - thank you!!! |
Thank you for your support and inputs 🎉
The way that we configure it here now is:
I think it is a good compromise that can make everybody happy 👍 |
020f801
to
91d3d29
Compare
/lgtm |
Motivation
We've been adding a lot of demos lately — which is awesome! 🎉
To make sure we don't break them over time, it's important to keep them up to date.
However, running them in CI on every change would significantly increase build times.
We already had a GitHub Action in place to update the catalogd demo.
Therefore, this PR updates that logic to run all demos once a day instead, via a scheduled job — and renames the Makefile target accordingly.