Skip to content

ROX-32747: Virtual Machine protos#19237

Draft
dashrews78 wants to merge 3 commits intomasterfrom
dashrews/vm-v2-proto-32746
Draft

ROX-32747: Virtual Machine protos#19237
dashrews78 wants to merge 3 commits intomasterfrom
dashrews/vm-v2-proto-32746

Conversation

@dashrews78
Copy link
Contributor

first draft

ran the generators

Add scan_time DB column tags and hash fields to VM v2 protos

Add search/sql tags to VirtualMachineScanV2.scan_time so it becomes a
queryable database column (previously only in serialized blob). Add
uint64 hash fields to both VirtualMachineV2 and VirtualMachineScanV2
for change detection in the upcoming custom store implementation.

These are prerequisites for the custom VM v2 store that will use
hash-based comparison to avoid unnecessary writes and support
timestamp-only updates when data has not changed.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

Description

change me!

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

change me!

dashrews78 and others added 3 commits February 27, 2026 14:40
Add search/sql tags to VirtualMachineScanV2.scan_time so it becomes a
queryable database column (previously only in serialized blob). Add
uint64 hash fields to both VirtualMachineV2 and VirtualMachineScanV2
for change detection in the upcoming custom store implementation.

These are prerequisites for the custom VM v2 store that will use
hash-based comparison to avoid unnecessary writes and support
timestamp-only updates when data has not changed.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@openshift-ci
Copy link

openshift-ci bot commented Feb 27, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@dashrews78
Copy link
Contributor Author

@rhacs-bot
Copy link
Contributor

Images are ready for the commit at 49e3b83.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.11.x-202-g49e3b83fd2.

@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.55%. Comparing base (3855061) to head (49e3b83).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #19237      +/-   ##
==========================================
- Coverage   49.56%   49.55%   -0.01%     
==========================================
  Files        2675     2675              
  Lines      201838   201838              
==========================================
- Hits       100032   100027       -5     
- Misses      94348    94351       +3     
- Partials     7458     7460       +2     
Flag Coverage Δ
go-unit-tests 49.55% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants