[Bug][Tempo] Ingestion issue on teams

Offen
#9,284 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

@Goldloli arbeitet bereits daran.

Seit 02.11.2026.

  • #9303 von @Goldloli — offen

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
Ein halber Tag
Anfängerfreundlichkeit
73/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
go, helm, postgresql

Rechercherichtung

Find the Tempo team model and its migration script. Start by locating the Summary field and checking how existing column changes are handled for PostgreSQL. Change the column to support summaries longer than 255 characters; done when the reported team can be saved without the database error.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

type/bug
Search before asking
  • I had searched in the issues and found no similar issues.
What happened

Hi,

Adding a Tempo team to the data scope fails when its summary exceeds 255 characters:

failed to save item 0 (400) Wraps: (2) ERROR: value too long for type character varying(255) (SQLSTATE 22001) (500) Wraps: (3) ERROR: value too long for type character varying(255) (SQLSTATE 22001)

Suggested fix
Declare Summary as text in the Tempo team model (gorm:"type:text") and add a migration script to alter the existing column.

What do you expect to happen

The team is saved. Tempo allows free-text summaries longer than 255 characters, so the column should be text, not varchar(255).

How to reproduce

Create a Tempo connection (DevLake v1.0.3-beta18, PostgreSQL).
In Tempo, have a team whose summary/description is longer than 255 characters.
Add this team to the data scope of the connection.
The save fails with the error above.

Anything else

Environment

DevLake version: v1.0.3-beta18
Database: PostgreSQL
Deployment: [Helm]

Version

v1.0.3-beta18

Are you willing to submit PR?
  • Yes I am willing to submit a PR!
Code of Conduct
Vorherrschende Sprache
Go
Sterne
3.2k
Forks
832
Ø Merge
1 T. 22 Std.
Gemergte PRs (30 T.)
75

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

  • Kein Dockerfile und keine Docker-Compose-Datei
  • Hat eine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus apache/devlake

Alle Issues in apache/devlake

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.