Skip to content

Duplicate entries in issue timeline #35152

@dmach

Description

@dmach

Description

I discovered that issue timeline contains duplicate entries while writing tests for a code that prints them on the command-line. The tests started randomly failing.

I'm always running the same commands in a predefined sequence.
The problem is, that the push_pull entry is sometimes returned twice.
Also, the duplicate entry gets mixed among the entries that are associated with actions performed after the push.

examples:

Timeline:
2025-07-24 09:16 Admin pushed 2 commits
2025-07-24 09:16 Admin pushed 2 commits
2025-07-24 09:16 Admin changed title
    | from 'Change version' to 'NEW TITLE'
2025-07-24 09:16 Admin commented
    | test comment
Timeline:
2025-07-24 09:24 Admin pushed 2 commits
2025-07-24 09:24 Admin changed title
    | from 'Change version' to 'NEW TITLE'
2025-07-24 09:24 Admin pushed 2 commits
2025-07-24 09:24 Admin commented
    | test comment

Gitea Version

1.24.2

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

A custom container.

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions