fix(ci): trigger image build on crates/** edits + add manual dispatch #45

Merged
YousifShkara merged 1 commit from fix/ci-trigger-crates into main 2026-05-27 22:22:25 +02:00
Owner

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

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>
fix(ci): trigger image build on crates/** edits + add manual dispatch
All checks were successful
Create release / Create release from merged PR (pull_request) Has been skipped
Check / fmt + clippy + compile + tests (pull_request) Successful in 2m25s
6cb951391c
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>
YousifShkara deleted branch fix/ci-trigger-crates 2026-05-27 22:22:25 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-server!45
No description provided.