Skip to content

chore: update stale pr workflow#33537

Merged
mergify[bot] merged 5 commits intoaws:mainfrom
aaythapa:update-stale-pr-workflow
Feb 22, 2025
Merged

chore: update stale pr workflow#33537
mergify[bot] merged 5 commits intoaws:mainfrom
aaythapa:update-stale-pr-workflow

Conversation

@aaythapa
Copy link
Copy Markdown
Contributor

@aaythapa aaythapa commented Feb 21, 2025

Issue # (if applicable)

Closes #.

Reason for this change

Messaging around stale PRs isn't clear, contributors don't always know what the next steps are if their PR is considered stale.

Also, response time for contributors is too short. IMO 7 days isn't enough to get back to our comments as we sometimes take a long time to review PRs. Open to discussion on what the window for response time should be

Description of changes

Describe any new or updated permissions being added

  • Update which labels which should be skipped for stale PRs
  • Update merge conflict warning to be more clear about next steps
  • Update time given to contributors to respond

Description of how you validated changes

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@aaythapa
Copy link
Copy Markdown
Contributor Author

@mergify update

@aws-cdk-automation aws-cdk-automation requested a review from a team February 21, 2025 00:20
@github-actions github-actions bot added the p2 label Feb 21, 2025
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 21, 2025

update

❌ Mergify doesn't have permission to update

Details

For security reasons, Mergify can't update this pull request. Try updating locally.
GitHub response: refusing to allow a GitHub App to create or update workflow .github/workflows/analytics-metadata-updater.yml without workflows permission

@aaythapa aaythapa marked this pull request as ready for review February 21, 2025 00:20
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Feb 21, 2025
@aaythapa
Copy link
Copy Markdown
Contributor Author

@mergify update

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 21, 2025

update

☑️ Nothing to do

Details
  • #commits-behind > 0 [📌 update requirement]
  • -closed [📌 update requirement]
  • -conflict [📌 update requirement]
  • queue-position = -1 [📌 update requirement]

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.20%. Comparing base (bc91c70) to head (b80c651).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #33537   +/-   ##
=======================================
  Coverage   82.20%   82.20%           
=======================================
  Files         119      119           
  Lines        6862     6862           
  Branches     1158     1158           
=======================================
  Hits         5641     5641           
  Misses       1118     1118           
  Partials      103      103           
Flag Coverage Δ
suite.unit 82.20% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
packages/aws-cdk ∅ <ø> (∅)
packages/aws-cdk-lib/core 82.20% <ø> (ø)

@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Feb 21, 2025

To prevent automatic closure:
- Fix merge conflicts
- OR request an exemption by adding a comment containing 'Exemption Request' with justification e.x "Exemption Request: <justification>"
Copy link
Copy Markdown
Member

@GavinZZ GavinZZ Feb 21, 2025

Choose a reason for hiding this comment

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

After they request exemption and we review it, what label do we need to give to not prevent it to close? pr/do-not-close? This doesn't quite feel the same as the typical flow with exemption request.

Just curious if a maintainer didn't add do-not-close label and the PR was simply put into exemption requested state, would it stop the automation to close it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yea the maintainer would have to put do-not-close or leave the exemption label there. If they remove the label and don't add the do-not-close label then the PR could be considered stale.

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 21, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation aws-cdk-automation removed the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Feb 21, 2025
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 21, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 21, 2025

This pull request has been removed from the queue for the following reason: pull request branch update failed.

The pull request can't be updated

You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it.

If you want to requeue this pull request, you need to post a comment with the text: @mergifyio requeue

@aaythapa
Copy link
Copy Markdown
Contributor Author

@mergify update

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 21, 2025

update

☑️ Nothing to do

Details
  • #commits-behind > 0 [📌 update requirement]
  • -closed [📌 update requirement]
  • -conflict [📌 update requirement]
  • queue-position = -1 [📌 update requirement]

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 22, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: b80c651
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 22, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 5eeee75 into aws:main Feb 22, 2025
20 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

contribution/core This is a PR that came from AWS. p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants