Skip to content

Point the app gallery at the repository's docs/gallery - #489

Merged
matt-edmondson merged 1 commit into
mainfrom
claude/project-thread-4d94d3
Oct 9, 2026
Merged

matt-edmondson merged 1 commit into
mainfrom
claude/project-thread-4d94d3

Conversation

@matt-edmondson

Copy link
Copy Markdown
Contributor

Requested by Matt in a Claude project thread.

Before: the gallery job that runs after CI on main failed with fatal: pathspec 'docs/gallery' did not match any files. The pictures were rendered, but into the test host's bin directory.

After: the pictures land in the repository's docs/gallery, where the job commits them.

The test host resolves a relative PROJECTDIRECTOR_GALLERY_OUT with Path.GetFullPath, which is relative to its own bin directory rather than the checkout.

How: the workflow now passes ${{ github.workspace }}/docs/gallery, the same form the ThemeProvider, Schema, BuildMonitor, Coder and Osculator gallery workflows use. I checked it locally by running the gallery tests with the absolute path: all 7 passed and the six pictures plus README.md were written to docs/gallery.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WWRBkw7bXdWGzuLpqnCvrB


Generated by Claude Code

The test host resolves a relative PROJECTDIRECTOR_GALLERY_OUT against its own
bin directory, so the gallery job wrote the pictures there and then failed to
find docs/gallery to commit. Pass the absolute path, as the other ktsu galleries do.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WWRBkw7bXdWGzuLpqnCvrB
@sonarqubecloud

sonarqubecloud Bot commented Oct 9, 2026

Copy link
Copy Markdown

@matt-edmondson
matt-edmondson merged commit 2424551 into main Oct 9, 2026
15 checks passed
@matt-edmondson
matt-edmondson deleted the claude/project-thread-4d94d3 branch October 9, 2026 23:52
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.

2 participants