Skip to content

uvm: omit default WCIFS FilterType for older GCS compatibility#2739

Open
rawahars wants to merge 1 commit into
mainfrom
harshrawat/fix_2714
Open

uvm: omit default WCIFS FilterType for older GCS compatibility#2739
rawahars wants to merge 1 commit into
mainfrom
harshrawat/fix_2714

Conversation

@rawahars
Copy link
Copy Markdown
Contributor

CombinedLayers.FilterType was added in HCS schema 2.9. Inbox GCS on older Windows hosts (e.g. WS2022) uses a strict JSON unmarshaller that rejects the unknown field with HCS_E_INVALID_JSON. Since WCIFS is the GCS default when the field is absent, clear it so omitempty drops it from the wire format.

closes: #2714

CombinedLayers.FilterType was added in HCS schema 2.9. Inbox GCS on
older Windows hosts (e.g. WS2022) uses a strict JSON unmarshaller that
rejects the unknown field with HCS_E_INVALID_JSON. Since WCIFS is the
GCS default when the field is absent, clear it so `omitempty` drops it
from the wire format.

Refs: #2714
Signed-off-by: Harsh Rawat <harshrawat@microsoft.com>
@rawahars rawahars requested a review from a team as a code owner May 15, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

the virtual machine or container JSON document is invalid

3 participants