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

Ship, decline, say and decide stay on the page they were taken from #1129

Closed opened this in answer to
Closed without merging

scout/forge:scout/1110-ship-decline-say-and-decide-stay-on-the → main 4 commits fork 7 threads · 7 unresolved

  • Closed without merging. Nothing was applied to main.

Review

Sign in to review this change.
14 files changed +208 −31
README.md +1
@@ -9,6 +9,7 @@ that pull's own preview — its own URL, on its own copy of production's data
99 and every deploy is the check on that pull. No agent can move the default
1010 branch, so the only way code reaches production is a merge a person made: the
1111 crew proposes, you decide what ships.
12 Ship, close, say and comment return to the page they were taken from, with a one-line flash and a link; the form carries a same-forge `back` path, never the Referer.
1213
1314 That view is the **studio**, and it is the front door — a browser with no
1415 `forge_mode` cookie lands there. It speaks four words for the whole loop:
src/web/flash.ts +23
@@ -12,6 +12,16 @@
1212
1313 import { cookieValue } from "../http/context.ts";
1414
15 /** Whether `to` is a path on this forge: one slash, no scheme, no control bytes. */
16 export function localPath(to: string): boolean {
17 return (
18 to.length <= 512 &&
19 /^\/(?![/\\])/.test(to) &&
20 // eslint-disable-next-line no-control-regex
21 !/[\u0000-\u001f\u007f]/.test(to)
22 );
23 }
24
1525 export const FLASH_COOKIE = "forge_flash";
1626
1727 export interface Flash {
@@ -19,6 +29,8 @@ export interface Flash {
1929 message: string;
2030 /** A one-time value rendered in a copyable monospace block. */
2131 code?: string;
32 /** The one place worth going to look: a path on this forge, and its words. */
33 link?: { href: string; label: string };
2234 }
2335
2436 // Cookies cap out around 4KB; a flash is a sentence, not a payload.
@@ -55,6 +67,16 @@ export function readFlash(request: Request): Flash | undefined {
5567 if (typeof value.message !== "string" || value.message === "")
5668 return undefined;
5769 const tone = value.tone;
70 const l = value.link as Record<string, unknown> | null | undefined;
71 const link =
72 typeof l === "object" &&
73 l !== null &&
74 typeof l.href === "string" &&
75 typeof l.label === "string" &&
76 localPath(l.href) &&
77 l.label !== ""
78 ? { href: l.href, label: l.label.slice(0, 80) }
79 : undefined;
5880 return {
5981 message: value.message.slice(0, MAX_FLASH),
6082 ...(tone === "success" || tone === "danger" || tone === "attn"
@@ -63,5 +85,6 @@ export function readFlash(request: Request): Flash | undefined {
6385 ...(typeof value.code === "string" && value.code !== ""
6486 ? { code: value.code.slice(0, 512) }
6587 : {}),
88 ...(link !== undefined ? { link } : {}),
6689 };
6790 }
src/web/form.ts +18
@@ -11,6 +11,8 @@
1111 import { BODY_MAX, readBounded, STRANGER_MAX } from "../http/limits.ts";
1212 import { scopeAllows, type TokenScope } from "../core/tokens.ts";
1313 import { crossOrigin, type Ctx } from "../http/context.ts";
14 import { localPath } from "./flash.ts";
15 import { html, type Html } from "./html.ts";
1416
1517 export type Form = Awaited<ReturnType<Request["formData"]>>;
1618
@@ -63,3 +65,19 @@ export function field(form: Form, name: string): string {
6365 export function prefersJson(ctx: Ctx): boolean {
6466 return (ctx.request.headers.get("accept") ?? "").includes("application/json");
6567 }
68
69 /**
70 * Where a decision was taken: the form's own `back` field when it is a path
71 * on this forge, else `fallback`. The Referer is never consulted — it is
72 * absent under some privacy settings, and a field a form carries is the page
73 * saying where it wants to be.
74 */
75 export function formBack(form: Form, fallback: string): string {
76 const back = field(form, "back");

Two meanings of back now exist: "board" in issues.ts:296 and a local path here. Unify them so the board form sends /board and goes through this helper.

77 return localPath(back) ? back : fallback;
78 }
79
80 /** The hidden field that makes a form come back to the page it is on. */
81 export function backInput(ctx: Ctx): Html {
82 return html`<input type="hidden" name="back" value="${ctx.url.pathname}${ctx.url.search}" />`;
83 }
src/web/layout.ts +4
@@ -392,6 +392,10 @@ function flashToast(flash: Flash): Html {
392392 ${icon(glyph)}
393393 <div class="toast-body">
394394 ${flash.message}
395 ${when(
396 flash.link,
397 (link) => html` · <a href="${link.href}">${link.label}</a>`,
398 )}
395399 ${when(
396400 flash.code,
397401 (code) =>
src/web/pages/board.ts +1 −1
@@ -501,7 +501,7 @@ function declinedStrip(ctx: Ctx, scope: BoardScope): Html | null {
501501 ><b>${d.repo.name}</b>: the planner declined the direction and waits
502502 for you. <q>${d.words}</q></span
503503 >
504 <input type="hidden" name="back" value="board" />
504 <input type="hidden" name="back" value="/board" />
505505 <input
506506 class="input"
507507 name="body"
src/web/pages/issues.ts +13 −11
@@ -24,7 +24,7 @@ import {
2424 signInFirst,
2525 signInHref,
2626 } from "../chrome.ts";
27 import { field, readForm } from "../form.ts";
27 import { field, formBack, readForm } from "../form.ts";
2828 import { html, raw, when, type Html } from "../html.ts";
2929 import { flashTo, page, redirect } from "../layout.ts";
3030 import { btn, empty, icon, field as formField } from "../ui.ts";
@@ -291,13 +291,13 @@ export async function issueCommentSubmit(ctx: Ctx): Promise<Response> {
291291 const form = await readForm(ctx, "rw");
292292 if (form instanceof Response) return form;
293293
294 // A comment posted from the board's "the planner declined" line returns to
295 // the board. A fixed word, never a URL from the form: no open redirect.
296 const back = field(form, "back") === "board" ? "/board" : undefined;
294 // A comment returns to the page whose form posted it (`formBack`: a path on
295 // this forge, never a URL), the board's "the planner declined" line included.
297296 const dest = `${repoBase(found.repo)}/issues/${found.issue.number}`;
297 const back = formBack(form, dest);
298298 const body = field(form, "body");
299299 if (body.trim() === "")
300 return flashTo(ctx, dest, {
300 return flashTo(ctx, back, {
301301 tone: "danger",
302302 message: "A comment needs something in it.",
303303 });
@@ -309,15 +309,17 @@ export async function issueCommentSubmit(ctx: Ctx): Promise<Response> {
309309 body,
310310 );
311311 if (!added.ok)
312 return flashTo(ctx, dest, {
312 return flashTo(ctx, back, {
313313 tone: "danger",
314314 message: originError(added.error) ?? "That comment could not be posted.",
315315 });
316 return back === undefined
317 ? flashTo(ctx, `${dest}#conversation`, { message: "Comment posted." })
318 : flashTo(ctx, back, {
319 message: `Answered on #${found.issue.number}. The planner plans again.`,
320 });
316 if (back === "/board")

The special case back === "/board" is tied to the path of one page. Fine for now, but the planner-declined test is the only coverage, so keep that test.

317 return flashTo(ctx, back, {
318 message: `Answered on #${found.issue.number}. The planner plans again.`,
319 });
320 return flashTo(ctx, back === dest ? `${dest}#conversation` : back, {
321 message: "Comment posted.",
322 });
321323 }
322324
323325 export { parseNumber };
src/web/pages/pull.ts +7 −4
@@ -60,7 +60,7 @@ import {
6060 type DiffViewOptions,
6161 type ThreadView,
6262 } from "../diff-view.ts";
63 import { field, readForm } from "../form.ts";
63 import { field, formBack, readForm } from "../form.ts";
6464 import { html, raw, when, type Html } from "../html.ts";
6565 import { flashTo, page, redirect } from "../layout.ts";
6666 import { liveClientJs, liveMount } from "../live.ts";
@@ -798,9 +798,10 @@ export async function pullCommentSubmit(ctx: Ctx): Promise<Response> {
798798 if (form instanceof Response) return form;
799799
800800 const dest = `${repoBase(found.repo)}/pulls/${found.pull.number}`;
801 const back = formBack(form, dest);
801802 const bodyText = field(form, "body");
802803 if (bodyText.trim() === "")
803 return flashTo(ctx, dest, {
804 return flashTo(ctx, back, {
804805 tone: "danger",
805806 message: "A comment needs something in it.",
806807 });
@@ -812,11 +813,13 @@ export async function pullCommentSubmit(ctx: Ctx): Promise<Response> {
812813 bodyText,
813814 );
814815 if (!added.ok)
815 return flashTo(ctx, dest, {
816 return flashTo(ctx, back, {
816817 tone: "danger",
817818 message: originError(added.error) ?? "That comment could not be posted.",
818819 });
819 return flashTo(ctx, `${dest}#conversation`, { message: "Comment posted." });
820 return flashTo(ctx, back === dest ? `${dest}#conversation` : back, {
821 message: "Comment posted.",
822 });
820823 }
821824
822825 /** Match the diff viewer's per-file anchor id, so the redirect lands there. */
src/web/pages/thread.ts +6 −4
@@ -49,7 +49,7 @@ import {
4949 } from "../../core/users.ts";
5050 import type { Ctx } from "../../http/context.ts";
5151 import { commentCard } from "../comments.ts";
52 import { field, readForm } from "../form.ts";
52 import { backInput, field, formBack, readForm } from "../form.ts";
5353 import { html, raw, when, type Html } from "../html.ts";
5454 import { flashOrJson, flashTo } from "../layout.ts";
5555 import {
@@ -482,6 +482,7 @@ export function composer(ctx: Ctx, o: ComposerOptions): Html {
482482 data-box="Write a comment"
483483 data-submit-key
484484 >
485 ${backInput(ctx)}
485486 <label class="sr-only" for="comment-body">Comment</label>
486487 <textarea
487488 class="input"
@@ -725,6 +726,7 @@ export async function stateSubmit(
725726
726727 const wanted = field(form, "state") === "closed" ? "closed" : "open";
727728 const dest = `${repoBase(found.repo)}/${kind === "pull" ? "pulls" : "issues"}/${found.issue.number}`;
729 const back = formBack(form, dest);
728730 const why = field(form, "reason");
729731 const intoText = field(form, "into").trim();
730732 const into = intoText
@@ -736,7 +738,7 @@ export async function stateSubmit(
736738 into.length > 50 ||
737739 !into.every((n) => Number.isInteger(n) && n > 0)
738740 )
739 return flashOrJson(ctx, dest, {
741 return flashOrJson(ctx, back, {
740742 tone: "danger",
741743 message: "Close as done, dropped, or split into issue numbers.",
742744 });
@@ -771,9 +773,9 @@ export async function stateSubmit(
771773 : changed.error === "forbidden"
772774 ? "Only the author or someone with write access can do that."
773775 : "That could not be changed.");
774 return flashOrJson(ctx, dest, { tone: "danger", message });
776 return flashOrJson(ctx, back, { tone: "danger", message });
775777 }
776 return flashOrJson(ctx, dest, {
778 return flashOrJson(ctx, back, {
777779 message: wanted === "closed" ? "Closed." : "Reopened.",
778780 });
779781 }
src/web/studio/actions.ts +19 −6
@@ -16,11 +16,12 @@ import { DIRECTION_NOTE } from "../../crew/direct.ts";
1616 import { mergePull } from "../../actions/pulls.ts";
1717 import { revertPull, type RevertPullError } from "../../actions/revert.ts";
1818 import { getPull } from "../../core/pulls.ts";
19 import { getAppByRepo } from "../../core/apps.ts";
1920 import { canRead, getRepo, type Repo } from "../../core/repos.ts";
2021 import { bringUpToDate } from "../../crew/autonomy.ts";
2122 import type { Ctx } from "../../http/context.ts";
2223 import { loadRepo, notFoundPage, repoBase, signInFirst } from "../chrome.ts";
23 import { field, readForm, type Form } from "../form.ts";
24 import { field, formBack, readForm, type Form } from "../form.ts";
2425 import { flashOrJson, flashTo } from "../layout.ts";
2526 import { changeHref } from "./nouns.ts";
2627
@@ -109,6 +110,7 @@ export async function shipSubmit(ctx: Ctx): Promise<Response> {
109110 const form = await readForm(ctx, "rw");
110111 if (form instanceof Response) return form;
111112 const base = repoBase(repo);
113 const back = formBack(form, base);
112114 const number = Number(ctx.params.number);
113115 const pull = Number.isInteger(number)
114116 ? getPull(ctx.app.db, repo.id, number)
@@ -124,7 +126,7 @@ export async function shipSubmit(ctx: Ctx): Promise<Response> {
124126 merged.error.kind === "conflict"
125127 ) {
126128 const who = bringUpToDate(ctx.app, repo, pull, merged.error.files);
127 return flashOrJson(ctx, base, {
129 return flashOrJson(ctx, back, {
128130 tone: "danger" as const,
129131 message:
130132 who === undefined
@@ -132,9 +134,19 @@ export async function shipSubmit(ctx: Ctx): Promise<Response> {
132134 : `It conflicts with main (${merged.error.files.join(", ")}); ${who} is bringing it up to date${repo.autonomy === "autonomous" ? ", then it lands on its own" : ", then it comes back to you"}.`,
133135 });
134136 }
135 return flashOrJson(ctx, base, {
137 return flashOrJson(ctx, back, {
136138 ...(merged.ok
137 ? { message: `Shipped "${pull.title}". Production is redeploying.` }
139 ? {
140 ...(getAppByRepo(ctx.app.db, repo.id) === undefined
outdated

Old message told the owner production is redeploying; the new one says only Shipped #N. A number alone means little to a person, so keep the title: Shipped "title", with the link as the next step.

This getAppByRepo branch, the 'production is redeploying' wording and the /app/production/open link have no test. Cover them with a repo that has an app.

141 ? {
142 message: `Shipped "${pull.title}".`,
143 link: { href: `${base}/pulls/${pull.number}`, label: "see it" },
144 }
145 : {
146 message: `Shipped "${pull.title}"; production is redeploying.`,
147 link: { href: `${base}/app/production/open`, label: "see it live" },
148 }),
149 }
138150 : {
139151 tone: "danger" as const,
140152 message: `That could not ship: ${mergeWords(merged.error)}.`,
@@ -216,6 +228,7 @@ export async function saySubmit(ctx: Ctx): Promise<Response> {
216228 const form = await readForm(ctx, "rw");
217229 if (form instanceof Response) return form;
218230 const base = repoBase(repo);
231 const back = formBack(form, base);
219232 const number = Number(ctx.params.number);
220233 const pull = Number.isInteger(number)
221234 ? getPull(ctx.app.db, repo.id, number)
@@ -224,12 +237,12 @@ export async function saySubmit(ctx: Ctx): Promise<Response> {
224237 return notFoundPage(ctx);
225238 const text = field(form, "text").trim();
226239 if (text === "")
227 return flashTo(ctx, base, {
240 return flashTo(ctx, back, {

This back is only reachable by hand-built POSTs. No rendered form targets /say. Wire the real say/comment form through backInput and formBack, or drop the claim that say stays put.

228241 tone: "danger",
229242 message: "Say something first.",
230243 });
231244 const said = addComment(ctx.app, ctx.auth.user, repo, pull, text);
232 return flashOrJson(ctx, base, {
245 return flashOrJson(ctx, back, {
233246 ...(said.ok
234247 ? { message: `Told ${pull.authorName}. It picks the change back up.` }
235248 : { tone: "danger" as const, message: "That could not be said." }),
src/web/studio/asks.ts +4 −1
@@ -51,6 +51,7 @@ import { waitsForPerson, type ReviewWait } from "../../crew/review.ts";
5151 import type { Ctx } from "../../http/context.ts";
5252 import { vitals } from "../../kernel/vitals.ts";
5353 import { repoBase } from "../chrome.ts";
54 import { backInput } from "../form.ts";
5455 import { html, when, type Html } from "../html.ts";
5556 import { btn, card, icon, row } from "../ui.ts";
5657 import { lookUrl } from "../../core/looks.ts";
@@ -851,7 +852,7 @@ const askFormId = (d: Decision): string => `ask-${d.id}`;
851852 * It sits after the panel's form, because a form inside a form is not
852853 * HTML; the button reaches it by id.
853854 */
854 export function decisionForm(d: Decision): Html | null {
855 export function decisionForm(ctx: Ctx, d: Decision): Html | null {
855856 const pull = d.pull;
856857 if (pull === undefined) return null;
857858 const base = repoBase(d.repo);
@@ -859,10 +860,12 @@ export function decisionForm(d: Decision): Html | null {
859860 if (d.kind === "stopped")
860861 return html`<form ${own} action="${base}/pulls/${pull.number}/state">
861862 <input type="hidden" name="state" value="closed" />
863 ${backInput(ctx)}
862864 </form>`;
863865 if (d.kind === "look" || d.kind === "review")
864866 return html`<form ${own} action="${base}/pulls/${pull.number}/ship">
865867 <input type="hidden" name="pull" value="${pull.number}" />
868 ${backInput(ctx)}
866869 </form>`;
867870 return null;
868871 }
src/web/studio/asks_page.ts +1 −1
@@ -268,7 +268,7 @@ export function needsYouSection(
268268 ${btn("Preview", { size: "sm" })}
269269 <span class="muted small">on the selected asks</span>
270270 </form>`}
271 ${decisions.map((d) => decisionForm(d))}
271 ${decisions.map((d) => decisionForm(ctx, d))}
272272 </section>`;
273273 return { body, scriptJs: pickable < 2 ? "" : SELECT_ALL_JS };
274274 }
src/web/studio/change.ts +3 −1
@@ -37,6 +37,7 @@ import {
3737 repoHeader,
3838 repoPalette,
3939 } from "../chrome.ts";
40 import { backInput } from "../form.ts";
4041 import { html, when, type Html } from "../html.ts";
4142 import type { IconName as Glyph } from "../icons.ts";
4243 import { page, redirect } from "../layout.ts";
@@ -432,6 +433,7 @@ async function changeConversation(
432433 )}.</p>
433434 <div class="bar mt">
434435 <form method="post" action="${thread}/ship">
436 ${backInput(ctx)}
435437 ${btn("Bring up to date", { size: "sm", variant: "primary" })}
436438 </form>
437439 </div>`
@@ -520,7 +522,7 @@ async function changeConversation(
520522 </div>
521523 <aside>${when(record, () => previewCard(ctx, repo, pull))}</aside>
522524 </div>
523 ${decision ? decisionForm(decision) : null}
525 ${decision ? decisionForm(ctx, decision) : null}
524526 ${liveMount({
525527 repo: base,
526528 thread: "pull",
test/planner-declined.test.ts +2 −2
@@ -233,7 +233,7 @@ describe("the planner declined, waiting for a person", () => {
233233 {
234234 method: "POST",
235235 headers: { cookie, origin: servers.url },
236 body: new URLSearchParams({ back: "board", body: "Plan the next season: herbs." }),
236 body: new URLSearchParams({ back: "/board", body: "Plan the next season: herbs." }),
237237 redirect: "manual",
238238 },
239239 );
@@ -247,7 +247,7 @@ describe("the planner declined, waiting for a person", () => {
247247 "waits for you",
248248 );
249249 });
250 test("`back` is a fixed word: anything else returns to the issue, never elsewhere", async () => {
250 test("`back` is a path on this forge: anything else returns to the issue, never elsewhere", async () => {
251251 const cookie = await signIn("alice");
252252 const res = await fetch(
253253 `${servers.url}/alice/garden/issues/${direction.number}/comments`,
test/studio.test.ts +106
@@ -398,6 +398,112 @@ describe("the studio", () => {
398398 expect(getUserByName(app.db, "scout")).toBeDefined();
399399 });
400400
401 test("a decision lands back on the page it was taken from, and says so with a link", async () => {
402 const openGreen = async (name: string) => {
403 const branch = await commitToBranch(app, alice, repo, {
404 branch: `feature/${name}`,
405 base: "main",
406 message: name,
407 files: [{ path: `${name}.md`, content: `${name}\n` }],
408 });
409 if (!branch.ok) throw new Error(JSON.stringify(branch.error));
410 const opened = await openPull(app, alice, repo, {
411 title: name,
412 body: "",
413 baseBranch: "main",
414 headBranch: `feature/${name}`,
415 });
416 if (!opened.ok) throw new Error(String(opened.error));
417 const run = createRun(app.db, {
418 repoId: repo.id,
419 kind: "check",
420 issueId: opened.value.id,
421 env: `pull-${opened.value.number}`,
422 commitOid: opened.value.headOid,
423 reason: "pull",
424 });
425 claimRun(app.db, run.id);
426 finishRun(app.db, run.id, { state: "ok", summary: "check passed" });
427 return opened.value;
428 };
429 const home = await openGreen("from-home");
430 const shipped = await post(`/alice/notes/pulls/${home.number}/ship`, {
431 back: "/",
432 });
433 expect(shipped.headers.get("location")).toBe("/");
434 expect(getPull(app.db, repo.id, home.number)?.mergedAt).not.toBeNull();
435 // The flash names what happened, with the one link that matters.
436 const flash = shipped.headers.get("set-cookie")?.split(";")[0] ?? "";
437 const page = await (await get("/", { cookie: `${cookie}; ${flash}` })).text();
438 expect(page).toContain(`Shipped &quot;from-home&quot;`);
439 // notes is an app: shipping redeploys production, and the link goes there.
440 expect(getAppByRepo(app.db, repo.id)).toBeDefined();
441 expect(page).toContain("; production is redeploying.");
442 expect(page).toContain(`<a href="/alice/notes/app/production/open">see it live`);
443
outdated

The break after the first iteration fires as soon as the pull is merged, so only //evil.example is ever tested. Open one green pull per hostile value (or use a fresh one in each iteration) and assert location is /alice/notes every time, plus a /\evil case and one with a control byte.

444 const there = await openGreen("from-pull");
445 const at = `/alice/notes/pulls/${there.number}`;
446 const stayed = await post(`${at}/ship`, { back: at });
447 expect(stayed.headers.get("location")).toBe(at);
448
449 // A comment through the form the page really renders comes back to that page.
450 const rendered = await (await get(at)).text();
451 const form = rendered.match(/<form[^>]*class="card comment-form"[\s\S]*?<\/form>/)?.[0] ?? "";
452 const action = form.match(/action="([^"]+)"/)?.[1] ?? "";
453 const backField = form.match(/name="back" value="([^"]+)"/)?.[1] ?? "";
454 expect(action).toBe(`${at}/comments`);
455 expect(backField).toBe(at);
456 const commented = await post(action, { back: backField, body: "Looks good." });
457 expect(commented.status).toBe(303);
458 expect(commented.headers.get("location")).toBe(`${at}#conversation`);
459 const hostile = await post(action, { back: "//evil.example", body: "Still fine." });
460 expect(hostile.headers.get("location")).toBe(`${at}#conversation`);
461
462 // A back that is not a path on this forge is ignored, never followed.
463 for (const [i, back] of [
464 "//evil.example",
465 "https://evil.example/",
466 "/\\evil",
467 "/ok\u0001path",
468 ].entries()) {
469 const third = await openGreen(`from-elsewhere-${i}`);
470 const odd = await post(`/alice/notes/pulls/${third.number}/ship`, { back });
471 expect(odd.headers.get("location")).toBe("/alice/notes");
472 expect(getPull(app.db, repo.id, third.number)?.mergedAt).not.toBeNull();
473 }
474
475 // Saying and closing stay put too.
476 const fourth = await openGreen("said");
477 const said = await post(`/alice/notes/pulls/${fourth.number}/say`, {
478 text: "Not quite.",
479 back: "/asks",
480 });
481 expect(said.headers.get("location")).toBe("/asks");
482 const closed = await post(`/alice/notes/pulls/${fourth.number}/state`, {
483 state: "closed",
484 back: "/asks",
485 });
486 expect(closed.headers.get("location")).toBe("/asks");
487
488 // Failures stay put too: a bad reason and a refused merge both flash on
489 // the page the decision was taken from.
490 const badReason = await post(`/alice/notes/pulls/${fourth.number}/state`, {
491 state: "closed",
492 reason: "nonsense",
493 back: "/asks",
494 });
495 expect(badReason.headers.get("location")).toBe("/asks");
496 const badFlash = badReason.headers.get("set-cookie")?.split(";")[0] ?? "";
497 expect(await (await get("/asks", { cookie: `${cookie}; ${badFlash}` })).text()).toContain(
498 "Close as done, dropped, or split",
499 );
500 const refused = await post(`/alice/notes/pulls/${fourth.number}/ship`, {
501 back: "/asks",
502 });
503 expect(refused.headers.get("location")).toBe("/asks");
504 expect(refused.headers.get("set-cookie")).toContain("forge_flash");
505 });
506
401507 test("a tell shipped long ago still reads shipped once it is buried under 250 later events", async () => {
402508 const told = openIssue(app, alice, repo, {
403509 title: "Buried tell",

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs