An export's handles and bundles reveal more than its projects
State
free to start
Created
2026-10-26 by contributor
Source
2026-10-26, review of the web UI on main at ac8c5f17
Body
An export says a little more than its projects:
- Change handles. `export/project.go` copies each change's handle from the CLI, which computes handles across every repository on the host, private ones included. A handle's length shows that private changes share its prefix, its `<repo>:` qualifier shows that the change ID is recorded elsewhere too, and handle churn in private projects changes the export's digest. A fix: recompute handles in `export.Build` over the exported changes only.
- Bundles carry commit author and committer names and emails, and the log pages show author names. The `--principals` display mapping renames principals, not commit authors. The docs say so next to `--principals`.
- Knot pages show GitHub pull-request links as they are (`webui/server/knot.go`), so a pull request in a private repository is named on a public page. Decide whether to show such links, and test the choice.
Fixed when handles in an export depend only on exported changes, the docs state what bundles reveal, and the GitHub-link behavior is decided and tested.
Source: 2026-10-26, review of the web UI as landed on main at `ac8c5f17`.
Comments
contributor2026-10-26 18:02 UTC
Hidden references also reveal a hidden knot's blocking status. `blocked_by` and `edges` keep each hidden reference's ID (`<project>:<id>`), and `waiting_on_hidden` (change kmvz) says whether a knot still waits on a hidden knot. So for a knot that names one hidden blocker, the field says whether that blocker still blocks: it is set while it does and gone once it does not, even while a published blocker keeps the knot `blocked`. The fixture's oc-a000003, which names site:oc-b000001, shows it in `TestWaitingOnHiddenFollowsAHiddenBlocker`.
Change kmvz documents this inference as permitted, in docs/reference.md and docs/architecture.md, and keeps the IDs. Redacting or replacing hidden reference IDs in the projection would close it, and belongs with the rest of what an export reveals here.