Skip to content

Conversation

@varundeepsaini
Copy link
Contributor

@varundeepsaini varundeepsaini commented Dec 6, 2025

Closes: #4090

Changes

Add write-ahead log (WAL) to record state changes during direct deployment, enabling recovery of partial state if deployment is interrupted.

Added an Offset To KillCaller. Now it starts killing the process after Offset Successful requests to the endpoint

Why

Today, if deployment is interrupted before Finalize(), no state is saved, and created resources become orphaned. The WAL writes each state change immediately to disk and replays them on restart.

Tests

Tests added for WAL save/replay, delete/replay, finalize cleanup, and edge cases.

@varundeepsaini varundeepsaini force-pushed the feature/deploy-append-log branch 2 times, most recently from b51a199 to 7f67cb2 Compare December 6, 2025 19:08
@varundeepsaini varundeepsaini force-pushed the feature/deploy-append-log branch from 7f67cb2 to baf371e Compare January 11, 2026 20:01
@varundeepsaini varundeepsaini marked this pull request as draft January 11, 2026 20:50
@varundeepsaini varundeepsaini force-pushed the feature/deploy-append-log branch from 86b90ce to 98a1893 Compare January 15, 2026 16:39
@varundeepsaini varundeepsaini marked this pull request as ready for review January 15, 2026 16:39
Signed-off-by: Varun Deep Saini <varun.23bcs10048@ms.sst.scaler.com>
Signed-off-by: Varun Deep Saini <varun.23bcs10048@ms.sst.scaler.com>
@varundeepsaini varundeepsaini force-pushed the feature/deploy-append-log branch from 98a1893 to 5cb5da4 Compare January 15, 2026 16:40
@github-actions
Copy link

An authorized user can trigger integration tests manually by following the instructions below:

Trigger:
go/deco-tests-run/cli

Inputs:

  • PR number: 4106
  • Commit SHA: 5cb5da43d5acecf71db4a0dfede780151c945e21

Checks will be approved automatically on success.

@varundeepsaini
Copy link
Contributor Author

@denik @andrewnester the pr is ready for review

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.

State file append log, avoid orphaned resources on interrupted deploy

1 participant