Skip to content

CFE-4569: Fixed bug where files content promises skips remaining promises#5848

Merged
larsewi merged 2 commits into
cfengine:masterfrom
larsewi:skipping
Aug 5, 2025
Merged

CFE-4569: Fixed bug where files content promises skips remaining promises#5848
larsewi merged 2 commits into
cfengine:masterfrom
larsewi:skipping

Conversation

@larsewi

@larsewi larsewi commented Aug 1, 2025

Copy link
Copy Markdown
Contributor

Fixed a bug where a successful files content promise causes remaining
files promise attribute handling to be skipped.

Fixed a bug where a successful files content promise causes remaining
files promise attribute handling to be skipped.

Ticket: CFE-4569
Changelog: Commit
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@larsewi

larsewi commented Aug 1, 2025

Copy link
Copy Markdown
Contributor Author

@cf-bottom Jenkins please :)

@cf-bottom

Copy link
Copy Markdown

@nickanderson nickanderson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add a test case for using content this way?

Added acceptance test to test that fsattrs validation is not skipped
when combining it with the content attribute.

Ticket: CFE-4569
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@larsewi

larsewi commented Aug 4, 2025

Copy link
Copy Markdown
Contributor Author

@cf-bottom Jenkins please :)

@larsewi larsewi marked this pull request as ready for review August 4, 2025 08:47
@cf-bottom

Copy link
Copy Markdown

@craigcomstock

Copy link
Copy Markdown
Contributor

looks like bootstrap-tests failed due to deb-11 system-testing instance not having enough disk space, from support tarball:

createdb: error: database creation failed: PANIC:  could not write to file "pg_wal/xlogtemp.7676": No space left on device

so I wouldn't block merging this for that reason and I have added a ticket to check on this issue in our CI. ENT-13154

@larsewi larsewi dismissed nickanderson’s stale review August 5, 2025 08:24

Added acceptance test

@larsewi larsewi merged commit 7b0a3fe into cfengine:master Aug 5, 2025
45 of 49 checks passed
@larsewi larsewi deleted the skipping branch October 2, 2025 14:41
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.

5 participants