Skip to content

Bring CombinedRuntimeLoader into PV [NFC]#2367

Merged
samfreund merged 3 commits intoPhotonVision:mainfrom
samfreund:yoink-combinedruntimeloader
Feb 18, 2026
Merged

Bring CombinedRuntimeLoader into PV [NFC]#2367
samfreund merged 3 commits intoPhotonVision:mainfrom
samfreund:yoink-combinedruntimeloader

Conversation

@samfreund
Copy link
Member

@samfreund samfreund commented Feb 18, 2026

Description

Given that WPILib is nuking their Java tooling, it becomes necessary to pull said tooling into PV itself. This migrates the CombinedRuntimeLoader into PV, which should finalize all of the tooling migration.

closes #2365

Meta

Merge checklist:

  • Pull Request title is short, imperative summary of proposed changes
  • The description documents the what and why, including events that led to this PR
  • If this PR changes behavior or adds a feature, user documentation is updated
  • If this PR touches photon-serde, all messages have been regenerated and hashes have not changed unexpectedly
  • If this PR touches configuration, this is backwards compatible with all settings going back to the previous seasons's last release (seasons end after champs ends)
  • If this PR touches pipeline settings or anything related to data exchange, the frontend typing is updated
  • If this PR addresses a bug, a regression test for it is added

@samfreund samfreund requested a review from a team as a code owner February 18, 2026 00:58
@github-actions github-actions bot added photonlib Things related to the PhotonVision library backend Things relating to photon-core and photon-server labels Feb 18, 2026
@samfreund samfreund changed the title Bring CombinedRuntimeLoader into PV Bring CombinedRuntimeLoader into PV [NFC] Feb 18, 2026
spacey-sooty
spacey-sooty previously approved these changes Feb 18, 2026
Copy link
Member

@spacey-sooty spacey-sooty left a comment

Choose a reason for hiding this comment

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

If CI passes I'm happy

samfreund and others added 3 commits February 18, 2026 19:55
Signed-off-by: Jade Turner <spacey-sooty@proton.me>
@spacey-sooty spacey-sooty force-pushed the yoink-combinedruntimeloader branch from 40dcf8d to 85e7d3c Compare February 18, 2026 11:55
@samfreund samfreund merged commit f2e262d into PhotonVision:main Feb 18, 2026
58 checks passed
@samfreund samfreund deleted the yoink-combinedruntimeloader branch February 18, 2026 16:02
mcm001 added a commit that referenced this pull request Feb 19, 2026
## Description

We've hit a problem where the `CombinedRuntimeLoader` extracts native
files, but gets interrupted in the middle. This is bad, cause all
`CombinedRuntimeLoader` used to check a file was its existence. This
change uses the hash of the file to verify that it's correct. This will
be checked at runtime, everytime, if the file is extant. If this check
fails, we will delete the extant file and attempt to reextract. We also
check a newly extracted file, if that hash does not match we error.

Note that this is reliant on
PhotonVision/wpilib-tool-plugin#8 and should
follow #2367

## Meta

Merge checklist:
- [x] Pull Request title is [short, imperative
summary](https://cbea.ms/git-commit/) of proposed changes
- [x] The description documents the _what_ and _why_, including events
that led to this PR
- [ ] If this PR changes behavior or adds a feature, user documentation
is updated
- [ ] If this PR touches photon-serde, all messages have been
regenerated and hashes have not changed unexpectedly
- [ ] If this PR touches configuration, this is backwards compatible
with all settings going back to the previous seasons's last release
(seasons end after champs ends)
- [ ] If this PR touches pipeline settings or anything related to data
exchange, the frontend typing is updated
- [ ] If this PR addresses a bug, a regression test for it is added

---------

Co-authored-by: Matt M <matthew.morley.ca@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Things relating to photon-core and photon-server photonlib Things related to the PhotonVision library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pull CombinedRuntimeLoader into PV

2 participants