Skip to content

fix: upload non-version tagged release artifacts#64

Closed
sdwilsh wants to merge 1 commit intofacebook:mainfrom
sdwilsh:non-versioned-releases
Closed

fix: upload non-version tagged release artifacts#64
sdwilsh wants to merge 1 commit intofacebook:mainfrom
sdwilsh:non-versioned-releases

Conversation

@sdwilsh
Copy link
Copy Markdown
Contributor

@sdwilsh sdwilsh commented Jun 23, 2025

Our Dev Container feature, today, uses the GitHub REST API in order to figure out the correct "latest" release. However, this can be rate limited, and in fact, we've had some of our tests fail for that exact reason. We cannot use the magic latest URL to fetch artifacts because the version number is also in the artifact. Therefore, we must start to upload artifacts without version numbers as well.

This also makes a change with the non-versioned artifacts to use uname -m-compatible architecture suffixes.

Our Dev Container feature, today, uses the GitHub REST API in order to
figure out the correct "latest" release.  However, this can be rate
limited, and in fact, we've had some of our tests fail for that exact
reason.  We cannot use the magic `latest` URL to fetch artifacts because
the version number is also in the artifact.  Therefore, we must start to
upload artifacts without version numbers as well.

This also makes a change with the non-versioned artifacts to use
`uname -m`-compatible architecture suffixes.
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@sdwilsh has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@sdwilsh sdwilsh marked this pull request as ready for review June 23, 2025 22:56
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@sdwilsh merged this pull request in 2f5b062.

facebook-github-bot pushed a commit that referenced this pull request Jun 23, 2025
Summary: We got this wrong in #64, and automation merged it before I could fix it.

Reviewed By: bigfootjon

Differential Revision: D77190788

fbshipit-source-id: af6e12cc9e52391c4b91f2ecf6b409f286344b8d
facebook-github-bot pushed a commit that referenced this pull request Jun 26, 2025
…#62)

Summary:
This does a few things:
- Uses versionless artifacts to avoid rate limits of the GitHub API (which we can do now that #64 has been merged)
- Adds CI for arm (+ publishes a dev container since our CI needs it for arm)
- Adds a test when specifying a version

Pull Request resolved: #62

Reviewed By: bigfootjon

Differential Revision: D77389154

Pulled By: sdwilsh

fbshipit-source-id: aa67a7cf7a8bf73a64eee6ba53f7128ebb66a6c7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants