Skip to content

feat(release): v0.2.8 - #28

Merged
dan-petty merged 12 commits into
mainfrom
release/v0.2.8
Sep 2, 2026
Merged

dan-petty merged 12 commits into
mainfrom
release/v0.2.8

Conversation

@dan-petty

@dan-petty dan-petty commented Sep 1, 2026 •

Copy link
Copy Markdown
Owner

Release v0.2.8 Summary

🎨 Output Subsystem Modularization & Formatter Deconstruction

  • Deconstructed Formatter Hub: Modularized monolithic formatting engine into dedicated, single-responsibility submodules under src/devops_cli/output/formatters/:
    • scalars.py: Primitive conversions, byte formatting, relative duration/age stamps, code spans, links, and status/severity badges.
    • tables.py: Polymorphic table rendering and domain payload builders across Kubernetes, Docker, ArgoCD, Terraform, Benchmarks, and Reviews.
    • panels.py: Rich finding panels, AI review summaries, and ArgoCD application detail views.
  • Zero-Boilerplate Public Formatting API: Enforced public methods in devops_cli.output project-wide so CLI commands never build Rich tables, columns, or format strings inline.

🌐 Complete Language Localization & Message Catalog

  • Centralized Language Messages & Badges (src/devops_cli/lang/en/messages.py):
    • Added BadgeMessages and OutputMessages dataclasses to LanguageCatalog for full localization of terminal badges, status indicators, finding headers, and Kubernetes node states.
    • Sourced all UI badges, status labels, and headers from MESSAGES to eliminate hardcoded display text.

⚡ Declarative Dispatch Tables & Cyclomatic Complexity Elimination

  • Table-Driven AST Streaming (src/devops_cli/ai/ast_stream.py): Replaced node type if/elif ladders with a declarative node handler registry (_NODE_HANDLERS) and concise decorator extractors.
  • Native Tool & Capability Registries (src/devops_cli/ai/agents/capabilities.py, workflow.py): Replaced tool isinstance branches with declarative configuration and prompt builders (_NATIVE_TOOL_SETTINGS_BUILDERS), unified local tool extraction (_extract_local_tools), and decoupled async agent invocation (_invoke_agent_callable).
  • Declarative Truncation & Compaction Handlers (src/devops_cli/ai/harness/compaction.py): Implemented _TRUNCATION_FORMATTERS and _apply_compactor for cascading compaction passes.
  • Type Coercion Extraction (src/devops_cli/config/settings.py): Extracted _coerce_setting_value to simplify dotted-path settings mutation.
  • Certificate Source Reading (src/devops_cli/crypto/tls_certificates.py): Consolidated certificate byte loading into _read_cert_bytes.

🧹 Ruthless Zombie Code & Legacy Shim Removal

  • Deleted Obsolete Shims: Removed legacy re-export shims src/devops_cli/ai/review/rendering.py, src/devops_cli/models/dry_run.py, and src/devops_cli/core/dry_run.py.
  • Consolidated Models: Merged SSHKeyInfo into src/devops_cli/models/ssh.py and deleted redundant src/devops_cli/models/github.py.
  • Clean Re-Exports: Cleaned src/devops_cli/output/__init__.py::__all__ duplicates and rewired imports directly to authoritative modules.

📚 Documentation Alignment & DevContainer Standardization

  • docs/DEVCONTAINER_USAGE.md: Pinned all container image tag examples and reference tables to v0.2.8 (ghcr.io/dan-petty/devops-cli/devcontainer:v0.2.8).
  • docs/RELEASE_NOTES.md & CHANGELOG.md: Updated comprehensive release notes and changelog entries for v0.2.8.
  • docs/LOG.md & docs/PENDING_FEATURES.md: Updated active working log and marked v0.2.8 milestones complete.
  • CLI References & README: Synchronized all command references and README.md via devops docs generate --sync-readme.

✅ Quality Gate Verification (devops ci)

  • Full CI Suite: 1,328 unit & integration tests passing with 90.7% code coverage.
  • Strict Quality Checks: 100% clean Ruff linting & formatting, strict Mypy type-checking, Pip-audit dependency checks, Bandit & Trivy security scans, Actionlint GHA validation, and docs synchronization.

Copilot AI lite review requested due to automatic review settings September 1, 2026 20:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Multiple v0.2.8 release documents still reference the Dev Container pinned tag as v0.2.7, creating an inconsistent “current stable release” story for the v0.2.8 release.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR prepares the devops-cli v0.2.8 release by bumping the project version and refreshing several documentation and release-tracking documents to reflect the new milestone and workflow guidance.

Changes:

  • Bumped devops-cli version from 0.2.7 to 0.2.8 across the project and lockfile.
  • Streamlined the documented pre-PR validation flow to use uv run devops ci as the primary local gate.
  • Updated roadmap/release docs to reflect v0.2.8 planning and add a v0.2.8 highlights section.
File summaries
File Description
uv.lock Updates editable package version to 0.2.8.
src/devops_cli/init.py Bumps __version__ constant to 0.2.8.
pyproject.toml Bumps project version to 0.2.8.
docs/ROUTINE_TASKS.md Removes redundant “run pytest” step in favor of uv run devops ci as the primary gate.
docs/ROADMAP.md Re-organizes milestone sections (v0.2.7 completed / v0.2.8 scheduled) and updates the roadmap table scheduling.
docs/RELEASE_NOTES.md Adds v0.2.8 highlights section at the top of release notes.
docs/DEVCONTAINER_USAGE.md Updates pinned Dev Container tag examples (currently to v0.2.7).
CHANGELOG.md Adds a 0.2.8 changelog section describing doc/roadmap updates.
Review details

Suppressed comments (2)

docs/DEVCONTAINER_USAGE.md:23

  • Pinned docker pull example still uses v0.2.7 in a v0.2.8 release PR. Consider updating it to v0.2.8 to keep docs aligned with the current release.
docker pull ghcr.io/dan-petty/devops-cli/devcontainer:v0.2.7

docs/DEVCONTAINER_USAGE.md:52

  • The devops devcontainer init --image ... example is still pinned to v0.2.7; for a v0.2.8 release, update to v0.2.8 to avoid pointing users at an older image tag.
devops devcontainer init --name my-project --image ghcr.io/dan-petty/devops-cli/devcontainer:v0.2.7
  • Files reviewed: 7/8 changed files
  • Comments generated: 3
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread CHANGELOG.md Resolved
Comment thread docs/DEVCONTAINER_USAGE.md Resolved
Comment thread docs/RELEASE_NOTES.md Resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

2 participants