Skip to content

[BUG] 500 PANIC: unclosed expression on push / creating tag that would trigger workflow run. #36077

@blacklightprism

Description

@blacklightprism

Description

Error persisting since upgrading Gitea to version 1.25.

Error maybe related to changes in template rendering etc.?

Error Description:
The repository contains a platformio project and has an action workflow, that should build the project on every push to the master branch and also create a release on specified version tags (v*).

Since upgrading Gitea to version 1.25, the action isn't executed anymore on pushes, and the creation of tags is limited.

Creating tags which would not trigger the action is possible, creating tags which would trigger the action results in the errorpage 500 Internal server error.

In the explore page, the creation of the tag is logged, and clicking on the tag does work and shows the underlying commit, however the tag is not listed in the releases section or when viewing the branches / tags.

Bug reproduced on gitea.com because of very slow reaction times of demo.gitea.com (>60s)
The behaviour is tested and also there on gitea.com. Repo-URL: https://gitea.com/msbaudisch/tag-push-repo

Gitea Version

1.25.2

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/blacklightprism/196d81af7d7ac6de9b05eb6fa4a1c863

Screenshots

Image Image

Git Version

2.49.1

Operating System

debian, running gitea in docker image (gitea/gitea:latest)

How are you running Gitea?

Gitea running in docker image from dockerhub with tag gitea/gitea:latest.

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions