Repository navigation
[No QA] Stop deploying staging builds to test-staging - #105156
Conversation
Staging and production are deployed to their own Workers now, so test-staging is only for trying Worker changes by hand. Redeploying it on every staging deploy would overwrite whatever is being tested there.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@Eskalifer1 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
| "env": { | ||
| // Serves a staging build on test-staging.new.expensify.com, a hostname nobody else uses. | ||
| // Serves a staging build on test-staging.new.expensify.com, a hostname nobody else uses. Only deployed by hand. | ||
| "test-staging": { |
There was a problem hiding this comment.
Why should we keep it? Should we just remove it 100%?
There was a problem hiding this comment.
Now that this is the only piece of infrastructure that sits in front of App, I think it's useful to have it as a way to test "infrastructure" changes to the worker and validate they work before we send a PR for staging/prod. We could rely on the dev server, but I still like having something live to rule out any differences
There was a problem hiding this comment.
Nab but can we test changes on AdHoc builds?
There was a problem hiding this comment.
yeah that's true, but we need to move over adhoc. I'll look at that next
There was a problem hiding this comment.
@justinpersaud I have these PRs for AdHoc:
- [No QA] Migrate the PR-testing (now AdHoc) Cloudflare Worker to App #104801
- https://github.com/Expensify/Cloudflare-Workers/pull/272
I'll get them ready for review. Just want to make sure we're not duplicating work.
There was a problem hiding this comment.
oh ok I'll leave that to you
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 roryabraham has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.5.24-1 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.5.24-8 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
webDeployTestStagingjob: staging and production are deployed to their own Cloudflare Workers bywebDeploy, so test-staging no longer needs every staging build. It's now only for trying Worker changes by hand, and redeploying it on every staging deploy would overwrite whatever is being tested there.test-stagingenvironment stays inwrangler.jsonc, sonpx wrangler deploy --env test-stagingstill works. The README and config comment now say it's only deployed by hand.Fixed Issues
$ https://github.com/Expensify/Expensify/issues/688126
PROPOSAL:
Tests
None yet. After merging, check that the next staging deploy has no
Deploy Web to test-staging.new.expensify.comjob, and that test-staging still serves whatever was last deployed there by hand.Offline tests
None. This only changes the deploy workflow.
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
No QA. This only changes the deploy workflow.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari