Skip to content

Upgrades (reqwest 0.13, serde_yaml_ng, Tailwind 4); lint --fix, spec-policy, spec-lock, manifest-check, spec-ci - #19

Merged
ssahani merged 2 commits into
mainfrom
feat/aether-r4
Nov 24, 2026
Merged

ssahani merged 2 commits into
mainfrom
feat/aether-r4

Conversation

@ssahani

@ssahani ssahani commented Nov 24, 2026

Copy link
Copy Markdown
Member

Upgrades (commit 1)

  • reqwest 0.12 -> 0.13 works. openidconnect 4.1.0 is still the latest, so it is built with default-features=false (no bundled reqwest) and src/oidc.rs has a small ReqwestHttp wrapper implementing openidconnect's AsyncHttpClient trait on the app's own reqwest 0.13 client. One reqwest version in the tree; native-tls/OpenSSL no longer linked (0.13 defaults to rustls + aws-lc-rs). reqwest features form and query enabled explicitly (opt-in in 0.13). The OIDC flow itself is not exercised by any test (compiles, suite green).
  • serde_yaml 0.9 (unmaintained) -> serde_yaml_ng 0.10 via a Cargo package rename, no source changes; golden and spec-tool tests unchanged and green.
  • Dashboard Tailwind 3 -> 4.3.5 (tailwindcss + @tailwindcss/postcss, autoprefixer removed, @import 'tailwindcss' + @config for the existing theme). The official upgrade tool failed on the custom theme, so migrated by hand: rounded->rounded-sm, shadow-sm->shadow-xs, backdrop-blur-sm->backdrop-blur-xs, outline-none->outline-hidden, flex-shrink-0->shrink-0, placeholder-slate-600->placeholder:text-slate-600; base rule restores v3 default border colour (gray-200). Not visually checked in a browser; build succeeds and theme utilities spot-checked in the output CSS.
  • Other npm: lucide-react 1.79, @playwright/test 1.65. cargo upgrade --incompatible: reqwest was the only remaining major. GitHub Actions pins and both Dockerfile base images already at latest.

Features (commit 2; CLI tests for all, API handler tests for all but spec-ci)

  • aether lint --fix / --diff: renames typo'd keys (W020) and snake_case aliases (I021), keeps comments, refuses edits that raise the error count; --diff writes nothing. POST /api/spec/fix.
  • aether spec-policy RULES.yaml: policy as code, 14 operators, [*] wildcards, quantity comparison, globs, when, severities; text/json/junit/github output with source lines; example examples/policy/org-baseline.yaml. POST /api/spec/policy.
  • aether spec-lock write|check: hash-only baseline with per-section drift; exit 0 no drift, 2 drift, 1 error; --ignore. POST /api/spec/lock and /api/spec/lock/check.
  • aether manifest-check FILES: kubeconform-style offline validation against k8s-openapi types (wrong types, missing required fields, bad base64, unserved apiVersions; --strict unknown fields; --ignore-missing-schemas, --skip; text/json/junit). Built-in kinds only; custom resources need --ignore-missing-schemas. Strict sweep of 47 repo manifests: 40 valid, 0 invalid, 7 skipped custom resources. POST /api/spec/manifest-check.
  • aether spec-ci github|gitlab|pre-commit prints CI/pre-commit config; GET /api/spec/ci/{provider}; root .pre-commit-hooks.yaml.
  • Research: kube-linter checks.md, Polaris security.md, score-k8s README and Conftest README fetched from raw GitHub, plus one Kubescape search. B101-B109 are now verified against kube-linter and Polaris (mapping in docs/guides/spec-tools.md); RESEARCH.md round-4 section, CHANGELOG, spec-tools guide updated.

Verified (dev host, after last edit)

cargo fmt --check; clippy --all-targets --all-features -D warnings; cargo test --verbose: 1221 lib tests, 55 unit tests, 15 spec-tool CLI tests, 0 failures; all 5 example specs validate; validate-schema-examples.sh; dashboard npm ci, check:hex-surfaces, npm test (31/31), validate:schema, npm run build.

Not verified

Tailwind 4 not viewed in a browser; Playwright e2e not run (no browsers). Conftest warn/exit-code semantics, Kubescape framework membership, Datree, Helm lint, kustomize, Garden and Tilt not read or confirmed; kubeconform README raw URL 404 this round (round-2 reading stands). CI jobs needing a release binary or kind (e2e scripts, Playwright, docker, packaging) not run. GitHub CI has not run (merged without waiting, per instruction).

🤖 Generated with Claude Code

ssahani and others added 2 commits November 24, 2026 11:25
…serde_yaml_ng, Tailwind 4, npm bumps

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ci; verified B1xx sources

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@ssahani
ssahani merged commit 7b77de1 into main Nov 24, 2026
1 of 3 checks passed
@ssahani
ssahani deleted the feat/aether-r4 branch November 24, 2026 11:03
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