fix(hermes): repair sonar/ananke/go:S1192/AZ-IckL-1fRfbdzqD-5R #6
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "hermes-repair/sonar-AZ-IckL-1fRfbdzqD-5R"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hermes repair proposal for incident sonar/ananke/go:S1192/AZ-IckL-1fRfbdzqD-5R
Incident: sonar/ananke/go:S1192/AZ-IckL-1fRfbdzqD-5R
File:
internal/cluster/orchestrator_longhorn_reconcile.goSonarQube finding: https://quality.bstein.dev/project/issues?resolved=false&id=ananke&open=AZ-IckL-1fRfbdzqD-5R
Analysis: The literal "longhorn-system" is duplicated in three kubectl argument lists. Introduce one package-level constant and reference it at each existing call site; behavior is unchanged.
Rationale: Add the shared namespace constant, then replace each of the three existing "longhorn-system" arguments with longhornSystemNamespace in queryLonghornNodes, queryLonghornManagerDaemonSet, and longhornManagerPodsByNode.
Hermes run: run_f61d8201897a428fa1d20d6e95fe6154
That link opens the run itself: the prompt Hermes was given, the evidence bundle it read, the tools it called, and the JSON it returned.
Proposed by Hermes; validated and pushed by Ariadne; requires human review — no automatic merge.
Checkout
From your project repository, check out a new branch and test the changes.