A docs change can fail pnpm check, because outreach lint and gen:types both write .astro/ at once
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- build-system, ci-cd
Hướng nghiên cứu
Đọc apps/outreach/turbo.json và kiểm tra cách gen:types và lint khai báo đầu ra cũng như các phụ thuộc. Xác nhận astro check đồng bộ nội dung vào .astro/, sau đó chạy pnpm check với một thay đổi trong tài liệu để tái hiện tình trạng tranh chấp. Hoàn thành khi các tác vụ được sắp thứ tự và bước kiểm tra hoàn tất ổn định.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
apps/outreach's lint (astro check) and gen:types (astro sync) both write to apps/outreach/.astro/, and nothing orders one after the other. When both miss the cache they run at the same time, and one can fail on the other's temporary file. Both tasks hash docs/** and blog/** along with the package, so any edit there causes a miss.
@opendatacapture/outreach:gen:types: [UnknownFilesystemError]
@opendatacapture/outreach:gen:types: Caused by:
@opendatacapture/outreach:gen:types: ENOENT: no such file or directory, rename '…/apps/outreach/.astro/content-assets.mjs.tmp' -> '…/apps/outreach/.astro/content-assets.mjs'
Failed: @opendatacapture/outreach#gen:types
It stops pnpm check at lint, four seconds in, and reads like a real failure. A rerun passes once gen:types has run on its own and been cached. Seen on a branch off main @ e8683b67f whose only docs/ change was one paragraph in docs/en/3-guides/3.3-how-to-upload-data.mdx.
Where
apps/outreach/turbo.json: gen:types declares outputs: [".astro/**"], and lint declares only dependsOn: ["^build"]. astro check syncs content before it checks, so it writes the same directory.
Suggested fix
Add "gen:types" to lint's dependsOn in apps/outreach/turbo.json. astro check then starts from synced content, and the two never overlap.
Related: #1925 describes the same kind of race between runtime-core's lint and build.
- Ngôn ngữ chính
- TypeScript
- Star
- 119
- Fork
- 19
- Merge trung bình
- 1 ngày 18 giờ
- Pull request đã merge (30 ngày)
- 60
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc 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 DouglasNeuroInformatics/OpenDataCapture
-
Area: Infrastructure Chore Difficulty: Low Priority: Low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
DouglasNeuroInformatics/OpenDataCapture#1948 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
apps/web preview overwrites newly built dist/index.html with stale dist/index.html.bak across buildsĐang mởArea: Infrastructure Area: Web Bug Difficulty: Low Priority: Medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
DouglasNeuroInformatics/OpenDataCapture#1938 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Area: API Bug Difficulty: Low Priority: Low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
DouglasNeuroInformatics/OpenDataCapture#1937 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Area: Infrastructure Bug Difficulty: Low Priority: Medium Security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
DouglasNeuroInformatics/OpenDataCapture#1916 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Area: Infrastructure Chore Difficulty: Low Priority: Medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
DouglasNeuroInformatics/OpenDataCapture#1835 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của DouglasNeuroInformatics/OpenDataCapture
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
super-productivity/super-productivity#12128 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
`getClientCredentialsToken()` sends `scopes` (comma-joined) instead of the OAuth `scope` parameterĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 72/100
justyns/silverbullet-ai#199 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
spartan-ng/spartan#1931 ·
Maintainer thường phản hồi trong vòng 2 ngày