test: 9 pre-existing test failures in full suite, unrelated to v0.9.7 changes
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- bun, postgresql, typescript
- Lĩnh vực
- backend-api-design, cli, testing-qa
Hướng nghiên cứu
Bắt đầu bằng cách chạy các test MCP được nêu, đặc biệt là test/mcp/headers.test.ts và test/mcp/httpapi.test.ts, độc lập và trong toàn bộ bun test suite; kiểm tra các header assertion được báo cáo và các test quét MCP để xác thực release. Sau đó so sánh các lỗi PostgreSQL và subprocess trong các điều kiện môi trường và tải phù hợp. Được xem là hoàn tất khi các lỗi MCP mang tính xác định đã được sửa hoặc fixture của chúng đã được cập nhật, còn các test phụ thuộc vào môi trường hoặc contention đã được sửa một cách đáng tin cậy hoặc được gated.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Found while running the full bun test suite (12,309 tests) as part of the v0.9.7 release gate.
9 failures, none in files touched by v0.9.7 (verified via git diff v0.9.6..HEAD --stat against each failing test's source and test file — zero overlap):
test/mcp/httpapi.test.ts— "serves status endpoint"test/mcp/headers.test.ts— 5 failures: "headers are passed to transports when oauth is enabled", "...when oauth is explicitly disabled", "OAuth is auto-disabled when an explicit Authorization header is present", "OAuth is auto-disabled when Authorization is supplied via headersCommand", "headersCommand overrides a static header that differs only in casing". Reproduces deterministically in isolation (not resource contention) — assertscall.options.requestInit?.headersequals a specific object, getsundefined. Looks like a real bug in MCP transport header wiring, or a test fixture drift — needs investigation, but pre-dates this release (src/mcp/andtest/mcp/have zero diff between v0.9.6 and v0.9.7).test/release-validation/mcp-datamate-893.test.ts(or its-codexsibling) — "recursive project scan ignores vendored mcp.json files before they can auto-connect"test/altimate/drivers-e2e.test.ts— "PostgreSQL Driver E2E" — beforeEach/afterEach hook timeout. Almost certainly requires a live local Postgres instance not present in this sandboxed environment; likely environment-dependent, not a code bug.test/cli/run/run-process.test.ts— "mid-stream LLM error still exits 0 today (contract lock-in)" — spawns a realopencode runsubprocess; timing/resource-contention shaped failure under full-suite parallel load (child_process exit handling in the trace).
Deferred from v0.9.7 because none of these touch this release's diff. Needs triage to split: (a) genuine MCP header-wiring regression [items 2-3, deterministic] vs (b) environment/resource-contention flakes [items 1, 4, 5] that may need environment fixtures or to be marked skipIf(!hasPostgres)-style.
Per this project's own rule against flaky/resource-contention tests, item set (b) especially should either get a real fix or be gated behind an environment check rather than silently failing in CI/full-suite runs.
- Ngôn ngữ chính
- TypeScript
- Star
- 813
- Fork
- 134
- Merge trung bình
- 2 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 65
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của AltimateAI/altimate-code
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
AltimateAI/altimate-code#1359 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
AltimateAI/altimate-code#1323 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
AltimateAI/altimate-code#1288 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
AltimateAI/altimate-code#1285 ·
-
privacy: Altimate Base consent dialog no longer discloses persistent per-installation identifier Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
AltimateAI/altimate-code#1284 ·
Tất cả issue của AltimateAI/altimate-code
Issue tương tự
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Crush Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
ElementsProject/cln-application#167 · 1 bình luận · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Quantco/pnpm-licenses#17 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100