Skip to content

Conversation

@gy2411
Copy link
Collaborator

@gy2411 gy2411 commented Oct 30, 2025

Add SaveState call after setting the estimate. Without this call the estimate will be saved to database only after checkpoint is fully created. It might cause false positive hanging task reports.

@gy2411 gy2411 added large-tests Launch large tests for PR disk_manager Add this label to run only cloud/disk_manager build and tests on PR labels Oct 30, 2025
@gy2411
Copy link
Collaborator Author

gy2411 commented Oct 30, 2025

Hmm, maybe there are some other tasks where we don't save state after setting estimages...

@gy2411
Copy link
Collaborator Author

gy2411 commented Oct 30, 2025

Wait, this is strange. We should update task state after its execution is stopped. Why don't we do it in this case?...

Because we don't save state in case of NewInterruptExecutionError: https://github.com/ydb-platform/nbs/blob/main/cloud/tasks/runner.go#L213

@github-actions
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit 9ec4277.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1212 1212 0 0 0 0 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

disk_manager Add this label to run only cloud/disk_manager build and tests on PR large-tests Launch large tests for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants