Skip to content

Do not ask for a hand-merge --values has already done - #199

Merged
gilesknap merged 1 commit into
mainfrom
fix/no-merge-warning-when-values-does-the-merge
Aug 22, 2026
Merged

gilesknap merged 1 commit into
mainfrom
fix/no-merge-warning-when-values-does-the-merge

Conversation

@gilesknap

Copy link
Copy Markdown
Member

Found by Phase 5's first real run of the workflow, before it touched anything.

$ podbench hotfix --print-values --app bl47p-ea-fastcs-01 \
    --from-pod bl47p-ea-fastcs-01-0 -n p47-beamline \
    --values services/bl47p-ea-fastcs-01/values.yaml \
    --parent-values services/values.yaml

podbench: bl47p-ea-fastcs-01-0's 'bl47p-ea-fastcs-01' already mounts
autosave-volume, beamline-data, bl47p-ea-fastcs-01-data, config-volume,
opis-volume and runtime-volume. ... merge into it rather than replacing it.
podbench: volumes came from services/values.yaml and has been copied into this
file. ... Copied: beamline-data.

Both, in that order. The first asks for a hand-merge; the second reports the
merge that was just done correctly.

EXISTING_MOUNTS_WARNING exists for exactly one reason — a pod cannot say which
of its volumes the service asked for. Under --values the values file has just
said, and the merge acted on it. Left in, it tells the user to go and do by hand
what has already been done, and names six volumes the merge deliberately left
alone because the chart renders them and copying them in would declare them
twice. It is not redundant there, it is wrong.

--from-pod on its own is unaffected; that is where the warning earns its place.

1646 tests pass (1 new), pyright clean, docs build.

🤖 Generated with Claude Code

https://claude.ai/code/session_015LEmzFsLaoa5zWeQvdN1Xe

Found on p47-beamline the first time the whole workflow was run, which is what
Phase 5 is for. `--print-values --from-pod POD --values FILE` printed
EXISTING_MOUNTS_WARNING and then printed a correctly merged file.

The warning exists for one reason: a pod cannot say which of its volumes the
service asked for. Under `--values` the values file has just said, and the merge
has acted on it - so the warning tells the user to go and do by hand what has
already been done, and names six volumes the merge deliberately did not copy
because the chart renders them. It is not merely redundant there, it is wrong.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015LEmzFsLaoa5zWeQvdN1Xe
@coderabbitai

coderabbitai Bot commented Aug 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: e1744dd4-3ead-4246-aadf-22bb756b0adf

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gilesknap
gilesknap merged commit b6953cc into main Aug 22, 2026
30 checks passed
@gilesknap
gilesknap deleted the fix/no-merge-warning-when-values-does-the-merge branch August 22, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant