Files
git.stella-ops.org/docs/implplan/SPRINT_508_ops_offline_kit.md
master 75f6942769
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
Policy Lint & Smoke / policy-lint (push) Has been cancelled
Concelier Attestation Tests / attestation-tests (push) Has been cancelled
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Add integration tests for migration categories and execution
- Implemented MigrationCategoryTests to validate migration categorization for startup, release, seed, and data migrations.
- Added tests for edge cases, including null, empty, and whitespace migration names.
- Created StartupMigrationHostTests to verify the behavior of the migration host with real PostgreSQL instances using Testcontainers.
- Included tests for migration execution, schema creation, and handling of pending release migrations.
- Added SQL migration files for testing: creating a test table, adding a column, a release migration, and seeding data.
2025-12-04 19:10:54 +02:00

4.3 KiB

Sprint 508 · Ops Offline Kit (Ops & Offline 190.C)

Topic & Scope

  • Package offline kit with CLI/task packs, orchestrator/export/notifier bundles, container bundles, Surface.Secrets, and registry mirror assets.
  • Ensure manifests/signatures, tests, and docs reflect bundled artefacts.
  • Working directory: ops/offline-kit and related ops/devops offline-kit scripts.

Dependencies & Concurrency

  • Depends on upstream service artefacts (Orchestrator, Export Center, Notifier, container bundles) and Surface.Secrets outputs.
  • Concurrency: packaging can proceed per artefact once source bundle available.

Documentation Prerequisites

  • docs/24_OFFLINE_KIT.md
  • docs/modules/devops/architecture.md
  • ops/offline-kit README/tests

BLOCKED Tasks: Before working on BLOCKED tasks, review BLOCKED_DEPENDENCY_TREE.md for root blockers and dependencies.

Delivery Tracker

# Task ID Status Key dependency / next step Owners Task Definition
1 CLI-PACKS-43-002 DONE (2025-11-26) None Offline Kit Guild · Packs Registry Guild Bundle Task Pack samples, registry mirror seeds, Task Runner configs, CLI binaries with checksums.
2 DEVOPS-OFFLINE-17-004 DONE (2025-11-23) None Offline Kit Guild · DevOps Guild Mirror release debug store into Offline Kit (out/offline-kit/metadata/debug-store.json).
3 DEVOPS-OFFLINE-34-006 DONE (2025-11-26) Depends on 17-004 Offline Kit Guild · Orchestrator Guild Bundle orchestrator service container, worker SDK samples, Postgres snapshot, dashboards with manifest/signature updates.
4 DEVOPS-OFFLINE-37-001 DONE (2025-11-26) Depends on 34-006 Offline Kit Guild · Exporter Guild Export Center offline bundles + verification tooling, manifest/signature refresh, air-gap import script.
5 DEVOPS-OFFLINE-37-002 DONE (2025-11-26) Depends on 37-001 Offline Kit Guild · Notifications Guild Notifier offline packs with configs/templates/dry-run harness + integrity checks and docs.
6 OFFLINE-CONTAINERS-46-001 DONE (2025-11-26) None Offline Kit Guild · Deployment Guild Include container air-gap bundle, verification docs, mirrored registry instructions inside Offline Kit.
7 OPS-SECRETS-02 DONE (2025-11-26) Depends on Surface.Secrets assets Offline Kit Guild · DevOps Guild Add Surface.Secrets bundles (encrypted creds, manifests) to Offline Kit packaging plus verification script.

Execution Log

Date (UTC) Update Owner
2025-12-03 Normalised sprint file to standard template; no status changes. Planning
2025-11-26 Wired Offline Kit packaging to include CLI binaries, Task Runner bootstrap config, and task-pack docs; updated test_build_offline_kit.py; marked CLI-PACKS-43-002 DONE. Implementer
2025-11-26 Added container bundle pickup (release/containers/images) and mirrored registry doc copy; offline kit test coverage updated; marked OFFLINE-CONTAINERS-46-001 DONE. Implementer
2025-11-26 Added orchestrator (service, worker SDK, postgres, dashboards), Export Center bundles, Notifier offline packs, and Surface.Secrets bundles; expanded offline kit unit test; marked DEVOPS-OFFLINE-34-006/37-001/37-002 and OPS-SECRETS-02 DONE. Implementer
2025-11-26 Added bundle composition counts to <bundle>.metadata.json (cli/task packs/containers/orchestrator/export/notifier/secrets) and documented in docs/24_OFFLINE_KIT.md; test updated. Implementer
2025-11-26 Updated Offline Kit doc to describe newly bundled assets and release-dir auto-pickup rules. Implementer
2025-11-23 Release debug store mirrored into Offline Kit (out/offline-kit/metadata/debug-store.json) via mirror_debug_store.py. Offline Kit Guild

Decisions & Risks

  • Packaging assumes release artefacts present under out//release/; ensure CI populates before running offline kit build.
  • Surface.Secrets bundles require consistent encryption keys and unpack paths across offline kit and deployment docs.
  • Keep test_build_offline_kit.py updated when new artefact types are added to avoid silent omissions.

Next Checkpoints

  • Validate latest service releases still picked up automatically by offline kit script before next drop.
  • Re-run offline kit tests when new artefact type is added (e.g., new service bundles) and refresh docs/24_OFFLINE_KIT.md.