Skip to content

feat(release): v0.2.3 - #22

Merged
dan-petty merged 19 commits into
mainfrom
release/v0.2.3
Aug 27, 2026
Merged

dan-petty merged 19 commits into
mainfrom
release/v0.2.3

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Release Notes: v0.2.3

Overview

Release v0.2.3 introduces centralized configuration & parameter defaults architecture, declarative output renderable schemas, comprehensive domain exception taxonomy, Typer fast lazy-loading dispatch, and devcontainer volume permission auto-configuration.


Key Deliverables & Architectural Enhancements

1. Centralized Parameter Defaults & Invariant Constants Architecture (devops_cli.config.defaults, devops_cli.config.constants)

  • Centralized all inline parameter default values across functions and CLI subcommands into src/devops_cli/config/defaults.py and src/devops_cli/config/constants.py.
  • Added declarative subprocess argument builders in src/devops_cli/config/commands.py (build_kubectl_cmd, build_kustomize_build_cmd, build_bandit_cmd, build_trivy_scan_cmd, build_popeye_cmd, build_kubelinter_cmd, build_pluto_cmd, build_uv_audit_cmd, build_tf_cmd, build_tofu_cmd, build_gitleaks_cmd, build_semgrep_cmd).

2. Declarative Output Renderable Models (devops_cli.output.models)

  • Implemented declarative Pydantic v2 schemas (TablePayload, PanelPayload, MarkdownPayload, SyntaxPayload, RulePayload, KeyValuePayload, MessageLevel) with encapsulated Rich console rendering strictly confined to devops_cli.output.

3. Comprehensive Domain Exception Taxonomy (devops_cli.exceptions)

  • Standardized strongly typed exceptions under src/devops_cli/exceptions/ (DevOpsCLIError, GitOperationError, InvalidBranchNameError, InvalidURLError, SecurityValidationError, ToolExecutionError, AIProviderError, ConfigurationError).
  • Configured explicit POSIX exit codes, canonical machine-readable error codes, and structured error contexts project-wide.

4. Fast Typer Startup & PEP 562 Lazy Loading

  • Optimized CLI command dispatch with Typer lazy loading and stateless PEP 562 __getattr__ / _get resolution across subcommands (repos, branches, ci, mcp, release, uv, workspace).

5. DevContainer Volume Mount Permissions & Lifecycle Hardening

  • Automatic POSIX permission configuration and ownership reconciliation for workspace mount points, cache directories, and .ssh volumes across container post-create and post-start hooks.

Verification & Quality Gates

  • Pytest Test Suite: Full suite passing with 945 tests across 114 test modules.
  • Strict Code Coverage: Meets strict $\ge 90.0%$ code coverage across src/.
  • Strict Static Typing: mypy --strict passing across all source files with 0 issues.
  • Linting & Formatting: ruff check and ruff format passing cleanly.
  • Security & Dependency Auditing: bandit, trivy, and uv audit passing with zero warnings.
  • Documentation: Fully synchronized with README and CLI reference via devops docs generate --sync-readme.

Copilot AI lite review requested due to automatic review settings August 26, 2026 14:27

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Comment thread tests/test_reference_extractor.py Fixed
Comment thread tests/test_reference_extractor.py Fixed
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.

3 participants