C live checks beyond C-5 — kind 3, private registry, killed scan, webhooks, drift, retention, exception replace (lead only)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 15/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- docker, github, python
- Domain
- infrastructure, security, testing
Research direction
Start with the C-5 images loop in the README and the referenced scanning design spec, especially §§4.4, 6, 8.2–8.4, and 10. Then check each listed live scenario, including private GHCR authentication, scan failure and cleanup, webhooks, drift, exception handling, and retention; record the outcomes on this issue. The issue requires a Docker stack, private GHCR access, and a webhook sink.
Written by the indexing model from the issue text.
Description
Queue: C (#56) · Replaces: #63 (C-2 live checks) and #65 (C-4 live checks) · Spec: docs/superpowers/specs/2026-09-13-container-images-scanning-design.md §6, §8.2-§8.4, §10, §4.4 · Lead only: needs the Docker stack, a private GHCR account (a registry connection) and a webhook sink. The images loop from C-5 (python -m pipeline.demo images-seed, README "Images loop") sets up most of the preconditions.
Already verified live in C-5 (2026-09-30, PR #71); not repeated here
- Kind 2 on an approved user image, through to a published item (was #63 item 1).
- A rescan under a tightened policy flags an in-use image, and a triggered run still launches (#63 item 4).
- Flag →
process_image_flaggedfires → the process reads Degraded → a new deploy is refused → re-approval auto-resolves the alert (most of #65 item 1). - The daily rescans store a diff, and the history shows the "+N … since …" lines (#65 item 3, diff half).
- Exception expiry, failing path: flagged, the four columns cleared, an
exception_expiredaudit row with emptyactor_groups(#65 item 5, half). - Admin grant and revoke in the UI; the revoke confirmation names the process count (#65 item 7, half).
Still to check
- Kind 3 (#63.2): deploy a
containerrevision with acommandand see it overrideCmdonly. - Private registry (#63.3, #65.4): add a private GHCR image through a group
registryconnection.- Confirm Syft's GHCR/Docker Hub auth authority (C-2 plan Decision 24).
- Confirm the daemon pull with
X-Registry-Auth. - Confirm
grype db statusreportsbuiltandpath, sodb_built_atis not"unknown", and that the baked DB is readable as uid 10001. - Confirm a rescan's drift HEAD uses the group credential pipeline-side, while the scanner container gets none.
- Killed scan (#63.5):
docker kill stac-scan-<id>mid-scan. It endsscan_failedand the container is reaped. - Webhook delivery (#65.1, #65.2): with a webhook channel on the process's group,
process_image_flaggedis delivered exactly once, and aprocess_failedalert is delivered (C-4 decision 7). - Resolve by redeploy (#65.1): deploying a revision off the flagged image resolves the alert on the next minute.
- Drift (#65.3): move a tag upstream and see "tag moved to …" on the next rescan. Point a rescan at an unreachable registry and see
current_digest: null, with the scan still finishing. - Expiry, passing path (#65.5): an expired exception on an image that now passes stays
approvedand clears the fourexception_*columns, with one audit row. - Retention on real objects (#65.6): after a dedup fold, the orphaned
scans/{provisional_id}/…objects older than 24 h are deleted byhistory_retention(:17). The current SBOM and in-flight scans survive. The C-5 fold on 2026-09-30 left such objects, and they are old enough now. - Replace a live exception (#65.7): as an admin, a second grant replaces a live exception.
#57 (bad registry credentials refused) needs the same private-registry setup and can be done in the same sitting.
Record outcomes on this issue.
- Dominant language
- Python
- Stars
- 0
- Forks
- 2
- Avg merge
- 8h 26m
- Merged PRs (30d)
- 47
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from TechTraverse/stac-higher
-
ci
Difficulty 1/5 Under an hour Newbie friendliness 85/100
TechTraverse/stac-higher#261 ·
Maintainers usually reply within 1 day
-
ready
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
TechTraverse/stac-higher#258 ·
Maintainers usually reply within 1 day
-
Error messages hide the server's reason: users see only '400 Bad Request'Possibly taken @aman-code-io claimed this 3 days ago. Openbug good first issue ready
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
TechTraverse/stac-higher#232 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TechTraverse/stac-higher#225 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
TechTraverse/stac-higher#216 ·
Maintainers usually reply within 1 day
All issues in TechTraverse/stac-higher
Similar issues
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JTHCode/secretguard#24 ·
Maintainers usually reply within 1 day
-
area: middleware documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainers usually reply within 1 day