Pre-existing test failure on staging: file/manage secret-bearing archive provenance

Đang mở
#6,574 1 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
68/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
typescript
Lĩnh vực
api, testing

Hướng nghiên cứu

Run app/api/tools/file/manage/route.test.ts on a clean origin/staging worktree at 9b9f4ee596 and inspect the failing POST /api/tools/file/manage content provenance case. Trace why extracting a secret-bearing archive with unknown output provenance returns 500 instead of 200; done when the test passes and the relevant suite no longer reports the failure.

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

Mô tả

app/api/tools/file/manage/route.test.ts fails on staging at 9b9f4ee596:

FAIL app/api/tools/file/manage/route.test.ts
  > POST /api/tools/file/manage content provenance
  > extracts a secret-bearing archive with unknown output provenance
AssertionError: expected 500 to be 200

Reproduces on a clean origin/staging worktree with no feature branch involved (Tests 1 failed | 14 passed), so it is not introduced by any open PR.

fix(v2-api): close three secret disclosures, make the surface consistent, and align docs with signatures (#6560) is the most recent commit touching this area.

This currently reddens Test and Build / Lint and Test on every open PR that has merged staging, including #6561.

Noticed by gstack /babysit while working #6561, which does not touch file tools.

Ngôn ngữ chính
TypeScript
Star
29.8k
Fork
3.9k
Merge trung bình
1 giờ 44 phút
Pull request đã merge (30 ngày)
841

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 simstudioai/sim

Tất cả issue của simstudioai/sim

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.