Close repository requests with manual lock sessions

This commit is contained in:
2026-07-22 03:37:53 +03:00
parent 10224c6344
commit b8c62fa8fa
3 changed files with 35 additions and 5 deletions
+2 -1
View File
@@ -38,7 +38,8 @@ by default) and may be explicitly cancelled with
`repository.lock.request.cancel`. Manual confirmations expire after
`ONEC_REPOSITORY_CONFIRMATION_TTL_SECONDS` (2 hours by default). After the user
releases the objects in Configurator, `repository.lock.close` closes the
confirmation and immediately blocks further SQL writes through that session.
confirmation, marks its originating request as `closed`, and immediately blocks
further SQL writes through that session.
The adapter keeps a bounded audit trail of request creation, confirmation,
cancellation, and closure and exposes it to the administrative requests view.