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

Open
#6,574 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
api, testing

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
TypeScript
Stars
29.8k
Forks
3.9k
Avg merge
1h 43m
Merged PRs (30d)
937

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from simstudioai/sim

All issues in simstudioai/sim

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.