Repository navigation
fix(runtime): repair Custom composition and live-validation regressions - #369
Merged
Merged
Conversation
Reuse approved Entra projection, native Broker/Connections authorization and scoped TLS endpoints for common-executor Custom agents. Preserve legacy boundaries, provider-token exclusion, image entrypoints and retained ownership; add Portal and Pi client integration with offline regression coverage. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Integrate the merged Custom model-selection and bound-Pod topology repairs. Revalidate the combined Custom identity, TLS, terminal, and served-admission paths without changing the focused feature patch. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Resolve Custom identity and ingress mTLS conflicts with upstream Gateway initialization and Kubernetes access. Preserve suspended grant handling, approved cross-namespace TLS controls and the upstream Gateway regression test import. Keep the existing PR history; the merged tree matches the locally validated integration exactly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Return a fresh fetch Response for each Team options request and explicitly qualify Custom in the Gateway catalog. Assert that required identity stays locked on and creation submits the permitted identity and model sources exactly once. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Resolve the runtime chart schema and immutable chart reconstruction conflicts by retaining Custom ingress server names alongside managed observed-SNI capture controls. Preserve both features and the original historical byte/hash assertions. Validated offline chart rendering, full Helm and proxy packages, Custom and observed-SNI controller regressions, isolated API admission, operator vet/build, and Portal creation tests/build. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Require approved numeric Custom image users for observed-SNI capture, preserve managed initialization and headless readiness, and keep terminal TLS configuration independent. Enable the shared Kubernetes and FQDN adapters for explicitly registered container runtimes, with unit and served-API regressions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
A real two-Agent limits-only rollout hit a shared coordination ConfigMap resourceVersion conflict and unnecessarily stopped one Agent. Re-read and revalidate reservations on bounded API CAS retries, preserving IDs while refusing stopped reservations and never replaying uncertain writes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The common Chat reader still expected plaintext Cilium and Service target ports after mTLS was enabled. Verify the approved caller-specific TLS control and listener without changing the HTTP private route or reading client Secrets. Restrict DestinationRule read access to the Portal namespace and cover drift and plaintext regressions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Document the Istio namespace Secret-list prerequisite separately from the Portal's narrow DestinationRule reader. Keep this deployment authorization out of default product RBAC. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The release inventory still rendered the runtime chart with pre-Gateway-only defaults, failing the local packaging regression and both dependent CI jobs. Use the same synthetic Secret reference and API base as the existing chart checks without weakening chart validation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Resolve #369 against merged #366 while preserving explicit capture probes, terminal TLS separation and CAS retries. Reuse the shared Chat TLS port and retain both compiled and drift regression tests, including the approved Secret source references. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
8 tasks done
FumingZhang
marked this pull request as ready for review
October 30, 2026 13:49
8 tasks done
Pengfei Ni (feiskyer)
requested changes
Oct 30, 2026
7 of 8 tasks
Record a fenced definitive non-creation outcome after the first workload CREATE is rejected, allowing normal retry and deletion after binding success. Preserve earlier and uncertain submissions, disable hidden CREATE retries, and cover container/Kata recovery, CAS races and real API denial. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Preserve ordered Helm control updates and late pruning while recording the first workload CREATE outcome even on Helm's initial update path. Previously recorded workloads retain opaque update barriers. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use current GET absence to select the guarded CREATE path, while the durable controller checkpoint alone authorizes non-creation cancellation. Cover repeated admission denial and later success through real failed Helm release history, and preserve opaque outcomes for earlier or uncertain workloads. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> # Conflicts: # site/content/en/docs/operations/policy-teams.md
Document the independent 420-second outer tool deadline and a finite process-scoped override verified with eight-minute foreground tasks on both backends. Preserve approval controls, configuration precedence and lifecycle bounds. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Scope the existing durable submission checkpoint to the retained HOME workload. Approved auxiliary creates and updates retain current sealed-render claims without consuming initial primary non-creation proof; cleanup still requires auxiliary shutdown and quiescence. Cover Copilot-first retry/delete, failed Helm history, scoped guards and real API-server rejection. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
8 tasks done
Member
Author
Code reviewFound 1 issue, now fixed in
cetirun/app/cetirun-operator/internal/helm/sandbox_reconcile.go Lines 190 to 225 in 092e296 This self-review does not replace independent maintainer approval. |
This was referenced Oct 31, 2026
This was referenced Oct 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fix three concrete runtime integration problems found while validating main plus #337, #347 and #366, plus a publication CI regression:
Main synchronization: #366 is now merged. Conflicts with main
439a125c661a44d84a1727eb8f107066f9fbc741were resolved and pushed without rewriting history in13f03d17c4f4717cdc81fd3e457621ee0b288e75. Both compiler-generated mTLS fixtures and the stricter live-repair checks are retained, using the shared TLS port constant. The earlier publication head5960807acfda1db1a20faaeea7d102e62cb3b507remains the boundary of the first run's evidence, not the newest source.The second AKS candidate was
48735c4951179004b72758cc50b425ef612930b5, combining this merge with the separate obsolete-network cleanup #370. Its complete offlinemake checkpassed with pinned dependencies. The bounded live cycle completed five full retained lifecycle/A-B-A tuples, real native tool tasks, explicit Memory controls on both backends, combined Kubernetes/Entra credentials and exact budget/exhaustion checks. The Kata OpenClaw return move and incompatible headless-image attempt remain unqualified; no clock or guard was weakened.Second-cycle repairs were separate: #371 corrected Portal admission diagnostics and was live retested; #372 fixed the uncaptured-source migration recovery deadlock with offline regressions at that checkpoint. All 13 second-cycle Agents were normally deleted; both owned Azure groups were absent at 18:07:56 UTC and the soft-deleted model account was purged/NotFound at 18:09:21 UTC.
October 31: #370/#371/#372 are now on main. The complete baseline
8b5b73a5ec77d6b2b5f7407f457b33fca2a9e445passedmake checkand was rebuilt before Agent acceptance. Live testing found repeated admission denials could still strand a first CREATE through failed Helm history;b09fe5b83fixes that path with the same durable fence. The Operator/admission-only live stage ise1d3de876c009aa5b7d230f3d6ab6394668158e2; Portal, Agent images and chart retain the baseline. Fresh cases survived two/three actual failed revisions, then recovered in 151.538s or deleted in 24.950s/25.818s. The review was replied to and resolved after those checks. The original stranded lifetime's 1200s ordinary-delete failure remains recorded; its old key later returned 401.Current-main synchronization is
2d1fba0f4, mergingead44a03e(Teams removal) without rewriting history. Timeout guidance is777301fb0. These publication-only changes were not deployed to the running cohort. Both configured Hermes backends completed independently observed eight-minute foreground tools (483.213s/481.023s) with a 600s outer deadline; their default-deadline failures remain failed. Full source boundaries, current results, cleanup and concise external prerequisites are in FumingZhang/cetirun-validation#7.The third-cycle OpenClaw Kata/RWOP return completed in 856.747s. All 16 Agent lifetimes are accounted for: 15 normal deletions and the one preserved pre-repair failure removed only by owned Azure teardown. Both groups were absent at 07:01:29 UTC; the exact soft-deleted model account was purged and independently NotFound at 07:03:04 UTC. Later source-change and empty-terminal observations remain explicit limitations, not invented product fixes. At that publication boundary, CI reported 27 successful checks and eight explicit skips, and independent maintainer review was still required.
Self-review follow-up:
092e29607897078912d380041c81e1599fbbe402fixes the reproduced Copilot-before-primary gap without reordering controls or inferring non-submission from absence. The existing primary checkpoint and separately fenced auxiliary claims retain ordinary quiescence requirements. The thread was replied to and resolved after real SDK/API/race regression coverage. The exact reviewed head passedmake check.The fourth rebuilt AKS candidate was
5d040d2158d039ed6bd0e7d507b3e7cf089b9c52, which also contains the separate current-rollout repair #373. Actual Copilot auxiliary-first cases on both backends observed two to four failed Helm revisions and preserved primary cancellation. Normal deletion passed; primary recovery was independently observed within the original 1200s bounds. The proxy correctly remainedSignInRequiredwithout external credentials. This is structural recovery evidence, not Copilot-provider qualification; the initial broader observer failure and fixture corrections remain recorded.Final fourth-cycle boundary: maintainers merged #369 and #373 at 13:23:02/13:23:18 UTC. The tested candidate's source tree matches merged main
9d26813251137ed7e74aaf7d536df2a54607ad68; original artifact labels are unchanged. Three full retained tuples, including the last missing OpenClaw Kata/RWO tuple, and six shared-source storage/lifecycle journeys completed. Five shared-source model tasks completed; Custom Kata's interrupted streams and both Custom default-Memory recall failures remain unqualified.All 17 fourth-cycle Agent lifetimes completed normal deletion. Both owned Azure groups were absent at 16:17:14 UTC; the exact soft-deleted model account was purged and independently observed NotFound three times by 16:18:50 UTC. The three listeners and nine exact task image tags were removed without pruning shared caches. Private credentials/state/transcripts, the task Python environment and nineteen helper scripts were removed after the evidence/privacy audit and before publication. See the fourth-cycle report, ledger and updated roadmap; no historical failure or partial source stage is relabelled.
The report and roadmap update are published in FumingZhang/cetirun-validation#8, stacked on the still-open prior report PR.
Related issue
Requested follow-up to the agreed Custom-first validation and repair work, covering #337, #347 and #366. No separate issue is needed for this maintainer-requested validation repair.
Validation
Offline tooling: Go 1.27.3, Helm 3.22.0, Kubernetes API-server test assets 1.37.0, Node.js 24, Hugo 0.164.0 extended, and the repository's pinned Python CI dependencies.
Latest primary/auxiliary review-fix checks:
October 31 review-fix checks:
The earlier validation results below retain their original source boundaries.
The October 31 stability candidate is
8b5b73a5ec77d6b2b5f7407f457b33fca2a9e445, combining then-current maina3ec59378b7260422a2ed4efe34a92be7a27b865with the reviewed head. Both its initial intermediate integration and complete baseline passedmake check; the coherent artifact rebuild completed before new Agent acceptance. The old 1200s failures and original cleanup evidence remain unchanged. The full root gate was not rerun on the later Operator-only or publication-only stages.Authorized integration checks used an isolated AKS 1.37/AzureLinux/Cilium environment and synthetic owners. Both Kata and ordinary containers completed real keyless Azure OpenAI inference, Custom workload federation through MSAL with allowed-resource 200/denied-resource 403, observed projected-token rotation, and exact visible-SNI deny/allow against the same destination. Real RPM, TPM and per-model thresholds passed. After the CAS repair, concurrency and RPM retests retained both Agents' Pod/key/HOME/budget/reset identities through update and restoration.
Real private Chat over the composed mTLS configuration passed on both backends after the reader repair and the explicitly provisioned Istio SDS prerequisite. A separate asynchronous Custom-container model/tool task produced its exact durable result after an independently measured 480.000839s; observer reconnection did not replay the job. The failed Hermes foreground long tasks and missing original Kata model-file witness remain unqualified, not relabeled as passes.
The live source was frozen separately from later upstream merges: initial integration
d972a832c37745d298e3c447e4a6e056fc735e1d, composition repair1539670e1a5d5180aa29164927cba42cc87312fc, Operator-only CAS follow-up91be9cca5b626f31997fb760adeaf0bf4240e573, and Portal-only TLS-reader follow-up2834807318fbe7b9ba780a5da0a5a083b273283f. This publication branch preserves the subsequently merged Gateway-only configuration rather than restoring retired image-owned authentication fields.All eight Agents were normally deleted within their original 1200-second bounds, with storage/execution state removed and deleted-key use rejected. Both owned Azure resource groups were verified absent at 11:58 UTC; the task's soft-deleted model account was purged and independently verified NotFound at 12:08 UTC. The temporary SDS authorization was removed, helpers stopped, and no live resources remain from this run. The sanitized report, 150-record evidence export and updated roadmap are in FumingZhang/cetirun-validation#7.
Compatibility and operational impact
customRuntime.imageUsersfor an already-approved immutable image. UID/GID must be positive 32-bit values and UID 1337 remains reserved for the proxy. Non-capture images retain image-owned identity and entrypoints.get destinationrules; it does not grant Secret listing. Istio 1.30 separately requires namespace-widelist secretsfor SDS, which must be explicitly authorized in a deliberately isolated Portal credential namespace.Checklist
The repository's
license/clacheck passed, and maintainers merged this PR. No missing check is treated as an exemption; remaining runtime/provider acceptance is still tracked separately.