Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Review follow-ups for the dbt e2e cache, CI comments, skill-sync test and run --model

Đang mở
#1,473 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/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ệ
github-actions, python, shell, typescript
Lĩnh vực
ci-cd, cli, testing

Hướng nghiên cứu

This bundles six small fixes across packages/dbt-tools/test/e2e/setup-versions.sh, dbt-versions.test.ts, the e2e README, .github/workflows/ci.yml, the run --model error path, and the skill-sync test. Start with the installed_version() function and the venv check in the shell script, and the empty-entry parsing of DBT_E2E_VERSIONS in the TypeScript test. Pick one item at a time; done means each listed behaviour is fixed and the affected tests pass.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

What

Review follow-ups from #1258, #1469, #1470 and #1472, which merged without them:

  1. packages/dbt-tools/test/e2e/setup-versions.sh (#1258)
    • installed_version() runs dbt --version with no time limit, so a dbt that hangs stalls setup until the job times out.
    • A venv directory without bin/dbt (an interrupted install) is skipped instead of rebuilt, and a fresh install is never checked against the version asked for.
    • The usage text still names ./e2e-setup.sh.
  2. packages/dbt-tools/test/e2e/dbt-versions.test.ts (#1258)
    • With no versioned venvs, the system-dbt fallback passes the first python3 on PATH as pythonPath, which may belong to a different dbt than the one under test.
    • An empty entry in DBT_E2E_VERSIONS ("1.8,", or only commas) counts as a requested version named "".
  3. packages/dbt-tools/test/e2e/README.md (#1258) describes the old CI setup and does not document DBT_E2E_VERSIONS or DBT_E2E_PYTHON.
  4. .github/workflows/ci.yml comments (#1469) do not say why runs on main can still show as cancelled: a concurrency group keeps one running and one pending run, and a newer run cancels the pending one.
  5. run --model (#1472): when the provider-list call fails, the error body is described with JSON.stringify, which throws on a cyclic object or a BigInt. The message about the failure is then lost behind a TypeError.
  6. The skill-sync test added in #1470 does not check the row the link leaves behind (its linkedAt, and that it is not marked adopted).

Suggested fix

  • Bound dbt --version with timeout/gtimeout, rebuild any existing venv whose dbt does not report the expected version, and fail setup when a fresh install reports the wrong one. Update the README and usage text.
  • Filter empty entries out of DBT_E2E_VERSIONS, and take pythonPath from the directory of the resolved system dbt, falling back to python3 on PATH.
  • Name the concurrency behaviour in the ci.yml comment.
  • Fall back to String(error) when JSON.stringify throws.
  • Assert the linked row's linkedAt and that it is not adopted.
Ngôn ngữ chính
TypeScript
Star
810
Fork
121
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
88

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AltimateAI/altimate-code

Tất cả issue của AltimateAI/altimate-code

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.