Skip to content

fix(ci): build claude-code and ralphex-fe on any build-context change - #205

Merged
gatezh merged 2 commits into
refactor/claude-code-verify-scriptfrom
fix/claude-code-build-paths
Oct 22, 2026
Merged

gatezh merged 2 commits into
refactor/claude-code-verify-scriptfrom
fix/claude-code-build-paths

Conversation

@gatezh

@gatezh gatezh commented Oct 8, 2026 •

Copy link
Copy Markdown
Owner

What

Rebuild and publish claude-code and ralphex-fe when any file in their build context changes on master, not only the files listed by hand.

Why

#175 added two files the claude-code image copies in (managed-skills/devcontainer-browser/SKILL.md, agent-browser.json). build-claude-code.yml didn't trigger on them, so an edit to either alone would merge and never be published. The first commit here added them to the list. Review finding #7 pointed out that a hand-kept list will miss the next new file too.

Changes

  • First commit: adds the two paths (the original fix).
  • Second commit: inverts the list with GitHub's ! path negation:
    • build-claude-code.yml: claude-code/.devcontainer/** minus the project templates (devcontainer.json, docker-compose.yml, init-plugins.sh, claude-sandbox/**).
    • build-ralphex-fe.yml: ralphex-fe/** minus *.md.

Notes

  • Failure mode flips: a new COPY'd file is covered by default. A template edit now costs one extra build instead.
  • PR CI is unaffected: its change detection already uses claude-code/** and ralphex-fe/**.
  • Stack: sits on the verify-script PR.

…config changes

#175 added two files the image copies in, managed-skills/devcontainer-browser/SKILL.md
and agent-browser.json, but build-claude-code.yml's push paths didn't include them.
An edit to either alone would merge to master and never be published.
List the files that are NOT image inputs instead of the ones that are,
using GitHub's '!' path negation. #175 added two COPY'd files the explicit
list missed, and they merged without ever being published; this PR first
fixed it by adding them by hand. Now a new COPY'd file is covered by default,
and the failure mode flips to one extra build when a template changes.
@gatezh
gatezh force-pushed the fix/claude-code-build-paths branch from 410388e to c26279b Compare October 22, 2026 22:45
@gatezh
gatezh changed the base branch from master to refactor/claude-code-verify-script October 22, 2026 22:45
@gatezh gatezh changed the title fix(ci): rebuild claude-code when its managed skill or agent-browser config changes fix(ci): build claude-code and ralphex-fe on any build-context change Oct 22, 2026
@gatezh
gatezh added this pull request to stack #244 October 22, 2026 22:46
@gatezh
gatezh merged commit e4fbd28 into master Oct 22, 2026
18 of 21 checks passed
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