GeezerVison is showing github.com — fix(security): enforce the tenant ClusterIssuer boundary at admission by devantler · Pull Request #2833 · devantler-tech/platform
Conversation
🤖 Generated by the Agentic Engineer
Why
Tenants can manage their own certificates, and the intended boundary is that
cluster-wide issuers stay platform territory. Today that boundary is a comment,
not a rule. Permissions can stop a tenant from editing the shared issuer, but
not from pointing at it — that reference is resolved by cert-manager on the
tenant's behalf, under cert-manager's own identity.
The consequence is that any tenant could request certificates through the
platform's shared Let's Encrypt account, including for hostnames belonging to
other tenants. Nothing would reject it and nothing would flag it.
What
Adds an admission rule that requires certificates in tenant namespaces to use an
issuer from their own namespace. Platform namespaces are untouched, and so is
anything the platform itself installs into a tenant namespace.
Security floor gained: a tenant can no longer obtain a certificate for a name
it does not own via the shared issuer. Everyday cost: none — the supported
path already works and is what the one existing tenant certificate does today.
Two details worth flagging, both of which would have been silent bugs:
- It allows an approved list of issuer types rather than blocking one by name.
Add-on issuer projects ship both a namespaced and a cluster-wide variant, so
blocking only the obvious name would have missed every other cluster-wide type.
- Leaving the issuer type unset is legal and means "my own namespace". Two of the
nine certificates running in production do exactly that, so treating unset as a
violation would have been an outage.
Checked against production before choosing to enforce rather than warn: there are
no violating certificates today, so nothing currently running is affected.
Fixes #2470
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
🤖 Generated by the Agentic Engineer
Verification record
Exercised as a user, not just traced. The fixture (tests/restrict-tenant-issuer-refs) runs in
CI via kyverno test ./tests and passes 7/7 — but a passing Kyverno fixture is worth very little on
its own, so here is what was actually proven.
The fixture is not vacuous
The Kyverno CLI does not read namespace labels from Namespace objects in resources.yaml. Without
a values.yaml declaring them, a rule matched by namespaceSelector is reported Excluded for
every resource and the whole fixture passes while the policy does nothing. Ablated to confirm:
deleting values.yaml still reports Test Summary: 7 tests passed and 0 tests failed, with every
row's REASON reading Excluded. The green summary is not the signal; the REASON column is. With
values.yaml present, in-scope rows read Ok and only kube-system/gateway-certificate reads
Excluded, which is the intended scoping.
Each design decision ablated separately
| Ablation |
Result |
What it proves |
Allow-list → Equals ClusterIssuer |
tenant-cert-external-clusterissuer: want fail, got pass |
A name-based deny misses every non-cert-manager cluster-scoped kind (AWSPCAClusterIssuer) |
Drop || 'Issuer' default |
tenant-cert-kind-omitted: want pass, got fail |
Omitted kind is legal and means namespaced; denying it would break 2 of the 9 certs live on prod |
Remove namespaceSelector |
kube-system/gateway-certificate: want skip, got fail |
The scoping is what keeps the real platform certificate working |
Each ablation was verified to have actually applied (match counts before/after) and verified restored
afterwards; the final green above is from the committed tree with a clean worktree.
The carve-outs, proven behaviourally
kyverno test cannot express request.userInfo, so the excludes are not coverable by the CI
fixture. Proven separately with kyverno apply --userinfo, per identity:
| Applying identity |
Denied |
| tenant SA |
tenant-cert-clusterissuer, tenant-cert-external-clusterissuer, tenant-cr-clusterissuer |
flux-system:kustomize-controller |
nothing — platform carve-out holds on both rules |
cert-manager:cert-manager |
only the two Certificates; not tenant-cr-clusterissuer |
The third row is the one that matters operationally: cert-manager derives a CertificateRequest from
every Certificate under its own identity and copies the issuerRef, so without that exclusion a
platform-authored ClusterIssuer-backed Certificate would be admitted and then have its derived
request rejected — an issuance failure pointing at the wrong object.
Live state checked before choosing Enforce over Audit
The issue proposed starting in Audit. Read prod first: 4 tenant namespaces
(ascoachingogvaner, doggy-countdown, github-config, wedding-app), and the only Certificate in
any of them is ascoachingogvaner/ascoachingogvaner-dk, already on a namespaced Issuer. The only
ClusterIssuer reference cluster-wide is kube-system/gateway-certificate, which is out of scope.
Audit exists to discover unknown violators; here the violator set is empirically empty, and a
security boundary left in Audit is not a boundary. Repo-only evidence would not have been enough —
tenants deploy from their own repositories — which is why this was checked against the live cluster.
Both overlays build (kubectl kustomize k8s/clusters/{local,prod}/), and the policy renders into
k8s/bases/infrastructure/cluster-policies/ (23 policies, this one included).
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
⚠️ BASH / bash-exec - 4 errors
Results of bash-exec linter (version 5.3.9)
See documentation on https://megalinter.io/9.6.0/descriptors/bash_bash_exec/
-----------------------------------------------
❌ [ERROR] scripts/ghcr-auth-lib.sh
Error: File:[scripts/ghcr-auth-lib.sh] is not executable
✅ [SUCCESS] scripts/guard-cilium-homogeneous-device-rollout.sh
❌ [ERROR] scripts/refresh-flux-ghcr-auth-safety.sh
Error: File:[scripts/refresh-flux-ghcr-auth-safety.sh] is not executable
✅ [SUCCESS] scripts/refresh-flux-ghcr-auth.sh
✅ [SUCCESS] scripts/run-ksail-prod-with-pull-auth.sh
✅ [SUCCESS] scripts/tests/test-cilium-bandwidth-manager-component.sh
✅ [SUCCESS] scripts/tests/test-cilium-homogeneous-devices-activation.sh
✅ [SUCCESS] scripts/tests/test-cilium-homogeneous-devices-autoscaler-gate.sh
✅ [SUCCESS] scripts/tests/test-cilium-homogeneous-devices-flux-wait.sh
❌ [ERROR] scripts/tests/test-opencost-usage-scraper.sh
Error: File:[scripts/tests/test-opencost-usage-scraper.sh] is not executable
❌ [ERROR] scripts/tests/test-refresh-flux-ghcr-auth-safety.sh
Error: File:[scripts/tests/test-refresh-flux-ghcr-auth-safety.sh] is not executable
✅ [SUCCESS] scripts/validate-alert-coverage.sh
✅ [SUCCESS] scripts/wait-for-platform-flux-revision.sh
⚠️ REPOSITORY / checkov - 73 errors
16 | - secretKey: red**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/apps/fleetdm/helm-release.yaml:328-329
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
328 | existingSecretPasswordKey: red**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/apps/headlamp/external-secret.yaml:15-16
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
15 | - secretKey: cli**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/apps/umami/helm-release.yaml:118-119
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
118 | existingSecret: umam**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/apps/wedding-app/external-secret-ghcr-auth.yaml:34-35
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
34 | - secretKey: dock**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/controllers/dex/external-secret.yaml:30-31
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
30 | - secretKey: cli**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/controllers/velero/helm-release.yaml:108-109
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
108 | existingSecret: veler**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/external-secrets/ghcr-auth.yaml:25-26
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
25 | - secretKey: dock**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/resource-graph-definitions/tenant/resource-graph-definition.yaml:166-167
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
166 | - secretKey: dock**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/vault-config/external-secret.yaml:15-16
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
15 | - secretKey: dex-**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/vault-seed/push-secret-seed-actual-budget-enablebanking.yaml:26-27
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
26 | secretKey: app**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/vault-seed/push-secret-seed-oauth2-proxy-cookie-secret.yaml:17-18
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
17 | secretKey: oauth2**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/vault-seed/push-secret-seed-r2-credentials.yaml:44-45
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
44 | secretKey: r2_a**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/vault-seed/push-secret-seed-r2-credentials.yaml:49-50
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
49 | secretKey: r2_se**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/vault-seed/push-secret-seed-velero-repo-credentials.yaml:36-37
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
36 | secretKey: repo**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/bases/infrastructure/vault-seed/secret-actual-budget-encryption-placeholder.yaml:25-26
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
25 | password: PL**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/providers/hetzner/apps/unifi/external-secret-wireguard.yaml:26-27
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
26 | - secretKey: pr**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/providers/hetzner/apps/unifi/external-secret-wireguard.yaml:30-31
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
30 | - secretKey: pee**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/providers/hetzner/infrastructure/cluster-issuers/cloudflare-api-token-external-secret.yaml:15-16
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
15 | - secretKey: ap**********
Check: CKV_SECRET_6: "Base64 High Entropy String"
FAILED for resource: HIDDEN_BY_MEGALINTER File: /k8s/providers/hetzner/infrastructure/external-dns/external-secret.yaml:24-25
Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/secrets-policies/secrets-policy-index/git-secrets-6
24 | - secretKey: ap**********
github_actions scan results:
Passed checks: 175, Failed checks: 0, Skipped checks: 1
(Truncated to last 6666 characters out of 30398)
⚠️ SPELL / cspell - 2182 errors
omizations",
"Kyverno",
"Kyverno's",
"LOCALREGISTRY",
"LUKS",
"Materialised",
"Opsgenie",
"PITR",
"Preflighted",
"Preflights",
"Prereqs",
"Productionisation",
"Productionising",
"Rekor",
"SHFMT",
"SLSA",
"SNAT'd",
"SPIFFE",
"SPOF",
"SVID",
"SVIDs",
"SYFT",
"Schedulability",
"Schedulable",
"Shamir",
"Sigstore",
"Sigstore's",
"Synchronised",
"Syscall",
"TOCTOU",
"Talosctl",
"Testkube",
"UNCORDON",
"Umami",
"Uncordon",
"Uncordoned",
"Unifi",
"Upjet",
"VXLAN",
"Valkey",
"Velero",
"Velero's",
"Virt",
"WLANs",
"Yubi",
"ZIZMOR",
"alertmanager",
"alertname",
"analysed",
"anchore",
"antiaffinity",
"apid",
"apiserver",
"apiserver's",
"argjson",
"artipacked",
"ascoachingogvaner",
"ascoachingogvaner's",
"authorised",
"automerged",
"automount",
"autoscalers",
"awspca",
"backupstoragelocations",
"baselining",
"bcdfghjklmnpqrstvwxz",
"behaviour",
"behavioural",
"betterleaks",
"bitnami",
"blocklist",
"browsable",
"buildx",
"burstable",
"cadvisor",
"callsite",
"certificaterequest",
"chokepoint",
"ciphertext",
"clickhouse",
"cloudnative",
"cloudprovider",
"clusterissuer",
"clusterpolicies",
"clusterrolebindings",
"clusterroles",
"cmdline",
"cnpg",
"coderabbit",
"configmap",
"controlplane",
"controlplaneio",
"cooldown",
"coroot",
"covermode",
"coverprofile",
"crashloop",
"crashloops",
"creds",
"crossplane",
"crossview",
"customise",
"cutover",
"cyclonedx",
"datapath",
"datreeio",
"dbname",
"defence",
"deletecollection",
"deploymentruntimeconfigs",
"descheduler",
"descheduling",
"devantler",
"diffable",
"dockerconfigjson",
"docstrings",
"dorny",
"dpkg",
"emptydir",
"endgroup",
"envsubst",
"esac",
"etcdctl",
"evictable",
"externalsecret",
"externalsecrets",
"fanout",
"featureflagsource",
"fleetdm",
"fromdateiso",
"gatewayapi",
"generatable",
"generatingpolicies",
"genkey",
"gethomepage",
"gitops",
"golangci",
"gosec",
"grjtvs",
"growfs",
"growpart",
"healthchecks",
"healthz",
"helmrelease",
"helmreleases",
"helmv",
"homelab",
"hostnames",
"httproute",
"imagetools",
"imranismail",
"inspectable",
"iscsi",
"keypair",
"kprobes",
"kptr",
"krew",
"ksail",
"ksail's",
"kubeconfig",
"kubeconform",
"kubeconform's",
"kubelet",
"kubelet's",
"kubelets",
"kubelogin",
"kubescape",
"kubespan",
"kubevirt",
"kubevuln",
"kustomization",
"kustomizations",
"kyverno",
"letsencrypt",
"libc",
"libgnutls",
"lintable",
"livez",
"loadtester",
"luks",
"lycheeignore",
"machineconfig",
"materialise",
"materialised",
"materialises",
"maxage",
"maxbackup",
"maxsize",
"misconfigs",
"mktemp",
"mlock",
"mutatingpolicies",
"myapp",
"najsk",
"neighbour",
"netlink",
"netpol",
"netpols",
"nftables",
"nilnil",
"nodepod",
"nodeport",
"nolint",
"openbao",
"opencost",
"openfeature",
"oras",
"overprovisioning",
"parallelised",
"pasteable",
"permissioning",
"pipefail",
"policyignore",
"policyreports",
"portforward",
"preemptible",
"preservingly",
"prioritised",
"privesc",
"providerconfigs",
"pushsecret",
"pushsecrets",
"rdqwpktr",
"readyz",
"recognise",
"reconverges",
"refreshfluxghcrauth",
"regenerable",
"releaserc",
"rematerialise",
"rematerialised",
"repoint",
"repointed",
"repoints",
"repositoryrulesets",
"resizer",
"restrictor",
"retabbed",
"rmem",
"rolebindings",
"rollouts",
"rshared",
"schedulability",
"schedulable",
"scopeable",
"seccomp",
"secretbox",
"secretstore",
"seedable",
"serviceaccount",
"serviceaccounts",
"sgdisk",
"shellcheck",
"shfmt",
"siderolabs",
"siderolink",
"sigstore",
"skmde",
"slurpfile",
"spiffe",
"srole",
"startswith",
"statefulset",
"statemanager",
"stdlib",
"storageclass",
"syft",
"syft's",
"syscall",
"sysctls",
"talosconfig",
"talosctl",
"tanzu",
"templatesyncignore",
"thresholded",
"tostring",
"tracepoints",
"trixie",
"trustd",
"umami",
"umami's",
"uncertifiable",
"uncordon",
"uncordoned",
"unifi",
"unmarshalling",
"unrecognised",
"unreviewed",
"unroutable",
"unshippable",
"untrackable",
"upbound",
"updatekeys",
"upjet",
"upstreaming",
"urlencode",
"userns",
"ushfn",
"validatable",
"validatealertcoverage",
"vcunav",
"velero",
"volumesnapshot",
"vxlan",
"wffc",
"wgpolicyk",
"wmem",
"worktrees",
"yannh",
"yubikey",
"yzwvjjmcyfnl",
"zizmor"
]
}
You can also copy-paste megalinter-reports/.cspell.json at the root of your repository
(Truncated to last 6666 characters out of 376475)
⚠️ COPYPASTE / jscpd - 108 errors
ts/tests/refresh-flux-ghcr-auth/rollout_convergence_test.go [541:28 - 548:14]
Clone found (go)
- scripts/tests/refresh-flux-ghcr-auth/rollout_core_test.go [278:55 - 284:63] (7 lines, 67 tokens)
scripts/tests/refresh-flux-ghcr-auth/rollout_core_test.go [296:55 - 302:63]
Clone found (go)
- scripts/tests/refresh-flux-ghcr-auth/rollout_core_test.go [278:55 - 283:70] (6 lines, 56 tokens)
scripts/tests/refresh-flux-ghcr-auth/rollout_safety_test.go [34:47 - 39:70]
Clone found (go)
- scripts/tests/refresh-flux-ghcr-auth/rollout_core_test.go [329:125 - 336:3] (8 lines, 64 tokens)
scripts/tests/refresh-flux-ghcr-auth/rollout_core_test.go [361:32 - 368:3]
Clone found (go)
- scripts/tests/refresh-flux-ghcr-auth/rollout_safety_test.go [49:25 - 54:11] (6 lines, 53 tokens)
scripts/tests/refresh-flux-ghcr-auth/rollout_safety_test.go [62:28 - 67:11]
Clone found (go)
- scripts/tests/refresh-flux-ghcr-auth/rollout_safety_test.go [100:47 - 106:22] (7 lines, 50 tokens)
scripts/tests/refresh-flux-ghcr-auth/rollout_safety_test.go [305:21 - 311:22]
Clone found (go)
- scripts/tests/refresh-flux-ghcr-auth/rollout_safety_test.go [229:3 - 236:37] (8 lines, 56 tokens)
scripts/tests/refresh-flux-ghcr-auth/rollout_safety_test.go [252:3 - 259:37]
Clone found (go)
- scripts/tests/refresh-flux-ghcr-auth/rollout_safety_test.go [334:69 - 343:5] (10 lines, 57 tokens)
scripts/tests/refresh-flux-ghcr-auth/rollout_safety_test.go [347:83 - 356:5]
Clone found (go)
- scripts/tests/refresh-flux-ghcr-auth/rollout_safety_test.go [382:68 - 390:5] (9 lines, 51 tokens)
scripts/tests/refresh-flux-ghcr-auth/rollout_safety_test.go [394:83 - 402:5]
Clone found (go)
- scripts/tests/refresh-flux-ghcr-auth/rollout_safety_test.go [428:77 - 444:11] (17 lines, 118 tokens)
scripts/tests/refresh-flux-ghcr-auth/rollout_safety_test.go [454:110 - 470:11]
Clone found (bash)
- scripts/tests/test-cilium-bandwidth-manager-component.sh [9:1 - 54:2] (46 lines, 202 tokens)
scripts/tests/test-cilium-homogeneous-devices-activation.sh [9:1 - 54:2]
Clone found (bash)
- scripts/tests/test-cilium-bandwidth-manager-component.sh [52:5 - 72:2] (21 lines, 67 tokens)
scripts/tests/test-cilium-homogeneous-devices-activation.sh [91:23 - 111:2]
Clone found (bash)
- scripts/tests/test-cilium-bandwidth-manager-component.sh [54:1 - 72:2] (19 lines, 65 tokens)
scripts/tests/test-opencost-usage-scraper.sh [15:1 - 33:2]
Clone found (bash)
- scripts/tests/test-refresh-flux-ghcr-auth-safety.sh [177:5 - 185:51] (9 lines, 76 tokens)
scripts/tests/test-refresh-flux-ghcr-auth-safety.sh [186:5 - 194:51]
Clone found (python)
- scripts/tests/test_validate_homepage_bookmarks.py [46:57 - 54:54] (9 lines, 58 tokens)
scripts/tests/test_validate_homepage_bookmarks.py [100:53 - 109:54]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [244:50 - 249:24] (6 lines, 103 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [756:31 - 761:24]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [276:14 - 282:4] (7 lines, 115 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [603:43 - 609:4]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [388:5 - 393:2] (6 lines, 82 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [574:8 - 579:9]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [389:1 - 399:23] (11 lines, 220 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [666:60 - 677:3]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [393:15 - 404:2] (12 lines, 185 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [494:17 - 505:2]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [440:15 - 451:12] (12 lines, 264 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [649:1 - 662:3]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [503:2 - 509:19] (7 lines, 89 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [688:7 - 694:19]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [503:2 - 509:33] (7 lines, 103 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [943:58 - 949:33]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [503:2 - 509:4] (7 lines, 74 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [1056:5 - 1062:4]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [596:30 - 601:8] (6 lines, 50 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [623:44 - 628:8]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [881:33 - 889:11] (9 lines, 118 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [893:130 - 901:11]
Clone found (go)
- scripts/validate-eks-ci-role-policy/main_test.go [1088:47 - 1093:2] (6 lines, 166 tokens)
scripts/validate-eks-ci-role-policy/main_test.go [1142:46 - 1147:2]
Clone found (python)
- scripts/validate-naming.py [126:52 - 132:25] (7 lines, 53 tokens)
scripts/validate-naming.py [171:82 - 177:29]
┌────────┬────────────────┬─────────────┬──────────────┬──────────────┬──────────────────┬───────────────────┐
│ Format │ Files analyzed │ Total lines │ Total tokens │ Clones found │ Duplicated lines │ Duplicated tokens │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ bash │ 16 │ 5678 │ 23073 │ 13 │ 179 (3.15%) │ 1025 (4.44%) │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ go │ 17 │ 9422 │ 77812 │ 29 │ 215 (2.28%) │ 2633 (3.38%) │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ python │ 4 │ 807 │ 5606 │ 2 │ 14 (1.73%) │ 111 (1.98%) │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ txt │ 57 │ 3378 │ 109125 │ 64 │ 2417 (71.55%) │ 80219 (73.51%) │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ Total: │ 94 │ 19285 │ 215616 │ 108 │ 2825 (14.65%) │ 83988 (38.95%) │
└────────┴────────────────┴─────────────┴──────────────┴──────────────┴──────────────────┴───────────────────┘
Found 108 clones.
HTML report saved to megalinter-reports/copy-paste/jscpd-report.html
ERROR: jscpd found too many duplicates (14.6%) over threshold (0.0%)
time: 1.16s
(Truncated to last 6666 characters out of 25724)
⚠️ MARKDOWN / markdownlint - 63 errors
hould have a language specified [Context: "```"]
AGENTS.md:101:401 error MD013/line-length Line length [Expected: 400; Actual: 1769]
AGENTS.md:105:401 error MD013/line-length Line length [Expected: 400; Actual: 1126]
AGENTS.md:106:401 error MD013/line-length Line length [Expected: 400; Actual: 1447]
AGENTS.md:121:401 error MD013/line-length Line length [Expected: 400; Actual: 649]
AGENTS.md:123:401 error MD013/line-length Line length [Expected: 400; Actual: 971]
AGENTS.md:150:401 error MD013/line-length Line length [Expected: 400; Actual: 970]
AGENTS.md:153:401 error MD013/line-length Line length [Expected: 400; Actual: 453]
AGENTS.md:172:401 error MD013/line-length Line length [Expected: 400; Actual: 846]
AGENTS.md:241:401 error MD013/line-length Line length [Expected: 400; Actual: 491]
AGENTS.md:242:401 error MD013/line-length Line length [Expected: 400; Actual: 468]
AGENTS.md:248:401 error MD013/line-length Line length [Expected: 400; Actual: 532]
AGENTS.md:250:401 error MD013/line-length Line length [Expected: 400; Actual: 523]
AGENTS.md:253:401 error MD013/line-length Line length [Expected: 400; Actual: 613]
AGENTS.md:254:401 error MD013/line-length Line length [Expected: 400; Actual: 714]
AGENTS.md:258:401 error MD013/line-length Line length [Expected: 400; Actual: 502]
AGENTS.md:262:401 error MD013/line-length Line length [Expected: 400; Actual: 441]
AGENTS.md:267:401 error MD013/line-length Line length [Expected: 400; Actual: 427]
AGENTS.md:370:401 error MD013/line-length Line length [Expected: 400; Actual: 1012]
AGENTS.md:372:401 error MD013/line-length Line length [Expected: 400; Actual: 1240]
AGENTS.md:377:401 error MD013/line-length Line length [Expected: 400; Actual: 430]
AGENTS.md:388:401 error MD013/line-length Line length [Expected: 400; Actual: 1230]
AGENTS.md:399:401 error MD013/line-length Line length [Expected: 400; Actual: 790]
AGENTS.md:404:401 error MD013/line-length Line length [Expected: 400; Actual: 515]
CLAUDE.md:1 error MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "@AGENTS.md"]
docs/dr/alerting.md:213:28 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/crypto-custody.md:22:389 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/crypto-custody.md:23:264 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/crypto-custody.md:27:35 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/crypto-custody.md:27:161 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/crypto-custody.md:27:239 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/crypto-custody.md:114 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "Custody recommendations"]
docs/dr/crypto-custody.md:245 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "Custody recommendations"]
docs/dr/crypto-custody.md:251 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "What to do if it leaks"]
docs/dr/crypto-custody.md:258 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "What to do if it is *lost* (no..."]
docs/dr/restore-drill.md:42 error MD028/no-blanks-blockquote Blank line inside blockquote
docs/dr/runbook.md:23:102 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/runbook.md:23:487 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/runbook.md:34 error MD028/no-blanks-blockquote Blank line inside blockquote
docs/dr/runbook.md:41 error MD028/no-blanks-blockquote Blank line inside blockquote
docs/dr/runbook.md:50 error MD028/no-blanks-blockquote Blank line inside blockquote
docs/dr/runbook.md:486:92 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/spire-server-ha.md:93 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
docs/dr/velero-cnpg.md:11 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
docs/dr/velero-cnpg.md:56:78 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/velero-cnpg.md:56:166 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/velero-cnpg.md:57:78 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/velero-cnpg.md:57:227 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/velero-cnpg.md:58:78 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/dr/velero-cnpg.md:58:166 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
docs/github-management.md:38:401 error MD013/line-length Line length [Expected: 400; Actual: 419]
docs/github-management.md:40:401 error MD013/line-length Line length [Expected: 400; Actual: 522]
docs/node-autoscaling.md:14 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
docs/oidc-kubectl.md:95 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
docs/runtime-security.md:114 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
docs/rwx-storage.md:9 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
docs/unifi-management.md:14 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
docs/unifi-management.md:62 error MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
README.md:116:401 error MD013/line-length Line length [Expected: 400; Actual: 540]
README.md:237:32 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
README.md:237:36 error MD060/table-column-style Table column style [Table pipe does not align with header for style "aligned"]
(Truncated to last 6666 characters out of 6992)
⚠️ REPOSITORY / trivy - 1 error
er/infrastructure/vertical-pod-autoscalers/spire-agent.yaml:9-13
────────────────────────────────────────
9 ┌ spec:
10 │ targetRef:
11 │ apiVersion: apps/v1
12 │ kind: DaemonSet
13 └ name: spire-agent
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/spire-server.yaml (kubernetes)
============================================================================================
Tests: 118 (SUCCESSES: 116, FAILURES: 2)
Failures: 2 (UNKNOWN: 0, LOW: 1, MEDIUM: 1, HIGH: 0, CRITICAL: 0)
KSV-0037 (MEDIUM): VerticalPodAutoscaler 'spire-server' should not be set with 'kube-system' namespace
════════════════════════════════════════
ensure that user resources are not placed in kube-system namespace
See https://avd.aquasec.com/misconfig/ksv-0037
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/spire-server.yaml:7-11
────────────────────────────────────────
7 ┌ spec:
8 │ targetRef:
9 │ apiVersion: apps/v1
10 │ kind: StatefulSet
11 └ name: spire-server
────────────────────────────────────────
KSV-0039 (LOW): A LimitRange policy with a default requests and limits for each container should be configured
════════════════════════════════════════
Ensure that a LimitRange policy is configured to limit resource usage for namespaces or nodes
See https://avd.aquasec.com/misconfig/ksv-0039
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/spire-server.yaml:7-11
────────────────────────────────────────
7 ┌ spec:
8 │ targetRef:
9 │ apiVersion: apps/v1
10 │ kind: StatefulSet
11 └ name: spire-server
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/tetragon-operator.yaml (kubernetes)
=================================================================================================
Tests: 118 (SUCCESSES: 116, FAILURES: 2)
Failures: 2 (UNKNOWN: 0, LOW: 1, MEDIUM: 1, HIGH: 0, CRITICAL: 0)
KSV-0037 (MEDIUM): VerticalPodAutoscaler 'tetragon-operator' should not be set with 'kube-system' namespace
════════════════════════════════════════
ensure that user resources are not placed in kube-system namespace
See https://avd.aquasec.com/misconfig/ksv-0037
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/tetragon-operator.yaml:7-11
────────────────────────────────────────
7 ┌ spec:
8 │ targetRef:
9 │ apiVersion: apps/v1
10 │ kind: Deployment
11 └ name: tetragon-operator
────────────────────────────────────────
KSV-0039 (LOW): A LimitRange policy with a default requests and limits for each container should be configured
════════════════════════════════════════
Ensure that a LimitRange policy is configured to limit resource usage for namespaces or nodes
See https://avd.aquasec.com/misconfig/ksv-0039
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/tetragon-operator.yaml:7-11
────────────────────────────────────────
7 ┌ spec:
8 │ targetRef:
9 │ apiVersion: apps/v1
10 │ kind: Deployment
11 └ name: tetragon-operator
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/tetragon.yaml (kubernetes)
========================================================================================
Tests: 118 (SUCCESSES: 116, FAILURES: 2)
Failures: 2 (UNKNOWN: 0, LOW: 1, MEDIUM: 1, HIGH: 0, CRITICAL: 0)
KSV-0037 (MEDIUM): VerticalPodAutoscaler 'tetragon' should not be set with 'kube-system' namespace
════════════════════════════════════════
ensure that user resources are not placed in kube-system namespace
See https://avd.aquasec.com/misconfig/ksv-0037
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/tetragon.yaml:9-13
────────────────────────────────────────
9 ┌ spec:
10 │ targetRef:
11 │ apiVersion: apps/v1
12 │ kind: DaemonSet
13 └ name: tetragon
────────────────────────────────────────
KSV-0039 (LOW): A LimitRange policy with a default requests and limits for each container should be configured
════════════════════════════════════════
Ensure that a LimitRange policy is configured to limit resource usage for namespaces or nodes
See https://avd.aquasec.com/misconfig/ksv-0039
────────────────────────────────────────
k8s/providers/hetzner/infrastructure/vertical-pod-autoscalers/tetragon.yaml:9-13
────────────────────────────────────────
9 ┌ spec:
10 │ targetRef:
11 │ apiVersion: apps/v1
12 │ kind: DaemonSet
13 └ name: tetragon
────────────────────────────────────────
ksail.prod.yaml (kubernetes)
============================
Tests: 118 (SUCCESSES: 117, FAILURES: 1)
Failures: 1 (UNKNOWN: 0, LOW: 1, MEDIUM: 0, HIGH: 0, CRITICAL: 0)
KSV-0039 (LOW): A LimitRange policy with a default requests and limits for each container should be configured
════════════════════════════════════════
Ensure that a LimitRange policy is configured to limit resource usage for namespaces or nodes
See https://avd.aquasec.com/misconfig/ksv-0039
────────────────────────────────────────
ksail.prod.yaml:7-249
────────────────────────────────────────
7 ┌ name: prod
8 │ spec:
9 │ cluster:
10 │ distributionConfig: talos
11 │ connection:
12 │ context: admin@prod
13 │ timeout: 30m
14 │ distribution: Talos
15 └ provider: Hetzner
..
────────────────────────────────────────
ksail.yaml (kubernetes)
=======================
Tests: 118 (SUCCESSES: 117, FAILURES: 1)
Failures: 1 (UNKNOWN: 0, LOW: 1, MEDIUM: 0, HIGH: 0, CRITICAL: 0)
KSV-0039 (LOW): A LimitRange policy with a default requests and limits for each container should be configured
════════════════════════════════════════
Ensure that a LimitRange policy is configured to limit resource usage for namespaces or nodes
See https://avd.aquasec.com/misconfig/ksv-0039
────────────────────────────────────────
ksail.yaml:7-55
────────────────────────────────────────
7 ┌ name: local
8 │ spec:
9 │ cluster:
10 │ distributionConfig: talos-local
11 │ connection:
12 │ context: admin@local
13 │ timeout: 40m
14 │ distribution: Talos
15 └ provider: Docker
..
────────────────────────────────────────
📣 Notices:
- Version 0.72.0 of Trivy is now available, current version is 0.71.2
To suppress version checks, run Trivy scans with the --skip-version-check flag
(Truncated to last 6666 characters out of 802469)
✅ Linters with no issues
actionlint, betterleaks, git_diff, golangci-lint, grype, jsonlint, lychee, osv-scanner, prettier, prettier, revive, secretlint, shellcheck, shfmt, syft, trivy-sbom, trufflehog, v8r, v8r, yamllint, zizmor
Notices
📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)
See detailed reports in MegaLinter artifacts

Show us your support by starring ⭐ the repository
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
🤖 Generated by the Agentic Engineer
@codex review
Starting at Codex because the CodeRabbit lane is quota-exhausted account-wide, measured three
times in the last two hours: its summary comment carries Review limit reached — you've reached your PR review limit, so we couldn't start this review on platform#2830 (04:40Z), world-at-ruin#441
(05:17Z) and world-at-ruin#422 (06:37Z, a sibling instance's request). Its acknowledgement still
reads "✅ Review finished", so the ack is not the signal. That is a provider quota state rather than
a verdict, so the ladder advances; recorded as cr:no-gate@a0e02c9e so a later run does not
re-spend it on this head.
CI is green at this head (16 success / 11 skipped, 0 failures) and mergeable_state: clean.
Verification record, including the ablations and the per-identity carve-out proof, is in the
comment above.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Codex Review: Didn't find any major issues. 🎉
Reviewed commit: a0e02c9e73
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
🤖 Generated by the Agentic Engineer
Promoting — all three readiness conditions hold at a0e02c9e73
- Programmatically tested — CI green at head (17 success / 11 skipped, 0 failures);
🧪 Validate Manifests (which runs kyverno test ./tests) passes. The three design decisions
are each ablated separately in the verification record above, and the anti-vacuity fix is
committed as tests/restrict-tenant-issuer-refs/values.yaml — without it the fixture passes
while the policy does nothing.
- Reviewed — Codex green at this exact head:
Codex Review: Didn't find any major issues,
Reviewed commit: a0e02c9e73. 0 review threads, 0 unresolved, no non-thread findings.
CodeRabbit was quota-exhausted account-wide when requested (cr:no-gate@a0e02c9e recorded
above), which is a provider quota state rather than a verdict, so the ladder advanced.
- Tried and evaluated as a user — the carve-outs were proven with
kyverno apply --userinfo
per applying identity (tenant SA denied, kustomize-controller and cert-manager's derived
CertificateRequest both correctly excluded), and prod was read before choosing Enforce over
Audit: the violator set is empirically empty.
mergeStateStatus: CLEAN. Merging.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
🤖 Generated by the Agentic Engineer
Evicted from the merge queue by a systemic blocker — do NOT simply re-queue
This PR was enqueued at ~08:30Z and evicted when its merge_group CI run
(30342758716) failed. Root cause,
per the merge-queue rule that a kick-out is diagnosed before re-queuing:
Could not atomically acquire the GHCR synchronization lock
Both 🚀 Deploy to Prod and the 🩹 Heal Prod job failed at the same point, in
scripts/refresh-flux-ghcr-auth.sh. This is not a one-off transient and not the Cilium
mutual-auth flake (#2337) — re-queuing will re-hit it.
The fix is already in flight as #2836 (fix(deploy): unblock GHCR synchronization, issue #2835).
Re-queue this PR once that lands.
Prod is healthy — checked read-only: 8/8 nodes Ready, and the only not-Ready Flux Kustomizations
are ordinary in-progress reconciles. The failed heal job reached ✅ Prod API server reachable before
failing on the lock, so nothing is stranded that needs manual recovery. (The two ::error:: lines in
the log are unexpanded script source, not firings.)
Nothing about this PR's own content is implicated: its pentad was clear and its review green at
a0e02c9e73 when it was queued.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
🤖 Generated by the Agentic Engineer
Evicted from the merge queue twice — same systemic cause, so it is NOT being re-queued
This PR was promoted and enqueued at ~08:13Z on a clear pentad (Codex green at a0e02c9e73, CI
17/0, CLEAN). It has since been kicked out of the queue twice, and both merge_group runs
failed for the same reason — not a flake, and nothing to do with this diff:
##[error]Could not atomically acquire the GHCR synchronization lease after concurrent updates.
- run at
08:14:24Z — 🚀 Deploy to Prod failed, then 🩹 Heal Prod also failed on the identical error
- run at
08:34:01Z — same error in both jobs again
The PR is currently out of the queue (autoMergeRequest: null, still CLEAN).
Root cause is already owned and fixed elsewhere: #2836 (Fixes #2835). The deploy path rendered
the Lease acquireTime/renewTime as second-precision RFC 3339, which the Kubernetes Lease API
decodes as MicroTime and rejects for lacking fractional seconds; the script then retried the same
invalid object and reported every rejection as a concurrent update, which is why the error names
concurrency and the real API cause was invisible.
Deliberately not re-queued. Re-queuing before that lands just reproduces the failure, and each
attempt runs a real prod deploy and a failing heal — the contract's rule for a systemic
merge_group failure is to land the root-cause fix first rather than loop the PR through the queue.
This one is a Kyverno policy addition with an empirically empty violator set, so there is no urgency
in racing it ahead of the deploy path's own repair.
Next step for whoever picks this up: once #2836 has merged, confirm a prod deploy on main
succeeds, then re-enqueue this with a bare gh pr merge 2833 --squash. Its own readiness evidence is
unchanged and does not need to be re-derived — but the Codex green is pinned to a0e02c9e73, so if
anything pushes to this branch in the meantime the review gate re-opens at the new head.
I am not driving #2836 myself: another instance requested a review on it at 08:29:59Z at head
805ef3d6 and is actively working it.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
🤖 Generated by the Agentic Engineer
Correction to my note above: #2836 alone is NOT enough to unblock this
I said "once #2836 has merged, confirm a prod deploy on main succeeds, then re-enqueue". Having now
read #2836's own merge_group run, that instruction is wrong and would waste a queue attempt.
#2836's lease fix genuinely works — its run at 08:50:57Z got past lease acquisition and into the
runtime-overlap phase. But that run still failed, on the next link in the chain:
admission webhook "ivpol.validate.kyverno.svc-fail-finegrained-verify-app-images"
denied the request: Policy verify-app-images failed: policy not evaluated
after six runtime-pull-probe attempts, then a fail-closed refusal to drain onto an unproved runtime.
So the deploy path has two blockers in series, and only the first is fixed. Details and evidence
are on #2836; I have not enqueued that PR either, for the same reason I am not enqueueing this one.
Revised next step: re-enqueue this PR only once a merge_group run — anyone's — actually reaches a
successful 🚀 Deploy to Prod. That is the single observable condition; the merge state and review of
this PR are already clear and unchanged (Codex green pinned to a0e02c9e73, CI 17/0, CLEAN), so
nothing here needs redoing.
Until then every queue attempt runs a real prod deploy and a failing heal, which is why the
contract's rule for a systemic merge_group failure is to fix the root cause rather than loop the PR
through the queue.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
🤖 Generated by the Agentic Engineer
Evicted from the merge queue a third time — same blocker, do not re-queue yet
This PR was enqueued again at 11:11:36Z and evicted again. I pulled the
merge_group run before drawing any conclusion, and it is the same GHCR lease
failure, not a new one and not a transient:
That is the failure mode analysed in #2836/#2835: the Lease object needs
fractional-second MicroTime, and the error message blames "concurrent updates"
while the real cause is the serialization. It is systemic to the queue, so it
hits this PR on every attempt regardless of its contents.
Eviction history — all three are the same failure, so re-queuing without the
fix is not a retry, it is a repeat:
| Enqueued |
merge_group CI |
| 08:14:24Z |
failure |
| 08:31:55Z |
failure |
| 11:11:36Z |
failure |
Gate for the next attempt is unchanged: re-queue only once a merge_group
run has reached a successful 🚀 Deploy to Prod. #2836 merging is necessary
but has not been sufficient on its own — the second blocker recorded on #2836
(policy not evaluated on the fine-grained image-verification policy) sits
behind the lease and only becomes visible once the lease clears.
This PR itself remains pentad-clear: mergeable_state: clean, Codex green at
a0e02c9e73, zero unresolved threads. Nothing here is a defect in the change.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jul 28, 2026
Uh oh!
There was an error while loading. Please reload this page.
🤖 Generated by the Agentic Engineer
Merge-queue eviction — blocked on the GHCR lease defect, do not re-queue
This PR is pentad-clear and was enqueued at 16:40:35Z. The merge queue evicted it at ~16:43Z.
Root cause, from its own merge_group run (30379359829), not inferred:
##[error]Could not atomically acquire the GHCR synchronization lease after concurrent updates.
The same error then failed the 🩹 Heal Prod job, so the post-failure restore path is affected
too, not just the deploy.
This is systemic, not specific to this PR. The failing step is 🚀 Deploy to Prod, which every
PR entering the queue runs. The message naming "concurrent updates" is misleading — the underlying
defect is the Lease object's timestamp serialization, and it reproduces with no contention.
Worth separating from the earlier eviction at 15:59Z, which had a different cause: a transient prod
API outage during a control-plane reboot that left prod-control-plane-2 cordoned. That one has
cleared — all nodes are Ready and unschedulable=false as of 16:30Z. So a healthy cluster is not
sufficient; this eviction happened against a healthy one.
Blocked on: #2836 (fix(deploy): unblock GHCR synchronization), which is in flight in the
codex/* lane.
Do not re-queue this PR until #2836 is merged — re-queuing only burns another production deploy
and another failed heal. Nothing about this PR needs to change; it is waiting on the queue, not on
its own content.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|