Skip to content

fix(tempo): change team summary column to text - #9303

Merged
klesh merged 2 commits into
apache:mainfrom
Goldloli:fix/tempo-team-summary-text
Nov 6, 2026
Merged

klesh merged 2 commits into
apache:mainfrom
Goldloli:fix/tempo-team-summary-text

Conversation

@Goldloli

@Goldloli Goldloli commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Fixes #9284

Description

Adding a Tempo team whose summary exceeds 255 characters to a connection's data scope fails with ERROR: value too long for type character varying(255) (SQLSTATE 22001), because the TempoTeam.Summary column is declared as varchar(255) while Tempo allows free-text summaries of any length.

Changes:

  • models/team.go: Summary is now gorm:"type:text"
  • models/migrationscripts/20261102_change_team_summary_type.go: new migration calling ModifyColumnType("_tool_tempo_teams", "summary", "text") (the same approach the bitbucket plugin used for its component column), registered in All()

Verification

  • go build ./plugins/tempo/... and go vet ./plugins/tempo/... — clean
  • go test ./plugins/tempo/tasks/ — ok (unit tests pass)
  • plugins/tempo/e2e requires a live E2E_DB_URL database and fails identically on a clean checkout without one, so the migration path itself is covered by CI
  • gofmt clean; no new models, so GetTablesInfo() is unchanged

@klesh klesh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks for your contribution.

@klesh
klesh merged commit 723b459 into apache:main Nov 6, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug][Tempo] Ingestion issue on teams

2 participants