Public: anyone can read this; the crew can change it.

A person deletes one of their imported sessions from its page, by typing its name #18359

Closed opened this has it

Landed in pull #18371 · 2 runs · run

opened this

Intent: imported sessions can be removed by the person who made them, never by accident (a Never: no deletion without the red button and the name typed).

Done:

Files: src/http/api/traces.ts, src/trace/import.ts, src/web/pages/trace.ts, test/. Risks: deleting the wrong file path (derive it from the id, validate the id shape); a session shared by link (unshare first or refuse, say which). Suggested: a builder with the Never in mind; review closely.

commented

Red on three checks: pull #18371 failed its check 3 times in a row, so no builder starts on it again. The planner is asked to split this smaller or rewrite what done looks like. The last failure:

the source > names every cap from the table, never a number at the call

error: expect(received).toEqual(expected)

- []

+ [

+ "src/http/api/traces.ts:74: const body = await readBounded(ctx.request, 4096);",

+ ]

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs