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
@varundeepsaini varundeepsaini force-pushed the feature/deploy-append-log branch from 98a1893 to 5cb5da4 Compare January 15, 2026 16:40
@varundeepsaini
Copy link
Contributor Author

@denik @andrewnester the pr is ready for review

@varundeepsaini
Copy link
Contributor Author

@denik @andrewnester bumping again ^^

@varundeepsaini varundeepsaini force-pushed the feature/deploy-append-log branch from 5cb5da4 to 0e7c9fa Compare January 20, 2026 14:11
@varundeepsaini
Copy link
Contributor Author

@denik fixed the build failures, could you approve the workflows

Signed-off-by: Varun Deep Saini <varun.23bcs10048@ms.sst.scaler.com>
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 1b3af30 to 34e0f37 Compare January 23, 2026 19:22
@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: 34e0f37ff3fb3b0e067df489da00395f5739f9d4

Checks will be approved automatically on success.

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