fix(ci): trigger image build on crates/** edits + add manual dispatch #45
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
psa-systems/mokosh-server!45
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/ci-trigger-crates"
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?
The build-oci-image workflow's path filter only watched root-level
src/,migrations/,.cargo/, andCargo.{toml,lock}. Files under the workspace crates (e.g.crates/mokosh-auth-http/src/handlers/sessions.rs) compile into the same binary but never matched the filter, so PRs that only touched workspace crates merged into main without publishing a fresh:latest. PR #43 (clippy fix in sessions.rs) is the latest example; staging on c-01 is still running the pre-#43 image.crates/**to the path filter so any workspace-crate edit triggers a rebuild.workflow_dispatch:so we can manually publish a fresh:latestfrom the Actions tab without needing a code change that happens to match the filter.Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com
The build-oci-image workflow's path filter only watched root-level `src/`, `migrations/`, `.cargo/`, and `Cargo.{toml,lock}`. Files under the workspace crates (e.g. `crates/mokosh-auth-http/src/handlers/sessions.rs`) compile into the same binary but never matched the filter, so PRs that only touched workspace crates merged into main without publishing a fresh `:latest`. PR #43 (clippy fix in sessions.rs) is the latest example; staging on c-01 is still running the pre-#43 image. - Add `crates/**` to the path filter so any workspace-crate edit triggers a rebuild. - Add `workflow_dispatch:` so we can manually publish a fresh `:latest` from the Actions tab without needing a code change that happens to match the filter. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>