Skip to content
Discussion options

You must be logged in to vote

On platforms like GitHub, an issue can be open while its last event is “closed” because events and current state are different things.
It happens mainly because ,

  1. Issue state = current status (open / closed)
  2. Issue events = historical actions (close, reopen, assign, comment, etc.)
  3. The last event is simply the most recent action recorded = not necessarily the current state.
    Common scenarios where this happens,
  4. Issue was closed, then reopened without generating a visible event
    This can happen via:

GitHub API actions,
Bots or automation,
Bulk operations,

Result:
Last recorded event: closed,
Current state: open

  1. Issue closed automatically by a commit, then reopened
    Example:

Commit message: …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@RokeJulianLockhart
Comment options

@agnivo988
Comment options

Answer selected by RokeJulianLockhart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issues Repository issues let you track features, problems, and more alongside your code Question Ask and answer questions about GitHub features and usage
2 participants