Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agent-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ maintainers:
- name: Flanksource
dependencies:
- name: config-db
version: "0.0.1390"
version: "0.0.1391"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

python - <<'PY'
import re
from pathlib import Path

checks = [
    ("agent-chart/Chart.yaml", "agent-chart/Chart.lock", "config-db"),
    ("chart/Chart.yaml", "chart/Chart.lock", "config-db"),
    ("chart/Chart.yaml", "chart/Chart.lock", "apm-hub"),
]

def parse_versions(path):
    text = Path(path).read_text()
    deps = {}
    current = None
    for line in text.splitlines():
        m_name = re.match(r'^\s*-\s*name:\s*"?([^"]+)"?\s*$', line)
        if m_name:
            current = m_name.group(1)
            continue
        m_ver = re.match(r'^\s*version:\s*"?([^"]+)"?\s*$', line)
        if m_ver and current:
            deps[current] = m_ver.group(1)
            current = None
    return deps

for chart, lock, dep in checks:
    cv = parse_versions(chart).get(dep)
    lv = parse_versions(lock).get(dep)
    print(f"{dep}: {chart}={cv} | {lock}={lv}")
PY

Repository: flanksource/mission-control-chart

Length of output: 375


Sync agent-chart/Chart.lock with the config-db bump. Chart.yaml now pins config-db to 0.0.1391, but Chart.lock still has 0.0.1161, so lockfile-based installs will keep the old version.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@agent-chart/Chart.yaml` at line 11, Sync the chart lockfile with the updated
config-db dependency version. In `Chart.yaml` the `config-db` dependency is
pinned to `0.0.1391`, but `Chart.lock` still references `0.0.1161`; update the
lockfile entry so Helm lockfile-based installs resolve the same version as
`Chart.yaml`. Focus on the `config-db` dependency entries in `Chart.lock` and
keep the version/repository metadata aligned with the current chart pin.

repository: https://flanksource.github.io/charts
- name: canary-checker
version: "1.1.3-beta.159"
Expand Down
2 changes: 1 addition & 1 deletion chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
repository: https://flanksource.github.io/charts
condition: apm-hub.enabled
- name: config-db
version: "0.0.1390"
version: "0.0.1391"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

set -euo pipefail
printf 'Chart.yaml:\n'
sed -n '1,120p' chart/Chart.yaml
printf '\nChart.lock:\n'
sed -n '1,200p' chart/Chart.lock

Repository: flanksource/mission-control-chart

Length of output: 2334


🏁 Script executed:

set -euo pipefail
printf 'Chart.yaml:\n'
sed -n '1,120p' chart/Chart.yaml
printf '\nChart.lock:\n'
sed -n '1,200p' chart/Chart.lock

Repository: flanksource/mission-control-chart

Length of output: 2334


🏁 Script executed:

set -euo pipefail
printf 'Chart.yaml:\n'
sed -n '1,120p' chart/Chart.yaml
printf '\nChart.lock:\n'
sed -n '1,200p' chart/Chart.lock

Repository: flanksource/mission-control-chart

Length of output: 2334


🏁 Script executed:

set -euo pipefail
printf 'Chart.yaml:\n'
sed -n '1,120p' chart/Chart.yaml
printf '\nChart.lock:\n'
sed -n '1,200p' chart/Chart.lock

Repository: flanksource/mission-control-chart

Length of output: 2334


Regenerate chart/Chart.lock for config-db 0.0.1391

chart/Chart.yaml bumps config-db to 0.0.1391, but chart/Chart.lock still resolves config-db to 0.0.1339. Refresh and commit the lockfile so the chart pulls the intended release.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@chart/Chart.yaml` at line 16, The Helm dependency lock is out of sync with
the version bump in Chart.yaml, so regenerate chart/Chart.lock after updating
config-db to 0.0.1391. Make sure the lockfile entry for config-db is refreshed
to the same resolved version as the Chart.yaml dependency, and commit the
updated chart/Chart.lock alongside the Chart.yaml change.

repository: https://flanksource.github.io/charts
- name: canary-checker
version: "1.1.3-beta.159"
Expand Down
Loading