Skip to content

Harden Kubernetes compatibility infrastructure - #523

Merged
blove merged 96 commits into
mainfrom
blove/kubernetes-compat-hardening
Aug 31, 2026
Merged

blove merged 96 commits into
mainfrom
blove/kubernetes-compat-hardening

Conversation

@blove

@blove blove commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add policy-driven Kubernetes compatibility workflows with dedicated host and Linux-container lanes, durable tool-root recovery, bounded execution, and structured evidence reporting
  • harden Kubernetes sandbox authorization diagnostics, cleanup behavior, conformance evidence, and application/infra Helm chart RBAC defaults
  • serialize dawn dev startup restarts, drain queued fixing edits after failed restarts, and expand generated-app, chart, docs, workflow, and infrastructure test coverage

Verification

  • pnpm lint
  • pnpm check:build-cache
  • pnpm build
  • pnpm typecheck
  • pnpm test (5,575 passed, 218 skipped)
  • pnpm check:release-inventory
  • pnpm test:release-controller
  • pnpm test:sync-chart-appversion
  • node scripts/check-docs.mjs
  • pnpm pack:check
  • pnpm verify:typescript-tooling-pack
  • pnpm verify:harness:self-test
  • pnpm verify:harness (framework, runtime, and smoke passed)
  • dedicated host Kubernetes lane (232/232 passed; 2/2 host-only checks passed)
  • dedicated Linux-container lane (560 passed; 1 intentional platform skip)

Scope note

The protected historical evidence reconciliation remains intentionally deferred. This PR validates the recovery machinery only with synthetic exact-copy fixtures and does not read or mutate the protected run.

@blove
blove temporarily deployed to vercel-preview August 31, 2026 18:45 — with GitHub Actions Inactive
@vercel

vercel Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dawnai Ready Ready Preview Aug 31, 2026 11:12pm

Request Review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval: this PR received an intelligent (AI) code review. See the review comments on this PR.

@blove
blove enabled auto-merge (squash) August 31, 2026 18:45
@blove
blove force-pushed the blove/kubernetes-compat-hardening branch from 10614b1 to 4113300 Compare August 31, 2026 20:10
@blove
blove temporarily deployed to vercel-preview August 31, 2026 20:10 — with GitHub Actions Inactive
@blove
blove temporarily deployed to vercel-preview August 31, 2026 20:28 — with GitHub Actions Inactive
@blove
blove temporarily deployed to vercel-preview August 31, 2026 20:39 — with GitHub Actions Inactive
@blove
blove temporarily deployed to vercel-preview August 31, 2026 20:47 — with GitHub Actions Inactive
@blove
blove temporarily deployed to vercel-preview August 31, 2026 21:14 — with GitHub Actions Inactive
@blove
blove temporarily deployed to vercel-preview August 31, 2026 21:26 — with GitHub Actions Inactive
@blove
blove temporarily deployed to vercel-preview August 31, 2026 21:35 — with GitHub Actions Inactive
@blove
blove temporarily deployed to vercel-preview August 31, 2026 21:46 — with GitHub Actions Inactive
@blove
blove temporarily deployed to vercel-preview August 31, 2026 22:03 — with GitHub Actions Inactive
@blove
blove temporarily deployed to vercel-preview August 31, 2026 22:21 — with GitHub Actions Inactive
@blove
blove temporarily deployed to vercel-preview August 31, 2026 23:12 — with GitHub Actions Inactive
@blove
blove merged commit 47bf96b into main Aug 31, 2026
24 of 25 checks passed
@blove
blove deleted the blove/kubernetes-compat-hardening branch August 31, 2026 23:34
blove added a commit that referenced this pull request Sep 17, 2026
…topwatch (#715)

The docker smoke run watchdog was 15s while the slowest scenario's own run
window measures about 10s on an idle machine, leaving roughly 1.5x headroom.
Every simulated `docker`/`curl` call in these scenarios boots a fresh Node
process, so a run's wall-clock cost tracks how contended process creation is
on the host rather than how much work the script did. A full repository suite
spawning processes on every core erases that margin, and the watchdog fires on
runs that are healthy but merely slow.

Reproduced deterministically by running one scenario under ten concurrent
process-spawn loops: it failed at 15,397ms with the old budget and passes at
15,224ms with the new one, the duration being essentially unchanged.

Raises the watchdog to 60s so it still bounds a genuinely hung script while
clearing any legitimate run, and adds a guard that asserts the slowest run the
file actually observed stays within half the budget, so the margin cannot
erode silently again. The failure message also said "ten-second" while the
constant had been 15s since #523, which misdirected diagnosis; it now reports
the real budget.

Refs #535

Co-authored-by: Claude Opus 5 <[email protected]>

This branch was successfully deployed

1 active and 1 inactive deployments
Preview — 9b178991 Deployed Aug 31, 2026 by vercel[bot]
vercel-preview — 9b178991 Deployed Aug 31, 2026 by blove via vercel-native #1501
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