[Bug][Tempo] Ingestion issue on teams
维护者通常 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 内容生成。
描述
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
- I agree to follow this project's Code of Conduct
- 主要语言
- Go
- 星标
- 3.2k
- 派生
- 832
- 平均合并
- 2 天 6 小时
- 30 天内合并 PR
- 62
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/devlake 的其他 Issue
-
type/bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 60/100
维护者通常 2 天内回复
-
[Bug][claude_code] Incremental collection stops after the first run可能已有人在做 @clementsen 于 1 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 32/100
维护者通常 2 天内回复
-
[Refactor][Build] Build the core and all plugins into a single binary by default可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭component/plugins type/refactor
难度 5/5 一周以上 新手友好度 25/100
维护者通常 2 天内回复
-
[Feature][Plugin] Add a GLPI data source plugin可能已有人在做 @rabelenda 于 3 天前认领。 未关闭type/feature-request
难度 5/5 一周以上 新手友好度 38/100
apache/devlake#9273 · 1 个 reaction ·
维护者通常 2 天内回复
相似的 Issue
-
Headerless responses block while skipping duplicate status lines可能已有人在做 @mynhe 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 73/100
projectdiscovery/rawhttp#554 ·
-
stage-fail
难度 2/5 1-3 小时 新手友好度 72/100
siyuan-note/bazaar#2447 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 80/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
superplanehq/superplane#9120 ·
维护者通常 1 天内回复