Skip to content

AGit: Reviews are not stale after new commits pushed #34134

Open
@AdamMajer

Description

@AdamMajer

Description

Hi,

After updating a PR, the reviews are still marked as not stale,

[
  {
    "id": 1177,
    "user": {
      "id": 41,
      "login": "gnuman",
      "login_name": "",
      "source_id": 0,
      "full_name": "",
      "email": "[email protected]",
      "avatar_url": "https://demo.gitea.com/avatars/020923e0a2259b9a07c1ce12822152bd",
      "html_url": "https://demo.gitea.com/gnuman",
      "language": "",
      "is_admin": false,
      "last_login": "0001-01-01T00:00:00Z",
      "created": "2024-11-25T10:59:56Z",
      "restricted": false,
      "active": false,
      "prohibit_login": false,
      "location": "",
      "website": "",
      "description": "",
      "visibility": "public",
      "followers_count": 0,
      "following_count": 0,
      "starred_repos_count": 0,
      "username": "gnuman"
    },
    "team": null,
    "state": "APPROVED",
    "body": "LGTM!",
    "commit_id": "db35ff5ffebcae28e75ae7118bebbf7724606580",
    "stale": false,
    "official": false,
    "dismissed": false,
    "comments_count": 0,
    "submitted_at": "2025-04-06T15:06:06Z",
    "updated_at": "2025-04-06T15:06:06Z",
    "html_url": "https://demo.gitea.com/adamm2/foo/pulls/1#issuecomment-5860",
    "pull_request_url": "https://demo.gitea.com/adamm2/foo/pulls/1"
  }
]

Gitea Version

demo site (Version: 1.24.0+dev-529-g92dfec704f), also in version 1.23.6

Can you reproduce the bug on the Gitea demo site?

Yes

How are you running Gitea?

https://demo.gitea.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions