Skip to content

[release-1.42] Run: don't try to encode SystemContext with json#6665

Merged
Luap99 merged 1 commit intocontainers:release-1.42from
nalind:system-context-not-json-1.42
Feb 5, 2026
Merged

[release-1.42] Run: don't try to encode SystemContext with json#6665
Luap99 merged 1 commit intocontainers:release-1.42from
nalind:system-context-not-json-1.42

Conversation

@nalind
Copy link
Member

@nalind nalind commented Feb 5, 2026

What type of PR is this?

/kind other

What this PR does / why we need it:

Don't expect to be able to encode a SystemContext as JSON, because it will trigger an encoding error if fields which can't be encoded are set.

How to verify it

podman has a "podman build - basic test" test that should be fixed by this.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

Cherry-picked from #6650

Does this PR introduce a user-facing change?

None

Don't expect to be able to encode a SystemContext as JSON, because it
will trigger an encoding error if fields which can't be encoded are set.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Feb 5, 2026
@packit-as-a-service
Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

2 similar comments
@packit-as-a-service
Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

@packit-as-a-service
Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

@nalind nalind added the No New Tests Allow PR to proceed without adding regression tests label Feb 5, 2026
Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

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

LGTM

@Luap99 Luap99 merged commit de40552 into containers:release-1.42 Feb 5, 2026
26 of 37 checks passed
@nalind nalind deleted the system-context-not-json-1.42 branch February 5, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

No New Tests Allow PR to proceed without adding regression tests size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants