Repository navigation
Spec lint, portability matrix and spec-plan; camelCase spec keys now honoured; golden renderer tests; dependency upgrades - #17
Merged
Conversation
… to latest majors kube 5 / k8s-openapi 0.29, axum 0.8, ratatui 0.30, opentelemetry 0.33, jsonwebtoken 12, rand 0.10, RustCrypto 0.11 generation (sha2, aes-gcm, aes, cbc, rsa, ed25519-dalek) and more; dashboard React 19 / vite 8 / vitest 5 / TypeScript 7; trixie base images; current GitHub Actions majors. Held back: reqwest 0.12 (openidconnect 4.1 needs it) and tailwind 3. See CHANGELOG.md for the full list. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Tests no longer unwrap the now non-optional k8s-openapi spec fields; jsonwebtoken Validation is built in one expression; drop a redundant borrow. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…rgs and configMaps NetworkSpec, BuildSpec, ConfigSpec, ConfigMapSpec, SecretSpec, IngressSpec and IngressPath had no camelCase rename, so keys used by the schema, docs and examples were silently ignored. snake_case spellings stay as aliases. Also fixes the stale workload-kubevirt.yaml sample and installs libssl3t64 in the Dockerfile.aether runtime stage. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Line-numbered spec diagnostics with input guards (size, aliases, depth), a per-runtime field support matrix, and an offline Terraform-style plan of a spec edit with per-runtime impact. Adds POST /api/spec/{lint,portability,plan}, docs and tests.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Renders shipped examples and compares with tests/golden; AETHER_UPDATE_GOLDEN=1 regenerates. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Covers Score, podman kube play, kompose, kubeconform and terraform plan from fetched pages; other tools are marked unverified. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The field was named strategyType in code but type in the schema and examples, so type: Recreate was ignored. Also refresh the test count in CLAUDE.md and the changelog. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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
aether lint(src/speclint.rs): line-numbered diagnostics with unknown-key 'did you mean' hints, label and annotation validation, control-character checks, and input guards (1 MiB, more than 16 YAML aliases, over 200,000 nodes, nesting over 48).aether portability(src/portability.rs): a per-field matrix of what Podman, Kubernetes and KubeVirt honour, derived from what the adapters read. It was derived by reading the adapters plus grep counts and was not checked against a live runtime: treat it as best-effort until reviewed.aether spec-plan OLD [NEW] --detailed-exit-code(src/specplan.rs): shows the effect of an edit per runtime (no effect, in-place, rolling restart, replace), redacts secret-looking values and escapes control characters.POST /api/spec/lint,/api/spec/portabilityand/api/spec/plan. Golden tests for the Kubernetes Deployment/Service and the KubeVirt VM (AETHER_UPDATE_GOLDEN=1regenerates). Hostile-input tests cover malformed YAML, alias bombs, oversized specs, label injection, forged output lines and golden-name path traversal. Docs:docs/guides/spec-tools.md, CLI reference entries, the mkdocs nav, a CLAUDE.md pattern line (and the test count updated to 1,268), docs/RESEARCH.md.Behaviour changes: please read (bugs the linter surfaced)
network.serviceTypeandnetworkPolicy,build.buildArgs,config.configMaps/envFromandingress.paths[].pathType(and similar) were deserialised from snake_case only, while the schema, docs and shipped examples all use camelCase; for exampleserviceType: NodePortrendered a ClusterIP Service. The structs now use camelCase and keep snake_case aliases, so older specs still load, but rendered output changes for specs that set these keys.kubernetes.rolloutStrategy.typewas ignored (atype: Recreatehad no effect); it is now read as documented. The stale sampleworkload-kubevirt.yamlused keys that do not exist and was rewritten.Dockerfile.aetherwas missing thelibssl3t64runtime library. Discovery timestamps from kube/k8s-openapi now end inZinstead of+00:00.Upgrades (many majors)
Option), tower 0.4 to 0.5, tower-http 0.5 to 0.7, axum 0.7 to 0.8 (route paths now use/{name}; the old/:nameform would panic at router build), axum-server 0.7 to 0.9. TUI: ratatui 0.29 to 0.30, crossterm 0.28 to 0.29. Observability: opentelemetry, opentelemetry_sdk and opentelemetry-otlp 0.27 to 0.33, tracing-opentelemetry 0.28 to 0.34 (provider shutdown rewired). Crypto: the RustCrypto 0.11 generation together (sha2, aes-gcm, aes, cbc, rsa 0.10, ed25519-dalek 3), jsonwebtoken 9 to 12 (withrust_crypto), rand 0.8 to 0.10; ahexfmt::hex_lowerhelper replaces{:x}on sha2 0.11 digests; the SAML encrypt/decrypt round-trips and the secrets tests pass after the upgrade. Other: redis 0.27 to 1.8, ldap3 0.12 (withtls-rustls-ring, to keep the repo's ring preference), x509-parser 0.18, which 8, dirs 7, colored 3, indicatif 0.18, comfy-table 8, prometheus 0.14, base64 0.23, plus in-range updates (tokio 1.54, clap 4.6).Dockerfile.aetherbuilds onrust:1.100-slim-trixieand runs ondebian:trixie-slim;Dockerfileusesdebian:trixie-slimwithlibssl3t64(tags verified via the Docker Hub API; images not built). Actions: checkout v7, setup-node v7, setup-python 3.14, upload-artifact v7, download-artifact v8, build-push v7, buildx v4, login v4, metadata v6, action-gh-release v3, codecov v7 (each checked against the repo's latest release); the archivedactions-rs/toolchainis replaced bydtolnay/rust-toolchain@stable; Node pins 20 to 24; docs requirement floorsmkdocs>=1.6.1andmkdocs-material>=9.8.openidconnect4.1 is its latest release andsrc/oidc.rspasses it a reqwest 0.12 client, so 0.13 does not compile (and would default to rustls with aws-lc-rs); tailwindcss stays at 3 (v4 replaces the PostCSS plugin and config, and the glass theme and hex-surface guard cannot be checked visually without a browser);bitnami/kubectl:latestin the Cilium cronjob (a floating tag) was left alone.Rejected
Rendered-manifest diff (the renderers are
pub(crate)and need an image context); Score/Compose import (aether composealready exists); Crossplane/OAM resource claims (changes the spec's identity); saved plan files (they carry secrets). No TUI surface was added (no spec-centric TUI screen to attach to).Caveats
podman kube play, kompose, kubeconform andterraform planwere read from fetched pages; OAM/KubeVela, Radius, Humanitec, Crossplane, kube-linter, Polaris, Quadlet and Kustomize/Helm are marked [U] (the fetches returned stubs or 404s).aether linttakes line numbers from a block-style YAML indexer; flow-style keys fall back to the nearest block-style ancestor line. The first commit also includescargo fmtchanges in files that had already drifted from rustfmt.requirements.storageandbuildare exempt from the 'ignored' warning because the schema requires them.mkdocs build --strict(mkdocs is not installed). CI runscargo test --verbosewithout--all-features; the agent used--all-featuresto match clippy.Testing
cargo fmt --all -- --check;cargo clippy --all-targets --all-features -- -D warnings(re-run on the final tree: clean);cargo test --all-features: 1268 passed, 0 failed (lib 1146 plus the integration tests); the five examples passaether validateandscripts/validate-schema-examples.shpasses; dashboardnpm run build(includes tsc and the hex-surface check),npm test(31 passed) andnpm run validate:schemapass. GitHub CI has not run.🤖 Generated with Claude Code