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

Fixes for RNG, part 1 #137

Merged
merged 15 commits into from
Nov 13, 2024
Merged

Fixes for RNG, part 1 #137

merged 15 commits into from
Nov 13, 2024

Conversation

JCGoran
Copy link
Collaborator

@JCGoran JCGoran commented Nov 12, 2024

@JCGoran JCGoran changed the title [WIP] Fixes for RNG [WIP] Fixes for RNG, part 1 Nov 12, 2024
@JCGoran JCGoran changed the title [WIP] Fixes for RNG, part 1 Fixes for RNG, part 1 Nov 12, 2024
@JCGoran JCGoran marked this pull request as ready for review November 12, 2024 14:20
@JCGoran JCGoran requested a review from nrnhines November 13, 2024 12:35
Copy link
Member

@nrnhines nrnhines left a comment

Choose a reason for hiding this comment

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

I approve this but am curious about the way we identify model variants by the pull request number. Is that stable when the pull request is merged to the master and the pr or branch is removed? I suppose we will become aware when the the ci fails. At least on github, the old pr numbers are not reused for future pull requests.

@JCGoran
Copy link
Collaborator Author

JCGoran commented Nov 13, 2024

I think we should be fine, we are querying URLs of the form:

https://api.github.com/repos/[org_or_user]/[repo]/zipball/pull/[PR number]/head

and this seems to return the right zip file regardless if the PR is merged or the branch deleted.

@JCGoran JCGoran merged commit 30530bd into master Nov 13, 2024
1 check passed
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.

2 participants