Repository navigation
ci: exercise branch checks on gke runners - #5867
Draft
TaylorMutch wants to merge 16 commits into
Draft
TaylorMutch wants to merge 16 commits into
TaylorMutch wants to merge 16 commits into
Conversation
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Comment on lines
+53
to
+70
| run: | | ||
| set -euo pipefail | ||
| # Pod environment is visible to the shell, not the workflow env context. | ||
| if [[ -z "${OPENSHELL_PERSISTENT_CACHE:-}" ]]; then | ||
| exit 0 | ||
| fi | ||
| echo "enabled=true" >> "$GITHUB_OUTPUT" | ||
| test "$GITHUB_REPOSITORY" = ai-openshell/openshell | ||
| test "$OPENSHELL_PERSISTENT_CACHE" = /mnt/ci-cache | ||
| mountpoint -q "$OPENSHELL_PERSISTENT_CACHE" | ||
| cache_root="$OPENSHELL_PERSISTENT_CACHE/ai-openshell-openshell/$NIX_SHELL_HASH" | ||
| mkdir -p "$cache_root/target" | ||
| echo "CARGO_TARGET_DIR=$cache_root/target" >> "$GITHUB_ENV" | ||
| echo "Persistent cache lane: $OPENSHELL_CACHE_LANE" | ||
| echo "Runner pod: $RUNNER_NAME" | ||
| echo "Target directory: $cache_root/target" | ||
| du -sh "$cache_root/target" | ||
| df -h "$cache_root/target" |
Compatibility review (advisory)New or updated breaking changes; see the full report for all findings. 1. rust-sdk — No explicit risk acceptance foundThe exhaustive
Review details
Advisory review; publication gates are unchanged. |
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
This branch has not been deployed
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
Run trusted Linux Branch Checks on native GKE ARC runners with isolated persistent Cargo caches. Parallelize gateway feature checks and give ARM build-mode verification its own cached worker. Preserve all architecture, feature, and dependency checks; fork PRs retain hosted runners.
Closes #5866
Changes
ReadWriteOncePod, 6,000 IOPS, 250 MiB/s), shared memcached sccache, and preloaded Nix shells. Checkouts/credentials remain ephemeral; cached lanes skip GitHub Cargo archive restore/save.openshell-ci-arm64-pd-build-modes, with its own cache and ready worker. Keep every Cargo build/check, telemetry positive/negative control, system-CA boundary check, and prover dependency check. Binary inspection honors${CARGO_TARGET_DIR:-target}; other workers retain their default paths. Forks keep hosted ARM.--all-targets --no-default-featurescommands and disable matrix fail-fast.test-debug0target path; failed-test backtraces have less detail.local_image_builds: build auditable native AMD64 binaries using the production Nix GNU/musl toolchains, verify the glibc 2.28 floor/static sandbox, and assemble/load/smoke-test gateway, sandbox, and supervisor images locally. ExplicitDOCKER_PUSH=0andDOCKER_OUTPUT=type=docker; no registry login, image publication, registry-cache export, or image artifact upload.The companion infra repository provisions N4 system/general AMD64 nodes, C4 cached AMD64 nodes, and a single C4A pool for all self-hosted ARM workloads, including BuildKit. C4A uses
us-central1-bbecause zone a lacked capacity. Three replacement nodes were verified Ready before the old T2A pool was retired. ARM lint/test/build-mode lanes each reserve 12 runner CPUs plus one for Docker, with the existing ARM64 image and resource limits. ARM caches were recreated without copies or snapshots; old disks are deleted. AMD64 workers were unchanged by the ARM migration. Infra commite6d996bremains local to that repository. Python ARM and macOS remain GitHub-hosted.Testing
aarch64, Docker, and Landlock ABI 4. All three caches are bound; replacement workers are ready.1864fb2e15731c21a430b1d0d8ee4c7341e6a0bc: all ordinary Linux checks pass in 6m43s, including queue/setup. The longest job is now AMD64 tests at 6m42s plus one second queue. Duplicate automatic PR validation was canceled before measurement; workers were ready before dispatch.--helpsmoke checks. GNU binaries pass glibc 2.28 verification; sandbox is fully static. The job takes 10m58s (cold binary builds 9m52s, image assembly/verification 23s), plus 17s queue. Nothing is published or uploaded. ARM images and release attestations are outside this trial.ARM build modes previously took 9m37s on the hosted worker in the prior N4/C4 trial, whose ordinary Linux window was 9m42s. The new warm build-mode job starts with a 7.2 GiB persistent target on a replacement worker; all telemetry marker and dependency checks pass again. Rust sccache reports 97.56% hits, zero read errors, and two write errors; cache writes remain best effort. No test assertions were weakened.
Five recent successful first-attempt PR runs targeting
mainhad ordinary Linux windows of 21m30s–27m15s, median 22m51s (median example). The current 6m43s sample is approximately 71% shorter. This is an observational comparison across different commits, cache states, hardware, and workflow optimizations, not a hardware-only estimate or a CI latency guarantee.Timing excludes macOS, advisory review, and optional image validation consistently. Remaining macOS work was canceled after requested Linux validation; the full workflow is not claimed as passing. Earlier image validation found a local Zig/Nix C++ linker mismatch; this trial uses the production Nix build path without changing the release publisher. An earlier AMD64 idle-runner Broker transport stall recovered after recycling that idle pod; its queue delay remains included in that earlier run's recorded timings.
Release Notes
CI-only trial; no product release note.
Checklist