db-status.test fails if the database is disabled
维护者通常 1 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- node.js, typescript
调研方向
检查 src/commands/database/db-status.ts,尤其是 chalk.bold() 的输出,并找到相关的 db-status 测试。使用 npm test 复现失败;当数据库被禁用的情况不再包含意外的 ANSI 转义码时,即完成修改。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
I'm assuming two cases are failing because the db-status checks are printing messages in ANSI escape codes using chalk.bold() e.g. \033[1m, \033[0m and thus two of the test cases are failing.
Steps to reproduce
- Clone the repo
npm installnpm buildnpm test
Configuration
No response
Environment
System:
OS: macOS 15.7.7
CPU: (10) arm64 Apple M1 Pro
Memory: 92.31 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.23.3 - /Users//.nvm/versions/node/v22.23.3/bin/node
npm: 10.9.9 - /Users//.nvm/versions/node/v22.23.3/bin/npm
- 主要语言
- TypeScript
- 星标
- 1.9k
- 派生
- 481
- 平均合并
- 1 天 11 小时
- 30 天内合并 PR
- 74
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
netlify/cli 的其他 Issue
-
`client-ip` is not an IP address when `x-forwarded-for` holds a list or a port可能已有人在做 @Dev-next-gen 于 30 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
`netlify dev` with `--cwd` from outside the project: every function 500s with "module is not defined in ES module scope" (`detectZisiBuilder` passes a string to `readPackageUp`)可能已有人在做 @bsplatt92 于 71 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area: command: deploy area: docs type: feature
难度 1/5 1 小时以内 新手友好度 88/100
netlify/cli#1984 · 19 条评论 · 3 个 reaction ·
维护者通常 1 天内回复
-
type: bug
难度 4/5 3-5 天 新手友好度 20/100
维护者通常 1 天内回复
-
type: bug
难度 3/5 1-2 天 新手友好度 38/100
维护者通常 1 天内回复
相似的 Issue
-
area: server priority: P3 type: bug
难度 2/5 1-3 小时 新手友好度 83/100
appandflow/stim#4538 ·
维护者通常 1 天内回复
-
[BUG] Published Docker images lack the redis extra: HEADROOM_COMPRESS_SESSION_STORE stops startup可能已有人在做 @AlessandroSpallina 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
headroomlabs-ai/headroom#4513 ·
维护者通常 1 天内回复
-
bug extension extension: obsidian platform: Windows
难度 2/5 1-3 小时 新手友好度 68/100
raycast/extensions#32838 · 1 条评论 ·
维护者通常 1 天内回复
-
copy design-review mac P3
难度 2/5 1-3 小时 新手友好度 88/100
tosunlab/hisarapp-core#510 ·
-
bug priority-medium to-agent
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复