remove hive-level infra-container restart from web ui and agents
This commit is contained in:
parent
ccf9951e5d
commit
7516a4e10e
17 changed files with 112 additions and 272 deletions
|
|
@ -55,11 +55,11 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<!-- 1NFR4: start / stop / restart the four hive infrastructure
|
||||
containers (hive-ci, hive-forge, hive-gateway, hive-matrix)
|
||||
directly from the dashboard, mirroring what an infra_admin
|
||||
agent's `restart` tool already reaches. Status polled every 5s
|
||||
while this sub-tab is open, same cadence as C0NT41N3R L04D. -->
|
||||
<!-- 1NFR4: start / stop the four hive infrastructure containers
|
||||
(hive-ci, hive-forge, hive-gateway, hive-matrix) directly from
|
||||
the dashboard — operator-only, no agent-facing equivalent.
|
||||
Status polled every 5s while this sub-tab is open, same cadence
|
||||
as C0NT41N3R L04D. -->
|
||||
<section class="core-pane" id="core-pane-infra" data-tab-pane="infra"
|
||||
role="tabpanel" aria-labelledby="core-tab-infra">
|
||||
<p class="meta">hive infrastructure containers — ci, forge, gateway, matrix. actions are logged to the AUDIT log same as agent-driven restarts.</p>
|
||||
|
|
|
|||
|
|
@ -381,7 +381,7 @@ function stopContainerLoadPolling() {
|
|||
if (containerLoadTimer) { clearInterval(containerLoadTimer); containerLoadTimer = null; }
|
||||
}
|
||||
|
||||
// ─── infra containers (start/stop/restart the 4 hive infra containers) ────
|
||||
// ─── infra containers (start/stop the 4 hive infra containers) ────────────
|
||||
let infraTimer = null;
|
||||
|
||||
function renderInfraContainers(rows) {
|
||||
|
|
@ -406,8 +406,6 @@ function renderInfraContainers(rows) {
|
|||
const actions = el('div', { class: 'actions' });
|
||||
const base = '/api/infra-container/' + encodeURIComponent(c.name) + '/';
|
||||
if (c.running) {
|
||||
actions.append(form(base + 'restart', 'btn-restart', '↺ R3ST4RT',
|
||||
'restart ' + c.name + '?'));
|
||||
actions.append(form(base + 'stop', 'btn-stop', '■ ST0P',
|
||||
'stop ' + c.name + '?'));
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue