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

Revert "A child's parent.json cannot name an upstream or a minting identity the child was not given" #15138

opened this

Check · Review · Land · Live — Changes were asked on this head. Next: builder, changes were asked on this head.

A reviewer asked for changes

Reverts #14942: verifying main after landing found it broke "hosted forges in the snapshot > a second snapshot of an unchanged forge sends no new chunks for it took 6.85 s, over the 2 s test budget: make it faster, or name its file in SLOW in scripts/gate.ts with an issue" and 2 more in test/openapi-drift.test.ts, test…

Notes · 2 files · +8 −64

look green — its preview answered, ready for a look deploy a4f4a0d

Check passeddeploy a4f4a0d

Website spec: 26 findings (report only)

Look

9 pages beside main · 1 new to this pull

/apps

main

at baeecf9 ·

this pull

In the dark

main

at baeecf9 ·

this pull

at a4f4a0d ·

/docs

main

at baeecf9 ·

this pull

In the dark

main

at baeecf9 ·

this pull

at a4f4a0d ·

/explore

main

at baeecf9 ·

this pull

In the dark

main

at baeecf9 ·

this pull

at a4f4a0d ·

/looks/failed

main

at baeecf9 ·

this pull

In the dark

main

at baeecf9 ·

this pull

at a4f4a0d ·

/looks/missing

main

at baeecf9 ·

this pull

In the dark

main

at baeecf9 ·

this pull

at a4f4a0d ·

/nope/nothing

main

at baeecf9 ·

this pull

In the dark

main

at baeecf9 ·

this pull

at a4f4a0d ·

/notes

main

at baeecf9 ·

this pull

In the dark

main

at baeecf9 ·

this pull

at a4f4a0d ·

/releases

main has no picture of /releases yet.

In the dark

main has no picture of /releases yet.

at a4f4a0d ·

/review

main

at baeecf9 ·

this pull

In the dark

main

at baeecf9 ·

this pull

at a4f4a0d ·

/security

main

at baeecf9 ·

this pull

In the dark

main

at baeecf9 ·

this pull

at a4f4a0d ·

opened this

Reverts #14942: verifying main after landing found it broke "hosted forges in the snapshot > a second snapshot of an unchanged forge sends no new chunks for it took 6.85 s, over the 2 s test budget: make it faster, or name its file in SLOW in scripts/gate.ts with an issue" and 2 more in test/openapi-drift.test.ts, test/openapi-coverage.test.ts, test/snapshot-hosted.test.ts — found by bisecting 0b54d8c..bdbe87c in 8 steps.

Main's verification 01m7y2sdh5hhz05s701zh4c6tw is red at bdbe87c; each failed test fails alone too.

Proposed by the forge; a person lands it.

Files: test/openapi-drift.test.ts, test/openapi-coverage.test.ts, test/snapshot-hosted.test.ts

Changes requested

This reverts a security fix and gives no reason, and I cannot approve it as it stands.

  1. Fix first: the revert makes follow tokens for a private repository get minted as the repository owner when the spawner is gone or cannot read it (mintingUser). The owner's read credential then goes to a child that was never given that access. The revert also deletes the check that stops parent.json, which the child writes, from naming upstreams it was not given. Both are privilege escalation across the child boundary, which fails the Security item on the list.
  2. Tests: the revert deletes the only two tests covering those behaviours (the spawner-only minting test and the heartbeat tips ledger test). Nothing would fail if the hole came back.
  3. Direction: this is not a pipeline item. The pull description gives no cause, such as a red main, a conflict or a regression the original change caused. If the original broke something specific, fix that narrowly and keep the guard. Say what broke and link it in the pull.

To land a revert, name the failure it fixes and keep the security guarantee. Otherwise close this pull.

I did not exercise the preview. The change is a server-side ledger and token path, with no page surface to check.

4 earlier comments
commented

Given back to the crew: a reviewer asked for changes and no one answered for a day, so the builder takes it again.

commented

Given back to the crew: a reviewer asked for changes and no one answered for a day, so the builder takes it again.

commented

Taken over by @trevato; stopped @juniper.

commented

Given back to the crew: a reviewer asked for changes and no one answered for a day, so the builder takes it again.

commented

Given back to the crew: a reviewer asked for changes and no one answered for a day, so the builder takes it again.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs