DEVX-124: Extract shared utilities from infra and grm into devx #188

Merged
emil merged 2 commits from DEVX-124-extract-shared-utils into master 2026-07-09 11:51:59 +00:00
Owner

Extract common, reusable utilities from the infra and grm repositories into the devx package so they can be shared across all oblachno-oss projects.

New devx.utils modules (from infra):

  • ssh: SSH exec, docker exec on VM, wait_for_ssh (pure-Python socket)
  • crypto: shell-safe secret/password generation
  • vault: Ansible vault encrypt/decrypt helpers
  • network: HTTP connectivity check with tenacity retry
  • confirm: typed confirmation validation for destructive ops

New devx.utils modules (from grm):

  • json_registry: file-locked JSON registry for local state
  • step_tracker: multi-step operation tracking with reports
  • logging: XDG-compliant logging configuration

New devx.ci modules (from infra):

  • validate_deploy_ref: validate git tag for deployments
  • record_deployed_tag: record deployed tag to Gitea repo variable

All modules have 100% test coverage and pass ruff, pyright, bandit, and actionlint checks.

Closes DEVX-124

Extract common, reusable utilities from the infra and grm repositories into the devx package so they can be shared across all oblachno-oss projects. **New devx.utils modules (from infra):** - `ssh`: SSH exec, docker exec on VM, wait_for_ssh (pure-Python socket) - `crypto`: shell-safe secret/password generation - `vault`: Ansible vault encrypt/decrypt helpers - `network`: HTTP connectivity check with tenacity retry - `confirm`: typed confirmation validation for destructive ops **New devx.utils modules (from grm):** - `json_registry`: file-locked JSON registry for local state - `step_tracker`: multi-step operation tracking with reports - `logging`: XDG-compliant logging configuration **New devx.ci modules (from infra):** - `validate_deploy_ref`: validate git tag for deployments - `record_deployed_tag`: record deployed tag to Gitea repo variable All modules have 100% test coverage and pass ruff, pyright, bandit, and actionlint checks. Closes DEVX-124
emil added 1 commit 2026-07-09 11:43:48 +00:00
feat: extract shared utilities from infra and grm into devx
CI / quality (pull_request) Failing after 54s
CI / detect-changes (pull_request) Successful in 24s
CI / pr-review (pull_request) Successful in 23s
CI / release-dry-run (pull_request) Has been skipped
CI / auto-merge (pull_request) Has been skipped
2b032da0cd
Extract common, reusable utilities from the infra and grm repositories
into the devx package so they can be shared across all oblachno-oss
projects.

New devx.utils modules (from infra):
- ssh: SSH exec, docker exec on VM, wait_for_ssh (pure-Python socket)
- crypto: shell-safe secret/password generation
- vault: Ansible vault encrypt/decrypt helpers
- network: HTTP connectivity check with tenacity retry
- confirm: typed confirmation validation for destructive ops

New devx.utils modules (from grm):
- json_registry: file-locked JSON registry for local state
- step_tracker: multi-step operation tracking with reports
- logging: XDG-compliant logging configuration

New devx.ci modules (from infra):
- validate_deploy_ref: validate git tag for deployments
- record_deployed_tag: record deployed tag to Gitea repo variable

All modules have 100% test coverage and pass ruff, pyright, bandit,
and actionlint checks.

Closes DEVX-124

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
emil reviewed 2026-07-09 11:47:47 +00:00
emil left a comment
Author
Owner

Automated PR Review

  • Architecture compliance: OK
  • Best practices: OK
  • Security: OK
  • i18n: OK
  • Resource management: OK
  • Documentation: OK
  • Tests: OK
  • Commit conventions: OK

No issues found by automated checks.


Auto-merge: If all CI checks pass, this PR will be merged automatically.

## Automated PR Review - Architecture compliance: OK - Best practices: OK - Security: OK - i18n: OK - Resource management: OK - Documentation: OK - Tests: OK - Commit conventions: OK No issues found by automated checks. --- **Auto-merge:** If all CI checks pass, this PR will be merged automatically.
emil added 1 commit 2026-07-09 11:49:44 +00:00
fix: add missing translation keys for new CI modules
CI / pr-review (pull_request) Successful in 24s
CI / detect-changes (pull_request) Successful in 41s
CI / quality (pull_request) Successful in 59s
CI / release-dry-run (pull_request) Successful in 23s
CI / auto-merge (pull_request) Successful in 38s
8e7fa661e3
Add translation entries for the 4 new strings introduced in
validate_deploy_ref and record_deployed_tag.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
emil reviewed 2026-07-09 11:50:16 +00:00
emil left a comment
Author
Owner

Automated PR Review

  • Architecture compliance: OK
  • Best practices: OK
  • Security: OK
  • i18n: OK
  • Resource management: OK
  • Documentation: OK
  • Tests: OK
  • Commit conventions: OK

No issues found by automated checks.


Auto-merge: If all CI checks pass, this PR will be merged automatically.

## Automated PR Review - Architecture compliance: OK - Best practices: OK - Security: OK - i18n: OK - Resource management: OK - Documentation: OK - Tests: OK - Commit conventions: OK No issues found by automated checks. --- **Auto-merge:** If all CI checks pass, this PR will be merged automatically.
kireto approved these changes 2026-07-09 11:51:43 +00:00
kireto left a comment
Member

Auto-approved: all CI checks passed (quality, pr-review, release-dry-run).

Auto-approved: all CI checks passed (quality, pr-review, release-dry-run).
emil merged commit ef3b882e5b into master 2026-07-09 11:51:59 +00:00
emil deleted branch DEVX-124-extract-shared-utils 2026-07-09 11:52:02 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: oblachno-oss/devx#188