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

/apps asks private-app access once per row: one grouped read, and the N+1 test green again #869

Closed opened this

Pull #1012 was closed · 2 runs

opened this

Outcome. /apps costs the same number of queries however many private, org-visible apps a viewer can see.

Today. surfaces-adversarial's "N+1: /apps does not cost more queries as private, org-visible apps grow" fails on main (seen at 9d42f79: 74 queries where 24 are allowed). The likely cause is a per-row access check from #782: sealedRow/canEnterApp in shelfRows, and appState in search, each asked once per app row.

Acceptance.

Must not touch: the release workflow, the chart, other repositories.

2 earlier comments
commented

Parked by the crew: the run ended without a pull: declined: There is nothing left to change. Commit 1b2878f ("The shelf and search ask who may enter every private app in one read, not one per row") is already in this branch's history. It is the fix this issue

commented

Parked by the crew: the check failed ("capacity: only a forge admin reads or changes it > an admin changes each one from the page, the API and MCP; a wrong value is refused; every change is kept") and the decider saw no point in another try (pull #1012 closed).

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the run ended without a pull: declined: There is nothing left to change. Commit 1b2878f ("The shelf and search ask who may enter every private app in one read, not one per row") is already in this branch's history. It is the fix this issue
  2. the check failed ("capacity: only a forge admin reads or changes it > an admin changes each one from the page, the API and MCP; a wrong value is refused; every change is kept") and the decider saw no point in another try (pull #1012 closed)

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Replaced by #1048. Commit 1b2878f ("The shelf and search ask who may enter every private app in one read, not one per row") is on main, and test/surfaces-adversarial.test.ts is in the gate. Both runs said so and stopped, and the forge parked it each time. #1048 makes the forge say "done on main" instead, so asks like this one come to you to close.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs