Skip to content

feat: add deployment lifecycle and rollback tracking - #379

Merged
devIKargi merged 1 commit into
StellAIverse:mainfrom
Xaxxoo:feat/deployment-lifecycle-374
Aug 20, 2026
Merged

feat: add deployment lifecycle and rollback tracking#379
devIKargi merged 1 commit into
StellAIverse:mainfrom
Xaxxoo:feat/deployment-lifecycle-374

Conversation

@Xaxxoo

@Xaxxoo Xaxxoo commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #374

This PR adds a guarded CI/CD deployment lifecycle API with durable status history and rollback tracking.

What changed

  • Added DeploymentsModule with deployment and immutable deployment-event entities.
  • Added idempotent deployment ingestion using a CI provider's externalId.
  • Added validated status transitions for received, in-progress, succeeded, failed, rollback-requested, and rolled-back deployments.
  • Added filtered recent deployment queries and per-deployment event history.
  • Added operator/admin-protected rollback request handling.
  • Added Swagger DTOs and CI integration/rollback documentation in docs/DEPLOYMENTS.md.
  • Added service tests for ingestion, idempotent retries, valid transitions, invalid transitions, and missing records.

Verification

  • npm test -- --runInBand src/deployments/deployments.service.spec.ts
  • npm run build:tsc
  • git diff --check

All checks pass.

@devIKargi
devIKargi merged commit 391c021 into StellAIverse:main Aug 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI/CD hooks module: deployment events, status reporting, and rollback support

2 participants