4589 Commits

Author SHA1 Message Date
jenkins
00af41891c fix(ariadne): read the SonarQube token from a path Ariadne can already reach
The sweep's token was injected from kv/data/atlas/quality/sonarqube-oidc,
which the maintenance role cannot read. I granted that path on the live policy
and verified the read, but the grant was reverted by whatever manages Vault
policy, and the next rollout wedged: vault-agent-init retries a 403 forever, so
the pod never initializes and the Deployment cannot roll. The old replica kept
serving, which is the only reason this was not an outage.

A template block that depends on a grant outside this repository is the actual
defect. The token now lives beside Ariadne's other credentials in
kv/data/atlas/maintenance/ariadne-db - a path its role has always been able to
read - so no policy change is needed and nothing outside this repo can revoke
it. Existing keys at that path were merged, not replaced.

Guarded with an if, so a deployment whose secret predates the key renders an
empty value and starts normally instead of blocking on a missing field. The
sweep then reports an empty token and skips, which is the right failure: no
sweep is much better than no Ariadne.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 22:42:23 -03:00
flux-bot
542ccfae6c chore(maintenance): automated image update 2026-08-07 01:40:41 +00:00
flux-bot
e78edf213f chore(maintenance): automated image update 2026-08-07 01:38:08 +00:00
flux-bot
918898276a chore(maintenance): automated image update 2026-08-07 01:37:12 +00:00
flux-bot
d9605ebe6e chore(maintenance): automated image update 2026-08-07 01:35:35 +00:00
flux-bot
b82d5d0206 chore(maintenance): automated image update 2026-08-07 01:33:03 +00:00
flux-bot
b4d8109cf6 chore(maintenance): automated image update 2026-08-07 01:28:57 +00:00
flux-bot
42ddcf5c79 chore(cassandra): automated image update 2026-08-07 01:25:04 +00:00
flux-bot
23c7830f9c chore(cassandra): automated image update 2026-08-07 01:18:50 +00:00
flux-bot
f76ce0b41f chore(cassandra): automated image update 2026-08-07 01:14:59 +00:00
flux-bot
a2c9f828ff chore(cassandra): automated image update 2026-08-07 01:13:56 +00:00
jenkins
d5440a9dd4 feat(ariadne): enable the SonarQube sweep, scoped to one project
Static analysis findings never fail a build, so nothing has ever pulled them
into triage. There are 139 open on Ariadne alone, each already naming its
file, line and rule - better-located evidence than the console text the
code-repair flow usually mines.

Scoped deliberately narrow to start: one project, one proposal per hourly
sweep, and only findings SonarQube itself estimates at 20 minutes or less.
Effort is the filter rather than severity because it is the closest proxy for
the single anchored change the patch validator can actually check. The
64-open-proposal ceiling still applies on top, so the queue cannot grow while
nobody is draining it.

Hotspots are not in the type list and cannot be: SonarQube models them as
needing human review, this instance's quality gate fails on exactly that
condition, and an automation that resolved them would be marking them reviewed
without review.

The token comes from Vault. Ariadne's maintenance role was granted read on
kv/data/atlas/quality/sonarqube-oidc, which it did not previously have.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 22:13:03 -03:00
flux-bot
826cbe2976 chore(maintenance): automated image update 2026-08-07 00:34:37 +00:00
flux-bot
2b5bf70043 chore(maintenance): automated image update 2026-08-07 00:22:19 +00:00
jenkins
8140e0bf75 feat(ariadne): allowlist clear_stuck_agent_pods
A build whose agent never started is a distinct failure from one that lost a
connection mid-run, and a plain retry queues behind the same stuck pods. The
remediation clears pods that have already succeeded or failed - Ariadne's
existing scheduled cleanup - and only then rebuilds.

Mapping jenkins_agent_provisioning_failure to it keeps the one-classification-
one-action rule: a diagnosis asking for this action under any other
classification is still refused before anything runs.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 21:16:21 -03:00
flux-bot
359cd07dfd chore(cassandra): automated image update 2026-08-07 00:15:39 +00:00
flux-bot
82c1baae10 chore(maintenance): automated image update 2026-08-07 00:13:14 +00:00
flux-bot
ff59f97ed0 chore(cassandra): automated image update 2026-08-07 00:06:20 +00:00
flux-bot
4bad19eae4 chore(maintenance): automated image update 2026-08-07 00:00:14 +00:00
flux-bot
a4aee66bd7 chore(cassandra): automated image update 2026-08-06 23:59:08 +00:00
flux-bot
47bfc3956e chore(cassandra): automated image update 2026-08-06 23:58:01 +00:00
jenkins
2fceb9caa5 feat(ariadne): allowlist reclaim_workspace_storage
Maps workspace_storage_exhausted to the reclaim action, so a build that failed
on a full workspace volume is remediated rather than escalated.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 20:55:52 -03:00
jenkins
0af41aa995 feat(ariadne): declare the fix categories, and show them beside the actions
The three categories now appear in the deployment next to the action
allowlist, and the monitor prints both at the policy gate so the difference is
visible during a demo rather than asserted: two ids Ariadne may execute on its
own authority, three categories it may only ask Hermes to propose a patch for.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 20:46:55 -03:00
jenkins
ba53dbab80 fix(gitea): raise the memory ceiling; time-bound the demo cleanup calls
Gitea wedged at 2073Mi against a 2Gi limit: its API stopped answering even on
its own loopback, and the repeated SSH LoginGraceTime drops in its log were
starvation symptoms rather than a separate fault. Raised to 3Gi.

The reset command's Gitea calls had no --max-time, so a slow service became an
indefinite hang with no output - the script appeared frozen after 'clearing
bstein/hermes-code-demo'. They now fail after 25 seconds and say so.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 20:04:42 -03:00
jenkins
137ea77e95 fix(demo): read the container exit code, not the Job status
The fixture check waited on the Job's .status.succeeded/.status.failed. The
kubelet records a container's exit code the instant it stops, but the Job
controller reconciles those fields on its own schedule: observed at 2m24s,
4m27s and 34m on this cluster for identical work. During that window the pod
had already exited 1 and the build sat printing 'Will try again after 13 sec',
looking hung long after the test had finished, which is unusable in a demo.

Polling the pod's terminated exitCode removes the controller from the path
entirely. The Job is still used, so the evidence shape is unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 17:11:45 -03:00
flux-bot
47d69cdd37 chore(cassandra): automated image update 2026-08-06 20:02:10 +00:00
flux-bot
4a303bffb7 chore(cassandra): automated image update 2026-08-06 19:58:14 +00:00
flux-bot
525b366ac7 chore(cassandra): automated image update 2026-08-06 19:54:19 +00:00
flux-bot
ddaaf75462 chore(cassandra): automated image update 2026-08-06 19:54:11 +00:00
flux-bot
fa57e078d7 chore(cassandra): automated image update 2026-08-06 19:45:07 +00:00
flux-bot
fc85431fe0 chore(cassandra): automated image update 2026-08-06 19:41:13 +00:00
flux-bot
799318f7dd chore(cassandra): automated image update 2026-08-06 19:37:15 +00:00
flux-bot
88b3e9a7c8 chore(cassandra): automated image update 2026-08-06 19:37:03 +00:00
flux-bot
0e25697c94 chore(maintenance): automated image update 2026-08-06 18:53:56 +00:00
flux-bot
54fb36268f chore(maintenance): automated image update 2026-08-06 18:36:56 +00:00
flux-bot
f77ff90175 chore(cassandra): automated image update 2026-08-06 17:57:35 +00:00
flux-bot
1696e6e210 chore(cassandra): automated image update 2026-08-06 17:53:48 +00:00
flux-bot
ccb5f13a59 chore(cassandra): automated image update 2026-08-06 17:49:47 +00:00
flux-bot
6b11f1c190 chore(cassandra): automated image update 2026-08-06 17:48:33 +00:00
jenkins
65ecbd9199 docs(hermes): drop demonstration framing from the agent workspace
START-HERE.md is visible in the Hermes dashboard, so its wording is part of
what an operator sees. Describing the runbook as a five-minute demonstration
frames the automation as a set piece rather than as something that runs.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 14:26:13 -03:00
flux-bot
fcd3572236 chore(maintenance): automated image update 2026-08-06 17:17:37 +00:00
flux-bot
611e3ce123 chore(cassandra): automated image update 2026-08-06 17:15:24 +00:00
flux-bot
58e5011e9a chore(cassandra): automated image update 2026-08-06 17:12:02 +00:00
flux-bot
3a0ec2eb72 chore(cassandra): automated image update 2026-08-06 17:09:09 +00:00
flux-bot
bd44927d13 chore(cassandra): automated image update 2026-08-06 17:08:01 +00:00
flux-bot
5f26eedea0 chore(maintenance): automated image update 2026-08-06 16:18:37 +00:00
jenkins
c05a5e4abb feat(ariadne): widen code and issue coverage, cap open proposals at 64
ananke, pegasus and atlasbot were triaged but mapped to no repository, so
their failures could produce neither an issue nor a pull request. All three
exist on main and are non-empty. data-prepper is deliberately absent: it has
no repository under bstein.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 13:10:20 -03:00
flux-bot
54fe286e46 chore(maintenance): automated image update 2026-08-06 15:51:58 +00:00
jenkins
6411429d98 docs: second pass of diagram corrections after the remaining work landed
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 12:45:00 -03:00
flux-bot
87b85a1176 chore(maintenance): automated image update 2026-08-06 15:42:00 +00:00