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

Add 3.3.0-preview2-pshopify1 #25

Merged
merged 2 commits into from
Sep 26, 2023
Merged

Add 3.3.0-preview2-pshopify1 #25

merged 2 commits into from
Sep 26, 2023

Conversation

k0kubun
Copy link
Member

@k0kubun k0kubun commented Sep 21, 2023

Copy link
Member

@peterzhu2118 peterzhu2118 left a comment

Choose a reason for hiding this comment

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

Do we want to add a definition for 3.3.0-preview2-pshopify1 rather than just building with a SHA in the services we're experimenting on?

@k0kubun
Copy link
Member Author

k0kubun commented Sep 21, 2023

just building with a SHA in the services we're experimenting on

In case it wasn't clear, this version is not for experimental clusters but supposed to be deployed to services like SFR (all clusters) and Core, and therefore it will be installed in development environments too. While I do intend to use it as a way to test the version works well before it's actually released, I want these versions to be relatively stable (definitely don't deploy MaNy once merged, until it gets stabilized) and mainly ship bugfixes and performance improvements, instead of things "we're experimenting on". It's as non-experimental as 3.2.2-pshopify.

I think we want to eventually get to the point where you can install precompiled binaries for these Ruby versions at least for our internal gems as Jean said. When we do so, it'd be nice to use a versioning scheme like 3.3.0-fooX-pshopifyY where fooX can be used as an ABI version so that you don't need to release a binary for every single gem whenever you change a sha (bump pshopifyY).

I don't care whether we use a preview version or not. We could pick a random sha and call it 3.3.0-shopifypreview1 and then release 3.3.0-shopifypreview1-pshopify1, 3.3.0-shopifypreview1-pshopify2, and so on. But I think it should have a name like that so that tools like dev can figure out ABI compatibility just from version names.

Since 3.3.0-preview2 happens to be new and stable enough, I just picked that as a base version for the ABI part instead of inventing a name like shopifypreview1 just yet.

@peterzhu2118
Copy link
Member

I see. We need to change this sorting algorithm to rank -preview to be lower because otherwise 3.3.0-preview2-pshopify1 will be ranked higher than 3.3.0-pshopify1.

@casperisfine
Copy link
Contributor

It would be good to backport the crash reporter patch as well, so that if we run into bugs in production we get decent reports.

https://github.com/nobu/ruby/tree/crash_report

@k0kubun k0kubun force-pushed the v3.3.0-preview2-pshopify1 branch 2 times, most recently from 39524bb to f314ddf Compare September 25, 2023 17:41
@k0kubun
Copy link
Member Author

k0kubun commented Sep 25, 2023

I see. We need to change this sorting algorithm to rank -preview to be lower because otherwise 3.3.0-preview2-pshopify1 will be ranked higher than 3.3.0-pshopify1.

Thanks for catching it. I fixed it to use different keys for 3.3.0 and 3.3.0-preview2 d58057a, so it's still ranked higher but they don't conflict. I think we should specify ruby: 3.3.0-preview2 to use a preview version instead of resolving ruby: 3.3 to 3.3.0-preview2.

It would be good to backport the crash reporter patch as well, so that if we run into bugs in production we get decent reports.

Backported ruby/ruby#8506 in 16bb3b2.

@k0kubun k0kubun merged commit 35cb457 into main Sep 26, 2023
4 checks passed
@k0kubun k0kubun deleted the v3.3.0-preview2-pshopify1 branch September 26, 2023 00:20
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.

3 participants