Skip to content

Minor log refactor - #8

Merged
bpalermo merged 1 commit into
mainfrom
refactor
Feb 17, 2026
Merged

bpalermo merged 1 commit into
mainfrom
refactor

Conversation

@bpalermo

Copy link
Copy Markdown
Owner

No description provided.

@bpalermo
bpalermo merged commit 13ad5ee into main Feb 17, 2026
1 check passed
@bpalermo
bpalermo deleted the refactor branch February 17, 2026 13:19
bpalermo added a commit that referenced this pull request Sep 27, 2026
Renaming the step re-fingerprinted CodeQL's already-dismissed
actions/untrusted-checkout alert (#8: the job checks out ref: main and passes
the triggering head sha as data) and surfaced it as new on this PR. The step
name and its env comment go back to main's text; the split is described in
the workflow header.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo added a commit that referenced this pull request Sep 27, 2026
…> repositories via oras, release-environment pushes, split sweep (Quay cut-over, phase 2) (#1017)

* feat(040): publish to quay.io/aethermesh — the Quay cut-over (phase 2)

Flip the one registry setting (bazel/img/registry.bzl + its byte-identical
//proxy copy) to quay.io / aethermesh / no name overrides / chart- prefix, and
make everything around it follow:

- SIGNATURE_LAYOUT = "referrer" (what the sweep now asserts per commit) and
  PROXY_PIN_LEGACY_REFERENCES (the ghcr.io pin the chart keeps until the next
  proxy release re-pins it); image-registry.sh gains chart-ref,
  signature-layout and proxy-pin-refs, pinned by //bazel/img:registry_test.
- Charts pushed with oras to chart_registry_url(<chart>) =
  quay.io/aethermesh/chart-<name>: chart_push (//bazel/helm:defs.bzl) writes
  exactly what `helm push` writes (the .tgz as the chart-content layer,
  Chart.yaml as the helm config via //tools/chartconfig), because helm push
  cannot name a flat repository and quay has no nested ones. oras 1.3.4 pinned
  in MODULE.bazel, wrapped by //tools/oras with a version_test.
- publish.yaml / proxy-release.yml: every pushing or signing job runs in the
  `release` environment and logs in with the Quay robot; image_push + the
  separate keyless cosign sign step stay.
- publish-verify split: verify-published-artifacts.sh reads registry.bzl AS OF
  EACH PUSH HEAD (host, names, chart prefix, signature layout), so pre-cut-over
  heads are checked on ghcr.io and post-cut-over heads on quay.io; the proxy pin
  is looked up where the pin says. Harnesses extended with the split and its
  reds.
- Every pin reader (//bazel/proxy_pin, proxy-pin-lib, ci proxy-pin job,
  check-registry-config) accepts proxy_pin_references(); bump-chart rewrites the
  pin, repository line included, via proxy_pin_rewrite.
- quay-smoke reads the certificate SAN from the signature bundle (cosign v3's
  verify JSON has no optional.Subject) and fails when it cannot.
- Charts major-bumped to 1.0.0; docs, README, runbook and proposal 040 moved to
  the quay coordinates, with a consumer migration note and a phase-4 TODO.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

* ci(publish-verify): keep the Gate step text as on main

Renaming the step re-fingerprinted CodeQL's already-dismissed
actions/untrusted-checkout alert (#8: the job checks out ref: main and passes
the triggering head sha as data) and surfaced it as new on this PR. The step
name and its env comment go back to main's text; the split is described in
the workflow header.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

* fix(registry-lib): bind the robot credential to one registry host

REGISTRY_USERNAME/REGISTRY_PASSWORD are now sent only to the token endpoint
of REGISTRY_CREDENTIAL_HOST (default: the IMAGE_REGISTRY_HOST the workflows
export from scripts/image-registry.sh, else the setting's host). A token
request to any other host goes anonymous, with one stderr line
("registry-lib: credentials are for quay.io; reading ghcr.io anonymously").
The split sweep reads pre-cut-over heads on ghcr.io in runs that may hold the
quay robot, and nothing that points the library at a third registry may hand
it the password.

check-registry-lookup.sh (40 cases): the fake records every `-u` it is handed;
new cases pin the credential reaching its own host, NO credential reaching
another host, the exported IMAGE_REGISTRY_HOST, and a REGISTRY_CREDENTIAL_HOST
override both ways. Seen red with the guard removed.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

* fix(scripts): grep -c, not grep -q, after a pipe in the pin and layout lookups

Under the verifier's pipefail, an early-exiting `grep -q` can SIGPIPE the
writer and turn a hit into a miss. One check-registry-lookup run right after
the main merge reported "no commit reachable from <HEAD> introduced <pinned
digest>" (not reproduced in the next 200 direct runs and 6 harness runs);
proxy_pin_introduced_by and registry_signature_layout now read their whole
input with `grep -c`.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
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.

1 participant