Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@twavv
Copy link
Contributor

@twavv twavv commented Aug 25, 2022

I think this will help us be more robust against weird things happen because we're trying to figure out the users intention based on how the PRs are arranged on GitHub.

This also will mean that we don't have to use the avbeta-stackedprs label since we can just read the metadata from the PR comment. I think this will be necessary to avoid accidentally injecting stacked PRs functionality into existing dev workflows.

This is what it looks like:
image

@aviator-app
Copy link
Contributor

aviator-app bot commented Aug 25, 2022

Aviator status

Aviator will automatically update this comment as the status of the PR changes.

This PR was merged using Aviator.

@twavv twavv changed the title Add stack metadata to PR on creation feat: Add stack metadata to PR on creation Aug 25, 2022
if didCreatePR {
action = "created"
} else {
// TODO: need to update the PR metadata possibly here
Copy link
Contributor

Choose a reason for hiding this comment

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

what happens right now if we don't update the metadata here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nothing right now since we don't use this on the server side. My plan is to finish this TODO then change the Aviator server side so that it's reading this information instead of trying to implicitly determine the shape of the stack based on how the PRs are arranged.

@aviator-app aviator-app bot merged commit 12ea56a into master Sep 7, 2022
@aviator-app aviator-app bot deleted the travis/mer-1174-av-cli-embed-stack-state-metadata-as-a branch September 7, 2022 22:41
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