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

CI: packaging workflow misses most extension workspaces; yarn lint never runs

Đang mở
#1,143 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/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, typescript
Lĩnh vực
build-system, ci-cd, testing-qa

Hướng nghiên cứu

Read .github/workflows/build.yaml and test-positron.yaml, then compare test.yaml and the workspace dependencies described in the issue. Verify which extension workspaces and root manifests need coverage, and run yarn lint to assess the current backlog. Done means packaging and Positron checks trigger for relevant changes and lint is run in CI with the agreed blocking behavior.

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

Mô tả

Problem

Two CI coverage gaps:

1. build.yaml path filter is too narrow

.github/workflows/build.yaml ("Build VS Code Extension", which runs vsce package) only triggers on:

paths:
  - 'apps/lsp/**'
  - 'apps/vscode/**'

The packaged extension also bundles apps/vscode-editor, apps/vscode-markdownit, apps/quarto-utils, and most of packages/* (core, editor-*, quarto-core, _-prefixed packages, build, tsconfig, eslint configs). It also depends on root package.json, yarn.lock and turbo.json. A PR that touches only those files doesn't get a packaging check. test-positron.yaml has the same problem (it only triggers on apps/vscode/**).

test.yaml has no path filter, so tests do run. The gap is specifically that packaging and Positron tests don't run.

Fix: widen paths to cover every workspace in the extension's dependency closure plus the root manifests, or drop the path filter.

2. yarn lint never runs in CI

No workflow runs yarn lint, so lint errors build up unnoticed. Running it today will probably surface a backlog. Either fix those first, or add the job as non-blocking at first.

Fix: add a lint job to test.yaml (after yarn install). Consider doing this together with, or right after, the ESLint 10 flat-config migration (deps-upgrade-eslint-prettier.md), so we don't fix lint errors under a config that's about to be replaced.

Related

The yarn install --immutable --immutable-cache --check-cache flags used in these workflows are Yarn 2+ only, and Yarn 1 ignores them, so CI doesn't enforce the lockfile. That's tracked as the first step of the dependency-upgrade plan and should be fixed alongside this.

Found during the dependency-upgrade research.

Ngôn ngữ chính
TypeScript
Star
655
Fork
64
Merge trung bình
21 giờ
Pull request đã merge (30 ngày)
45

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 quarto-dev/quarto

Tất cả issue của quarto-dev/quarto

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.