Dev

Source Summary updates and regeneration feedback became more reliable

Source Summary refresh after processing commits now runs in separate short transactions. If package regeneration is requested before source summaries are ready, the web interface shows a clear warning and guidance instead of an unhandled missing-data error.

The change affects how Source Summaries are updated after processing results are committed. Previously, the AFTER_COMMIT listener attempted to refresh a summary while relying on the finished transaction context; now that context is suspended, short database operations run in new transactions, and provider work stays outside them. As a result, the first source summary is persisted after a successful commit, repeated events for the same revision do not create a new revision, a rolled-back event does not trigger a refresh, and regeneration returns a pending state instead of a resource-not-found error. In the web interface, regenerating a package or source before summaries are ready now shows a Summary is not ready warning with guidance to check Source processing and Source Summary refresh.

← Back to news