Skip to content

Conversation

@Javagedes
Copy link
Collaborator

@Javagedes Javagedes commented Jan 5, 2026

Description

This commit moves image.rs as a sub-module underneath pi_dispatcher and removes the global static variable in favor of a field of the PiDispatcher struct of the core.

This commit also updates all tests to not rely on the global static, and instead a non-global static core.

NOTE: This PR changes no logic. All logical changes were handled in #1192. This PR only moves the code and replaces STATIC usage with self usage.

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

CI, continues to boot to shell.

Integration Instructions

N/A

@github-actions github-actions bot added the impact:non-functional Does not have a functional impact label Jan 5, 2026
@Javagedes Javagedes force-pushed the personal/joeyvagedes/image-to-pi-dispatcher-again branch from 6bfbfa2 to 8b0238a Compare January 5, 2026 17:53
@codecov
Copy link

codecov bot commented Jan 5, 2026

Codecov Report

❌ Patch coverage is 72.90837% with 68 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
patina_dxe_core/src/pi_dispatcher/image.rs 70.93% 66 Missing ⚠️
patina_dxe_core/src/pi_dispatcher.rs 91.67% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@Javagedes Javagedes force-pushed the personal/joeyvagedes/image-to-pi-dispatcher-again branch from 8b0238a to 4fa1e67 Compare January 5, 2026 18:11
@Javagedes Javagedes requested review from Copilot, joschock, makubacki, os-d and vineelko and removed request for Copilot January 5, 2026 18:14
@Javagedes Javagedes force-pushed the personal/joeyvagedes/image-to-pi-dispatcher-again branch from 4fa1e67 to ee3c159 Compare January 5, 2026 18:15
@Javagedes Javagedes force-pushed the personal/joeyvagedes/image-to-pi-dispatcher-again branch from ee3c159 to 4b0e86f Compare January 5, 2026 21:16
@Javagedes Javagedes force-pushed the personal/joeyvagedes/image-to-pi-dispatcher-again branch from 4b0e86f to b565423 Compare January 5, 2026 21:23
This commit removes the global static variable for image metadata and
instead makes it a member of the PiDispatcher struct.
@Javagedes Javagedes force-pushed the personal/joeyvagedes/image-to-pi-dispatcher-again branch from b565423 to 02cf4dd Compare January 5, 2026 21:26
@Javagedes Javagedes linked an issue Jan 5, 2026 that may be closed by this pull request
@Javagedes Javagedes merged commit f9fd281 into OpenDevicePartnership:main Jan 5, 2026
7 of 8 checks passed
@Javagedes Javagedes deleted the personal/joeyvagedes/image-to-pi-dispatcher-again branch January 5, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact:non-functional Does not have a functional impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Task]: Move image.rs into pi_dispatcher.rs

4 participants