Repository navigation
Configure digest watching per container from the Docker watcher - #1485
111blackeagle111 wants to merge 5 commits into
Conversation
|
I've updated this PR against main (9.7.0) and resolved the changelog conflict. Local tests, builds and lint checks pass; the new CI run is awaiting maintainer approval. Could you share your thoughts on the approach when you have a chance? |
|
Thanks a lot for the rebase and for the high-quality contribution (tests and documentation are top-notch!). We’ve been discussing this internally because it touches an important design question for WUD:
What are your thoughts on this? Would you prefer narrowing this PR to a dedicated digest override feature first, or do you have ideas on how this could fit into a more global options mechanism? |
|
Thanks for the detailed feedback. I’d prefer to keep this PR focused on digest overrides first. I agree that CONTAINEROPTIONS is too broad for the current scope.
A broader policy mechanism across watchers is worth discussing separately, particularly how workload selection and precedence should work. |
|
Yes, this sounds like a great plan and aligns perfectly with what we had in mind! Keeping this PR focused and clean with Looking forward to your updates! |
4cabacd to
4f8b408
Compare
|
Hi @fmartinou. Tests and documentation are updated. All 2,728 backend tests pass, along with builds and lint checks. Targeted checks against a real Docker Engine also passed using dedicated amd64 workloads and a controlled registry. The new CI run is awaiting maintainer approval. Thanks again for the feedback! |
…name with CONTAINERDIGESTS (#1485) Co-authored-by: 111blackeagle111 <96172471+111blackeagle111@users.noreply.github.com>
…name with CONTAINERDIGESTS (#1485) Co-authored-by: 111blackeagle111 <96172471+111blackeagle111@users.noreply.github.com>
|
Merged into main via commit 7efae78! Thank you very much @111blackeagle111 for the great work, quick responsiveness, and high quality of your contribution! |
|
Thanks, @fmartinou . I really enjoyed working with you on this PR. I appreciated how friendly and professional you were throughout the review. I hope we get to work together again on another PR and if you ever need a hand with a bug, I’m happy to help. |
Adds watcher-local
WUD_WATCHER_<NAME>_CONTAINERDIGESTSto enable or disable digest watching by exact Docker container name, for example{"postgres-db":{"watchdigest":true}}. JSON strings and native configuration objects share the same strict schema, with existing__FILEsupport. Explicit nonemptywud.watch.digestlabels take precedence; unmatched containers retain existing defaults.The resolver always returns a boolean, and payload label/cache handling follows upstream. Numeric-tag defaults and version discovery remain unchanged. No new digest algorithm, tag filters, storage changes, dependencies or UI are introduced.
Validation against main
fb5245(WUD 9.7.0): 2,728 backend tests, backend/documentation builds and documentation lint pass. Coverage improves on every axis; ESLint reports zero errors and the same 196 existing warning identities as pristine main. Independent QA passed 26 real Docker Engine checks with dedicated amd64 workloads and a controlled OCI registry, plus synthetic-fixture and direct-contract checks. Notification delivery, updater actions, UI and real ARM workloads were not tested. Upstream CI results are separate from these local checks.