Skip to content

contextual logging: streamline plumbing#159

Merged
k8s-ci-robot merged 2 commits into
kubernetes-sigs:mainfrom
ffromani:ctxlog-cleanup
May 27, 2026
Merged

contextual logging: streamline plumbing#159
k8s-ci-robot merged 2 commits into
kubernetes-sigs:mainfrom
ffromani:ctxlog-cleanup

Conversation

@ffromani
Copy link
Copy Markdown
Contributor

Ensure consistent plumbing in the driver setup.
Sneaks in a trivial consistency internal rename.
Spun off from #156

ffromani added 2 commits May 27, 2026 07:56
rename CpuDevice mode as CPUDeviceMode for consistency
with the surrounding code.
No intended change in behavior.

Signed-off-by: Francesco Romani <fromani@redhat.com>
rather than unnecessarily extract and enrich the
logger, use WithValues() once at the beginning of the flow.
Nice bonus side effect: the `ctx` used in the setup
flow is now correctly enriched with the decorated logger.

Signed-off-by: Francesco Romani <fromani@redhat.com>
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ffromani

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 27, 2026
@pravk03
Copy link
Copy Markdown
Contributor

pravk03 commented May 27, 2026

/lgtm

Thanks !

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 27, 2026
@ffromani
Copy link
Copy Markdown
Contributor Author

/retest

CI pod scheduling failure

@k8s-ci-robot k8s-ci-robot merged commit de2d38a into kubernetes-sigs:main May 27, 2026
9 checks passed
@ffromani ffromani deleted the ctxlog-cleanup branch May 27, 2026 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants