Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

fix(view): a retry on the relay page starts the page again [N26,A2]

Corey Olson631379d4623a
diff --git a/src/cockpit.js b/src/cockpit.js
index ebef2c6c..df5c1225 100644
--- a/src/cockpit.js
+++ b/src/cockpit.js
@@ -3163,6 +3163,8 @@ if (snapshot) {
if (hosted.local) $('local-note-retry').addEventListener('click', () => {
localProblem = null;
tabValue(LOCAL_TRIPS, null);
+ // A page already on the relay starts again instead, so it never holds the relay's streams and the view's at once.
+ if (transport) { location.reload(); return; }
connectLocal().then((local) => local === 'local' ? refresh() : null).catch((error) => localNote(error.message, true));
});
/** Load an explicitly configured transport before the first read; its updates refresh this page. */