Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software:2222/vole.git

A free and open-source forge that lives in your Git repo.

#87

Load only live status data on the change poll

merged · by keenan 10d ago · merged into main at 1b1fa7a5 by keenan 10d ago

keenan opened this 10d ago

Follow-up to #86.

The live regions are separated in the templates now, but the /live handler and the out-of-band write responses still built the full sidebar view. That meant every 20-second poll read the linked-issue rows, the entity-number map, and the branch-picker options even though the live response never rendered them.

This splits the loader along the same boundary as the regions:

  • requestStatus computes the live data and page actions: approvals, checks, landing facts, combined state, merge readiness, capabilities, and alert/notice.
  • requestSidebar calls requestStatus and adds only the stateful pieces: branch-picker options, the change number, and linked issues.
  • GET .../live and the multi-region write responses use requestStatus.
  • Full pages and writes that own a stateful region still use the full sidebar.

No rendered output changes. The benefit is that a background poll no longer reads data that only the target picker or issue editor needs.

Checks

  • ./vole workflow run verify — formatting, vet, build, govulncheck, packages, markdown links, and go test -race ./...

Discussion (0)

No discussion yet.