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

[HOLD for payment 2024-08-05] Include build artifacts on GH releases for all deploys #36758

Closed
roryabraham opened this issue Feb 17, 2024 · 21 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Improvement Item broken or needs improvement. Weekly KSv2

Comments

@roryabraham
Copy link
Contributor

roryabraham commented Feb 17, 2024

Problem

Sometimes, such as for upgrades, or when searching for the source of a regression, we want to test a old version(s) of our app, but we currently don't provide an easy way to do that.

Solution (part 1)

Include build artifacts on all our GitHub releases:

  • The .dmg for the desktop app
  • The APK for the Android app
  • The AAP for the iOS app

source code is already included.

Solution (part 2)

Currently our deploy paradigm is:

- 1 tag == 1 staging deploy
- 1 release == 1 production deploy

We should update it such that it's:

- 1 prerelease == 1 staging deploy
- 1 release == 1 production deploy

That way we have historical artifacts from all our deploys, not just production deploys.

Issue OwnerCurrent Issue Owner: @mallenexpensify
@roryabraham roryabraham added Monthly KSv2 Planning Changes still in the thought process labels Feb 17, 2024
@roryabraham roryabraham self-assigned this Feb 17, 2024
@roryabraham
Copy link
Contributor Author

Pretty low priority, but also should be pretty easy (part 1, anyways). Saving this for a rainy day

@roryabraham
Copy link
Contributor Author

Two things are on HOLD for this, so I'm going to bump the priority and try to get it out sometime this week.

@roryabraham roryabraham added Weekly KSv2 NewFeature Something to build that is a new item. and removed Monthly KSv2 Planning Changes still in the thought process labels Feb 28, 2024
Copy link

melvin-bot bot commented Feb 28, 2024

@roryabraham
Copy link
Contributor Author

this isn't a product feature but a development/QA testing feature

@mallenexpensify
Copy link
Contributor

@roryabraham let me know if I can help 'spread the word' when this is done. ie. SO, post/pin in #expensify-open-source.

@roryabraham
Copy link
Contributor Author

yeah, that'd be helpful

@roryabraham
Copy link
Contributor Author

co-assigning you here but making myself the issue owner for the time being

@mallenexpensify
Copy link
Contributor

Not a high priority, Rory will get to soon (curious if my commenting will remove overdue if you're the owner Rory)

@roryabraham
Copy link
Contributor Author

prioritizing a few other things over this

@melvin-bot melvin-bot bot removed the Overdue label Mar 21, 2024
@mallenexpensify mallenexpensify added Improvement Item broken or needs improvement. and removed NewFeature Something to build that is a new item. labels Mar 28, 2024
@mallenexpensify
Copy link
Contributor

@roryabraham I removed NewFeature and added Improvement because we're moving all bugs and feature requests to projects and I couldn't think of where this would best fit on our roadmap

@melvin-bot melvin-bot bot added the Overdue label Apr 1, 2024
@mallenexpensify
Copy link
Contributor

Rory has to comment for it to not be overdue

@roryabraham
Copy link
Contributor Author

Yeah, I'm not sure where this fits in the roadmap, but I do think it's an important improvement that will allow us to better test and monitor the app upgrade process

@melvin-bot melvin-bot bot removed the Overdue label May 23, 2024
@melvin-bot melvin-bot bot added the Overdue label Jun 3, 2024
@melvin-bot melvin-bot bot removed the Weekly KSv2 label Jun 17, 2024
Copy link

melvin-bot bot commented Jun 17, 2024

This issue has not been updated in over 15 days. @mallenexpensify, @roryabraham eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@melvin-bot melvin-bot bot added Monthly KSv2 and removed Overdue labels Jun 17, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Monthly KSv2 labels Jul 12, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jul 13, 2024
@roryabraham
Copy link
Contributor Author

Put up a PR for part 1: #45364

@roryabraham roryabraham removed the Reviewing Has a PR in review label Jul 13, 2024
@roryabraham
Copy link
Contributor Author

First part is done, and I'm actually going to call this done-done. We will now be able get the release artifacts for every deploy (after one more full deploy cycle happens).

To get release artifacts for production deploys, just go to https://github.com/Expensify/App/releases, find the release you want, and look at Assets.

To get release artifacts for staging deploys, go to https://github.com/Expensify/App/actions/workflows/platformDeploy.yml, click on the workflow run for the version you're looking for, and the release artifacts will be there at the bottom.

It's worth noting that release artifacts for staging deploys won't be stored forever, but AFAIK release artifacts for production deploys will be. I think that's probably fine, and fixing it by completing the 2nd half of this issue would be an order of magnitude harder than completing the first half was.

@mallenexpensify
Copy link
Contributor

oooh, neat! I created this SO and asked ya. Seems like something we want documented and I wasn't able to find anything when I searched. Can you also share deets in #expensify-open-source and pin the post? (or... I'll do so once you've updated the SO).

@roryabraham
Copy link
Contributor Author

answered in SO

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jul 25, 2024
@melvin-bot melvin-bot bot changed the title Include build artifacts on GH releases for all deploys [HOLD for payment 2024-08-05] Include build artifacts on GH releases for all deploys Jul 29, 2024
Copy link

melvin-bot bot commented Jul 29, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 29, 2024
Copy link

melvin-bot bot commented Jul 29, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.13-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-08-05. 🎊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Improvement Item broken or needs improvement. Weekly KSv2
Projects
None yet
Development

No branches or pull requests

3 participants