fix: lxc_exists_and_apt_not_old must be in a transaction #1104

Merged
earl-warren merged 1 commit from cascading-pr/runner:forgejo/lxc-helpers-52 into main 2025-10-20 21:03:14 +00:00
Contributor

cascading-pr from forgejo/lxc-helpers#52

  • bug fixes
    • PR: fix: lxc_exists_and_apt_not_old must be in a transaction
cascading-pr from https://code.forgejo.org/forgejo/lxc-helpers/pulls/52 <!--start release-notes-assistant--> <!--URL:https://code.forgejo.org/forgejo/runner--> - bug fixes - [PR](https://code.forgejo.org/forgejo/runner/pulls/1104): <!--number 1104 --><!--line 0 --><!--description Zml4OiBseGNfZXhpc3RzX2FuZF9hcHRfbm90X29sZCBtdXN0IGJlIGluIGEgdHJhbnNhY3Rpb24=-->fix: lxc_exists_and_apt_not_old must be in a transaction<!--description--> <!--end release-notes-assistant-->
cascading-pr update
All checks were successful
checks / build and test (pull_request) Successful in 1m25s
checks / validate mocks (pull_request) Successful in 1m1s
checks / validate pre-commit-hooks file (pull_request) Successful in 46s
checks / runner exec tests (pull_request) Successful in 52s
checks / runner integration tests (pull_request) Successful in 9m20s
checks / integration tests (pull_request) Successful in 18m0s
issue-labels / release-notes (pull_request_target) Successful in 7s
cascade / debug (pull_request_target) Has been skipped
cascade / end-to-end (pull_request_target) Successful in 10s
cascade / forgejo (pull_request_target) Successful in 2m54s
bff8797030
Author
Contributor

cascading-pr updated at actions/setup-forgejo#729

cascading-pr updated at https://code.forgejo.org/actions/setup-forgejo/pulls/729
limiting-factor changed title from cascading-pr from https://code.forgejo.org/forgejo/lxc-helpers refs/pull/52/head to forgejo/lxc-helpers-52 to fix: lxc_exists_and_apt_not_old must be in a transaction 2025-10-20 20:12:23 +00:00
Contributor

The end-to-end tests are not going to verify the bug is fixed. But running

forgejo/end-to-end#1149/files

manually on a brand new LXC container consistently fails without this fix and succeeds with it. Once the runner including this is in use by default in end-to-end it will guard against that kind of race in the future.

The end-to-end tests are not going to verify the bug is fixed. But running https://code.forgejo.org/forgejo/end-to-end/pulls/1149/files manually on a brand new LXC container consistently fails without this fix and succeeds with it. Once the runner including this is in use by default in end-to-end it will guard against that kind of race in the future.
earl-warren deleted branch forgejo/lxc-helpers-52 2025-10-20 21:03:14 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
forgejo/runner!1104
No description provided.