Skip to content

Locking pull requests makes archeology harder #11149

Closed
@indygreg

Description

@indygreg

Description

It appears this project locks some pull requests and issues (these are essentially the same thing internally to GitHub) as resolved upon close/merge. This behavior can make code archeology harder.

For example, I filed #11146. It referenced #10560. But if you go to the timeline of #10560, there are no events for this reference since the PR was locked in April.

I understand the need to lock issues/pull requests in order to prevent abuse. I also understand why it is desirable to avoid comments on a closed pull requests.

However, by locking a PR/issue and preventing the GitHub timeline from having any subsequent updates, this prevents future references to the issue/PR from appearing. This in turn makes it harder to follow the impact of a PR/issue within this project and across the broader software ecosystem. And this can make lives for developers harder by making it more difficult to discover knowledge. Without breadcrumbs in the issue/PR timeline, you have to resort to a broader search, which is far less targeted and often takes longer.

Maybe this is a feature and is working as intended. There are certainly benefits of this approach! But I thought I'd share my negative experience in case there is room to consider a change in behavior.

If this feature is marked as a dupe, I think it reinforces my point: I tried to search for an existing report for this (as I'm sure it was discussed somewhere) but GitHub search is not terrific.

Expected behavior

If GitHub allowed you to prevent comments but allow timeline updates, this seems strictly better. In the abuse scenario, you could still lock everything. But in the common scenario where you just want to prevent future discourse on a closed issue, you could still facilitate archeology via references in the timeline. I have no clue if GitHub supports granular locking though.

pip version

n/a

Python version

n/a

OS

n/a

How to Reproduce

Use GitHub

Output

n/a

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugA confirmed bug or unintended behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions