10 Commits
Author SHA1 Message Date
Erfan YousefiandClaude Opus 4.8 897fd38066 build: add Makefile as the single entry point for dev/CI/release
One make interface that runs the same commands locally and in CI.

- `make validate` = fmt-check -> check -> test -> release build (the pre-PR gate).
- `make ci` (alias) is now what .github/workflows/ci.yml runs; release.yml's
  validate stage runs `make validate` and its per-target build/package runs
  `make package TARGET=<triple>` (byte-identical artifact: krust-<triple>.tar.gz
  containing krust-<triple>/{krust,README.md,LICENSE}).
- Convenience targets: fmt, check, clippy, test, build(-release), run, clean,
  package; lab-{up,load,contexts,crds,churn,down} wrap scripts/scale; and
  bench/bench-contexts/soak/discover/metrics wrap the headless harnesses.
- cargo is resolved robustly (PATH, then a Homebrew keg-only rustup, else
  plain cargo) and its dir is put on PATH so external subcommands (cargo-fmt,
  cargo-clippy) and rustc resolve even when rustup is keg-only.
- dist/ (package output) gitignored. Docs (contributor guide, AGENTS, README)
  point at `make validate`.

Verified locally: make validate green (85 tests), make package produces the
release tarball, cargo resolves with no keg on PATH. CI running `make ci` on
this PR is the cross-environment proof.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 00:00:48 +02:00
Erfan Yousefi a2b07f1e70 docs: split operator/contributor guides and sharpen README product scope
- rewrite README for operator-first onboarding with clear goal/approach intro

- expand scope section with concrete supported resources and workflows

- add docs/operator-guide.md for runtime usage, navigation, logs, secrets, and troubleshooting

- add docs/contributor-guide.md for engineering standards, validation, and release responsibilities

- simplify CONTRIBUTING.md into a concise entrypoint that links to the detailed contributor guide

- remove docs/status.md and drop update-status job from release workflow
2026-03-08 14:15:00 +01:00
Erfan Yousefi 8531a9be0c fix(release): regenerate Cargo.lock after automated version bump
- update lockfile in release workflow before tagging

- include Cargo.lock in release bump commit to satisfy --locked builds
2026-03-08 13:38:20 +01:00
Erfan Yousefi 7dd2c5414a chore(ci): switch all workflow runners to latest labels
- set ubuntu runner labels to ubuntu-latest

- set macOS matrix runners to macos-latest for all Apple targets
2026-03-08 13:30:20 +01:00
Erfan Yousefi 3f23270b88 fix(ci): pin workflows to current stable GitHub-hosted runner labels
- use ubuntu-24.04 across CI, release, and tap workflows

- use macos-15-intel for x86_64-apple-darwin release build

- use macos-15 for aarch64-apple-darwin release build

- avoid deprecated/unsupported labels (macos-13, macos-13-us-default)
2026-03-08 13:28:23 +01:00
Erfan Yousefi c215845c14 fix(ci): correct release workflow YAML in status writer block 2026-03-08 13:19:01 +01:00
Erfan Yousefi 74393dd794 ci(release): standardize workflows and enforce deterministic release guarantees
- standardize workflow display names to Krust / <Pipeline> convention

- ensure main-driven release pipeline always triggers and uses preflight docs-only gating

- verify release artifacts post-publish (linux/mac tarballs, SHA256SUMS, krust.rb)

- enforce semver bump and Cargo.toml version commit before tagging

- sync homebrew tap as part of release pipeline using generated formula from release checksums

- keep standalone Homebrew Tap workflow as manual fallback only

- update README release flow to document asset verification and tap sync
2026-03-08 13:16:15 +01:00
Erfan Yousefi 5411d9bec8 ci(release): main-driven semver release pipeline with loop guards
- make Release workflow run from main pushes and manual dispatch

- run validate gate (fmt/check/test/release build) before publishing

- compute semver bump automatically (major: BREAKING/!, minor: feat, patch otherwise)

- bump Cargo package version and push release tag from pipeline

- publish multi-platform artifacts and checksums to GitHub Releases

- add automated docs/status.md update after successful publish

- prevent circular release runs via [skip ci], bot actor guard, and docs/markdown push path ignores

- scope CI workflow to PR/manual to keep release pipeline as single main-path publisher
2026-03-08 13:05:10 +01:00
Erfan Yousefi 08a75daf23 feat(release,ui): accelerate pulse rendering and automate Homebrew tap publishing
- add cached pulse metrics keyed by context/namespace/store revision to avoid recomputing heavy counts on every frame

- wire render loop to consume cached pulse metrics and invalidate only when underlying store revision changes

- add regression test for pulse cache reuse/invalidation behavior

- improve release workflow with manual dispatch support, deterministic tag/version resolution, checksum artifact generation, and idempotent release asset publishing

- add Homebrew tap sync workflow that generates and pushes Formula/krust.rb from release SHA256SUMS

- add formula generator script for macOS arm64/amd64 and linux amd64 release tarballs

- update README Homebrew install flow to short tap syntax and ignore .idea in repo
2026-03-08 12:46:13 +01:00
Erfan Yousefi ffa8a7cb50 feat: establish krust v0.1 foundation with k9s-compatible UX and OSS release scaffolding
This commit consolidates the first production-ready baseline for krust, including core runtime behavior, operator UX, safety rails, and project publication assets.\n\nCore runtime and architecture\n- Implement lazy, active-scope watch-plan reconciliation across contexts/kinds/namespaces\n- Keep warm-context retention bounded by TTL for faster context switching\n- Add bounded watch reconnect handling and terminal handling for RBAC-forbidden watchers\n- Keep invalidation-driven rendering with FPS control and bounded log/state paths\n\nOperator UX and workflows\n- Expand k9s-style navigation/command aliases for supported Kubernetes resources\n- Improve pane consistency for table/detail/log overlays and scrolling behavior\n- Add detail viewer search semantics (non-destructive search/highlight) with match navigation\n- Add YAML/JSON detail format toggle and syntax highlighting for both formats\n- Add secret decode pane improvements and format-aware edit/apply behavior\n- Add clipboard copy and dump flows with native backend + OSC52 fallback\n\nSafety and action model\n- Keep readonly enforcement for mutation paths\n- Maintain guarded action behavior and clearer error/status surfacing\n\nDocumentation and open-source readiness\n- Rewrite README for community-facing onboarding and operational clarity\n- Add architecture and performance guides under docs/\n- Add CONTRIBUTING guide and PR template\n- Add GitHub Actions CI pipeline (fmt/check/test/release build)\n- Add GitHub Actions release pipeline for tagged multi-platform artifacts\n- Add Cargo package metadata and repository links\n- Add .gitignore hygiene for macOS Finder artifacts\n\nQuality and verification\n- Bring strict clippy (-D warnings) to clean state for current codebase\n- Validate full required pipeline: fmt, check, test, and release build
2026-03-08 03:29:19 +01:00