Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Bug][Tempo] Ingestion issue on teams

未关闭
#9,284 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
半天
新手友好度
73/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
go, helm, postgresql

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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
主要语言
Go
星标
3.2k
派生
832
平均合并
2 天 6 小时
30 天内合并 PR
62

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/devlake 的其他 Issue

查看 apache/devlake 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。