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

Improve issue PR status tracking #38

Merged
merged 12 commits into from
Dec 10, 2024
Merged

Improve issue PR status tracking #38

merged 12 commits into from
Dec 10, 2024

Conversation

neubig
Copy link
Contributor

@neubig neubig commented Dec 10, 2024

This PR improves the issue PR status tracking by adding more granular status types:

  • no_pr (white): No PR has been opened for the issue
  • pr_open (green): A PR has been opened but not yet merged/closed
  • pr_merged (purple): A PR has been opened and merged
  • pr_closed (red): A PR has been opened but was closed without merging

Changes:

  • Add new status types and update type definitions
  • Add PR status checking functionality
  • Add comprehensive tests for all status types
  • Reduce cache window from 30 days to 7 days to save API calls

The changes make it easier to track the progress of issues through the PR lifecycle.

- Add four distinct statuses for issues based on PR state:
  - no_pr (white): No PR has been opened
  - pr_open (green): PR is open
  - pr_merged (purple): PR has been merged
  - pr_closed (red): PR was closed without merging
- Update types to support new status values
- Add PR status checking functionality
- Add comprehensive tests for all status types
- Reduce cache window from 30 days to 7 days
Copy link

vercel bot commented Dec 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
openhands-agent-monitor ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 10, 2024 9:09pm

@neubig neubig merged commit aef964d into main Dec 10, 2024
6 checks passed
@neubig neubig deleted the improve-issue-pr-status branch December 10, 2024 21:12
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