Skip to content

ENT-9980: Properly handle promise locking with edit line (3.24.x)#5827

Merged
larsewi merged 4 commits into
cfengine:3.24.xfrom
larsewi:render-3.24.x
Jun 16, 2025
Merged

ENT-9980: Properly handle promise locking with edit line (3.24.x)#5827
larsewi merged 4 commits into
cfengine:3.24.xfrom
larsewi:render-3.24.x

Conversation

@larsewi

@larsewi larsewi commented Jun 13, 2025

Copy link
Copy Markdown
Contributor
  • verify_files.c: Added missing include for cf3.defs.h
  • files_edit.c: Added missing include for cf3.defs.h
  • verify_files.c: Removed trailing white space
  • Properly handle promise locking with edit line

Back-ported from #5815

larsewi added 4 commits June 13, 2025 09:50
This file requires the definition of the enum `PromiseResult`.

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
(cherry picked from commit eb5e2b2)
This file requires the definition of the enum `PromiseResult`.

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
(cherry picked from commit 441c4e7)
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
(cherry picked from commit 7fee030)
Fixed bug causing rendered files can result in erroneously empty files
as a result of promise locking.

Ticket: ENT-9980
Changelog: Commit
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
(cherry picked from commit c947544)
@larsewi

larsewi commented Jun 13, 2025

Copy link
Copy Markdown
Contributor Author

@cf-bottom Jenkins please :)

@cf-bottom

Copy link
Copy Markdown

@larsewi larsewi merged commit ec50804 into cfengine:3.24.x Jun 16, 2025
9 checks passed
@larsewi larsewi deleted the render-3.24.x branch July 3, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants