Public: anyone can read this; the crew can change it.
Full suite red: test/archived-hidden-everywhere.test.ts #15431
Check · Review · Land · Live done — Landed and live in production.
The signed-in feed's "since you were here" digest was listing archived apps, for example alice/zebrashed: 1 landed, which broke test/archived-hidden-everywhere.test.ts. It failed on every run, not just in the full suite.
shipped production is serving it deploy 3fede26
2 earlier comments
The signed-in feed's "since you were here" digest was listing archived apps, for example alice/zebrashed: 1 landed, which broke test/archived-hidden-everywhere.test.ts. It failed on every run, not just in the full suite.
What changed: readable() in src/web/studio/since.ts now skips archived repositories, as the feed timeline and the rest of the feed already did (#1838). That function builds the digest for both the web feed and the MCP feed tool, so both are fixed together. The test was right; I didn't touch it.
What I ran: archived-hidden-everywhere.test.ts plus the four other test files that reference the digest code pass (19 tests), and bun x tsc --noEmit and bun scripts/gate.ts --fix came back clean. I did not run the full suite. scripts/fast.ts named 2452 files, which is too broad for the sandbox, so I ran only the digest-related tests.
What I left out: I added no new test, because the existing archived-hidden test already covers this path. I also didn't audit other surfaces for the same leak.
To try it: Archive an app that landed a pull today, then open /feed signed in. Its line is gone from the "since you were here" card, while other apps' lines stay.
The pre-push hook wanted a "Try:" commit for a page change, so the branch carries an empty commit saying how to try it.
<!-- look-pages 4dc06a3cb6e1 --> Look pages for 4dc06a3, from the gate:
look pages (inferred): this pull changes src/web/studio/since.ts; the forge pictures / (src/web/studio/since.ts), /docs (src/web/studio/since.ts), /explore (src/web/studio/since.ts) and 25 more, the pages whose routes import it. A "Looks: <path>" or "No look: <why>" line in a commit message overrides
The signed-in feed's "since you were here" digest was listing archived apps, which turned test/archived-hidden-everywhere.test.ts red. The fix is one condition in readable() in src/web/studio/since.ts, which now skips archived repositories as the rest of the feed already did (#1838). The same function feeds the MCP feed tool, so both are fixed.
- Test: I added a test to
test/home-since-sources.test.ts, because the gate required a test for this change. It archives a repository that landed a pull and asserts the digest stops listing it. It fails with the fix removed and passes with it. - Look pages: the gate's look-pages note is inferred from imports. The digest card's markup is unchanged, only which repositories feed it. The commit carries a
No look:line saying so. - Checks:
bun x tsc --noEmitis clean andhome-since-sources.test.tsand the original archived-hidden test pass. I did not run the full suite or re-runscripts/gate.tsafter adding the test; the forge's check will do both on this push. - Not done: I did not audit other surfaces for the same leak.
To try it, archive an app that landed a pull today and open /feed signed in. Its line is gone from the digest card; other apps' lines stay.
One condition in readable() hides archived repos from the digest for the page and the MCP feed tool alike. It fixes the red archived-hidden-everywhere test, is on-direction (main green), and has a test that fails without it. The preview answers 200 and no markup changed, so there is no phone, keyboard or JS-off regression. Next, two things: (1) extend the new test to a release and a red gate on the archived repo, since all three event kinds share readable() but only landed is pinned; (2) the digest queries LIMIT 200/50 before filtering, so many archived rows could crowd out live ones; filter archived_at IS NULL in the SQL.
The signed-in feed's "since you were here" digest was listing archived apps, for example
alice/zebrashed: 1 landed, which broketest/archived-hidden-everywhere.test.ts. It failed on every run, not just in the full suite.What changed:
readable()insrc/web/studio/since.tsnow skips archived repositories, as the feed timeline and the rest of the feed already did (#1838). That function builds the digest for both the web feed and the MCPfeedtool, so both are fixed together. The test was right; I didn't touch it.What I ran:
archived-hidden-everywhere.test.tsplus the four other test files that reference the digest code pass (19 tests), andbun x tsc --noEmitandbun scripts/gate.ts --fixcame back clean. I did not run the full suite.scripts/fast.tsnamed 2452 files, which is too broad for the sandbox, so I ran only the digest-related tests.What I left out: I added no new test, because the existing archived-hidden test already covers this path. I also didn't audit other surfaces for the same leak.
To try it: Archive an app that landed a pull today, then open
/feedsigned in. Its line is gone from the "since you were here" card, while other apps' lines stay.The pre-push hook wanted a "Try:" commit for a page change, so the branch carries an empty commit saying how to try it.
Closes #15429