-
Notifications
You must be signed in to change notification settings - Fork 212
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
chore(.github): Document and explain CI override directives #10318
Conversation
.github/PULL_REQUEST_TEMPLATE.md
Outdated
|
||
closes: #XXXX | ||
refs: #XXXX | ||
|
||
<!-- Integration testing doesn't run for every PR, but can be opted into by adding label 'force:integration', and can be customized to use non-default external references by including lines here that **start** with leading-`#` directives: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is helpful. How can we ensure that it's updated when the truth of this changes?
Maybe if each branch override config has a reference to this file? Alternately we could adopt a scheme like #integrate: <repo> <branch>
Not asking for that work just exploring options
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need process here; changes to the list of directives are rare and the template is implicitly reviewed roughly once per PR, so I have confidence that it would catch up in short order. But if we do DRY out something like .github/actions/read-pr-directive, I could see adding a link from its description to this comment in the template.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Integration testing does run for every PR, but only once the PR is labelled to merge. force:integration
allows running integration tests for every PR push.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arguably the external references should be removed before merging the PR to verify that the integration with the default branch still works (our logic is not sufficiently sophisticated to ignore these directives at the time of merge, plus it's possible we might someday do synchronized merges across repos which requires one side to keep the directive through merging)
Deploying agoric-sdk with Cloudflare Pages
|
.github/PULL_REQUEST_TEMPLATE.md
Outdated
|
||
closes: #XXXX | ||
refs: #XXXX | ||
|
||
<!-- Integration testing doesn't run for every PR, but can be opted into by adding label 'force:integration', and can be customized to use non-default external references by including lines here that **start** with leading-`#` directives: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Integration testing does run for every PR, but only once the PR is labelled to merge. force:integration
allows running integration tests for every PR push.
.github/PULL_REQUEST_TEMPLATE.md
Outdated
|
||
closes: #XXXX | ||
refs: #XXXX | ||
|
||
<!-- Integration testing doesn't run for every PR, but can be opted into by adding label 'force:integration', and can be customized to use non-default external references by including lines here that **start** with leading-`#` directives: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arguably the external references should be removed before merging the PR to verify that the integration with the default branch still works (our logic is not sufficiently sophisticated to ignore these directives at the time of merge, plus it's possible we might someday do synchronized merges across repos which requires one side to keep the directive through merging)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems ok to me
… in PR descriptions
e7b054c
to
d69e965
Compare
Description
Updates inline comments in GitHub actions files to explain CI override directives (
#endo-branch
,#getting-started-branch
, etc.) and adds references to them in the PR template to reduce our dependence upon oral tradition.Also, although out of scope for this PR and probably not needed, we might consider a future change to pull out a helper for consumption of such directives:
.github/**/*.yml
.github/actions/read-pr-directive
Security Considerations
n/a
Scaling Considerations
n/a
Documentation Considerations
☑️
Testing Considerations
n/a
Upgrade Considerations
n/a