Skip to content

ci: Keep the obs-websocket guard from failing on a shallow submodule - #618

Merged
zackees merged 2 commits into
masterfrom
fix/ws-guard-shallow
Oct 13, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/ws-guard-shallow

Conversation

@zackees

@zackees zackees commented Oct 13, 2026

Copy link
Copy Markdown
Member

ci/test_websocket_submodule.py (#497) checks that plugins/obs-websocket descends from the bounded-parser commit 7d89109c9 (#99) with git merge-base --is-ancestor. On a shallow submodule checkout whose history stops above 7d89109c9, that fails for master's correct pointer a4040cb72 (#589), even though GitHub's compare API shows a4040cb72 is 3 commits ahead of 7d89109c9 and 0 behind. That turned the local gate's lint lane red (seen while gating #615).

The ancestry check misreports a good pointer as missing the bounded
parser when the submodule checkout is shallow (RED: a4040cb72 fails on a
shallow clone). Check the pointer #492 and #496 committed by value first.
A shallow submodule fetch can stop above the bounded-parser commit, so
merge-base --is-ancestor fails for a good pointer. Skip in that case;
the known-bad pointer is still caught by value.

Local-Gate: v1 tree=3f264f71e0b54e390a7e3f34b7c8ae0ec5bee7e2 secs=371 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791923215,"gate":"rust/all/fmt","host":"linux-x86_64","key":"dc3590a6cc224d71886c483fbb4f10e785cb5251a483b37a2cdbeb4c0b87aaaa","lane":"lint","parents":["56fefc13ff8cd65f81f6bb349ac2a8ac90cdb819"],"secs":28,"stamp":"4dd9d3d4c0c988abe3e4f7ed6f16e8bc","tree":"3f264f71e0b54e390a7e3f34b7c8ae0ec5bee7e2","v":1,"via":"run"}
Ci-Attestation: {"at":1791923215,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"dc3590a6cc224d71886c483fbb4f10e785cb5251a483b37a2cdbeb4c0b87aaaa","lane":"lint","parents":["56fefc13ff8cd65f81f6bb349ac2a8ac90cdb819"],"secs":28,"stamp":"2c9b328e999b0627a1057e0e63a04b9f","tree":"3f264f71e0b54e390a7e3f34b7c8ae0ec5bee7e2","v":1,"via":"run"}
Ci-Attestation: {"at":1791923215,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"924edf4510566dbf8ed3c3c6ae2d44ce7d3f71801a069437ced737bd44934c62","lane":"rust-test","parents":["56fefc13ff8cd65f81f6bb349ac2a8ac90cdb819"],"secs":116,"stamp":"d611450e51a52e720febc237002f66c5","tree":"3f264f71e0b54e390a7e3f34b7c8ae0ec5bee7e2","v":1,"via":"run"}
Ci-Attestation: {"at":1791923215,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"4d5bce6c57cbf669ebd2e6062d4b023fdea168909ffe386e28ea038b9f47d1a6","lane":"cross","parents":["56fefc13ff8cd65f81f6bb349ac2a8ac90cdb819"],"secs":95,"stamp":"0da0cc2db5dc8923d97b44d9cc673669","tree":"3f264f71e0b54e390a7e3f34b7c8ae0ec5bee7e2","v":1,"via":"run"}
Ci-Attestation: {"at":1791923215,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"4d5bce6c57cbf669ebd2e6062d4b023fdea168909ffe386e28ea038b9f47d1a6","lane":"cross","parents":["56fefc13ff8cd65f81f6bb349ac2a8ac90cdb819"],"secs":95,"stamp":"534610d5f1597fb9032a1504a2757e6d","tree":"3f264f71e0b54e390a7e3f34b7c8ae0ec5bee7e2","v":1,"via":"run"}
Ci-Attestation: {"at":1791923215,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"4d5bce6c57cbf669ebd2e6062d4b023fdea168909ffe386e28ea038b9f47d1a6","lane":"cross","parents":["56fefc13ff8cd65f81f6bb349ac2a8ac90cdb819"],"secs":95,"stamp":"ee7591f1b839e644b2a66d57eac32985","tree":"3f264f71e0b54e390a7e3f34b7c8ae0ec5bee7e2","v":1,"via":"run"}
Ci-Attestation: {"at":1791923215,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"4d5bce6c57cbf669ebd2e6062d4b023fdea168909ffe386e28ea038b9f47d1a6","lane":"cross","parents":["56fefc13ff8cd65f81f6bb349ac2a8ac90cdb819"],"secs":95,"stamp":"62b8dd76fd9bbff05eb07f63f7c385e9","tree":"3f264f71e0b54e390a7e3f34b7c8ae0ec5bee7e2","v":1,"via":"run"}
Ci-Attestation: {"at":1791923215,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"4d5bce6c57cbf669ebd2e6062d4b023fdea168909ffe386e28ea038b9f47d1a6","lane":"cross","parents":["56fefc13ff8cd65f81f6bb349ac2a8ac90cdb819"],"secs":95,"stamp":"b9a9c3a621ee27d1735100b407101930","tree":"3f264f71e0b54e390a7e3f34b7c8ae0ec5bee7e2","v":1,"via":"run"}
Ci-Attestation: {"at":1791923215,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"4d5bce6c57cbf669ebd2e6062d4b023fdea168909ffe386e28ea038b9f47d1a6","lane":"cross","parents":["56fefc13ff8cd65f81f6bb349ac2a8ac90cdb819"],"secs":95,"stamp":"28ca9ecfa2446bd0d00140ad10253e02","tree":"3f264f71e0b54e390a7e3f34b7c8ae0ec5bee7e2","v":1,"via":"run"}
Ci-Attestation: {"at":1791923215,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"71293b64cb990c5656784f4a19e7f57d4791d89942bb4c5249bacd0de82a7b5b","lane":"tier2-linux","parents":["56fefc13ff8cd65f81f6bb349ac2a8ac90cdb819"],"secs":131,"stamp":"ab7550f124d4788e0c47afb72d48f6f5","tree":"3f264f71e0b54e390a7e3f34b7c8ae0ec5bee7e2","v":1,"via":"run"}
@zackees
zackees merged commit 0a45481 into master Oct 13, 2026
19 checks passed
@zackees
zackees deleted the fix/ws-guard-shallow branch October 26, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant