Skip to content

ci: use prebuilt ghd for cold attestation verification - #4828

Merged
zackees merged 3 commits into
masterfrom
ci/verify-attested-skip
Nov 13, 2026
Merged

zackees merged 3 commits into
masterfrom
ci/verify-attested-skip

Conversation

@zackees

@zackees zackees commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

A fully signed client-evidence probe reached CI Mode but fell back to heavy PR checks because its cold GraphQL bootstrap exceeded the 120-second identity-verification deadline. Job 131743539181 in run 43382564560 records the TimeoutExpired rejection. The old wrapper installed ghd from a git source pin whose PEP 517 backend builds its Rust CLI, even though ghd publishes binary wheels.

The wrapper now resolves exact ghd 0.2.1 with uvx --no-build. Cold runners install the published wheel; an unavailable wheel fails closed without starting a source build. Existing GHD_EXE and PATH overrides, cached GraphQL routing, argument forwarding, jq behavior and error propagation remain supported. The lint launcher also clarifies that host lint alone does not satisfy the complete six-target evidence contract.

RED e41d7c2 fails the new cold-fallback regression because the command permits a git source build. GREEN 8f5b6ff passes all five wrapper tests. The actual published wheel reports ghd 0.2.1 and successfully queried the authenticated viewer through ci/gh_graphql.py. A fresh strict client push passed all six target clippy/Dylint pairs, full Python self-tests and data/XML validators, 8,452 workspace tests, 916 feature-variant tests, doctests and the Windows GNU test link. A separate fresh-cache binary-only bootstrap downloaded and launched ghd in 2.261 seconds. CI trust-surface changes must run real PR checks; a later ordinary probe will measure verification-only admission once this fix is in the immutable base. No Rust, C API or protocol behavior changes.

Refs #4743

Ci-Attestation: {"at":1794552750,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":129,"stamp":"b2fad5841bdd8b552b5730f3e5a26a1c","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794552750,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":129,"stamp":"36ad58f588c10b8042077b02f0931f58","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794552750,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":129,"stamp":"d637b8e794c53e32fc0ec9b987abe2ee","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794552750,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":129,"stamp":"02dc4056cdebc49ea47ed5b015ab965f","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794552619,"gate":"general/all/client-lint","host":"linux-x86_64","key":"dd55b26d25f455120c2a66cd7570699c7906df10abbfb549f37c52baee6591d8","lane":"client-lint","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":233,"stamp":"655a66a59078d33404c0e2ef5b00d47a","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794552750,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":129,"stamp":"887fab601d8ad61a342b95cb3cdb6c6a","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794552620,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"dd55b26d25f455120c2a66cd7570699c7906df10abbfb549f37c52baee6591d8","lane":"client-lint","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":233,"stamp":"2f0ff6ab83cf4ad2c5a6952c972339c0","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794552620,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"dd55b26d25f455120c2a66cd7570699c7906df10abbfb549f37c52baee6591d8","lane":"client-lint","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":233,"stamp":"5643667c501225b686e43a0421d6095b","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794552620,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"dd55b26d25f455120c2a66cd7570699c7906df10abbfb549f37c52baee6591d8","lane":"client-lint","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":233,"stamp":"967508ecbecdb0d544ff5c7335fa580f","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794552620,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"dd55b26d25f455120c2a66cd7570699c7906df10abbfb549f37c52baee6591d8","lane":"client-lint","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":233,"stamp":"fc91110e63016352f5366e9fc45e33ce","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794552619,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"dd55b26d25f455120c2a66cd7570699c7906df10abbfb549f37c52baee6591d8","lane":"client-lint","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":233,"stamp":"4dea42554017edecbb04d7e8dbc1145d","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794552619,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"dd55b26d25f455120c2a66cd7570699c7906df10abbfb549f37c52baee6591d8","lane":"client-lint","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":233,"stamp":"5076ec40a914e22e09bc73641d5c9f70","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794552620,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"dd55b26d25f455120c2a66cd7570699c7906df10abbfb549f37c52baee6591d8","lane":"client-lint","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":233,"stamp":"ce6e5ec29355826f10562d817c14b747","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794552620,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"dd55b26d25f455120c2a66cd7570699c7906df10abbfb549f37c52baee6591d8","lane":"client-lint","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":233,"stamp":"1b476353663c41b10bf4cc9b03adb8c3","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794552620,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"dd55b26d25f455120c2a66cd7570699c7906df10abbfb549f37c52baee6591d8","lane":"client-lint","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":233,"stamp":"5ae54b608d5c01229507b03fa9e31690","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794552620,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"dd55b26d25f455120c2a66cd7570699c7906df10abbfb549f37c52baee6591d8","lane":"client-lint","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":233,"stamp":"cbd72d59d2a5c960d3b665df690029ad","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794552619,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"dd55b26d25f455120c2a66cd7570699c7906df10abbfb549f37c52baee6591d8","lane":"client-lint","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":233,"stamp":"efe8cf246f17674b27aef30a38b37578","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794552619,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"dd55b26d25f455120c2a66cd7570699c7906df10abbfb549f37c52baee6591d8","lane":"client-lint","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":233,"stamp":"47508772669586f73ed33b93dc5d24bf","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}
Ci-Attestation: {"at":1794553185,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"cd89128eb3009e53c315f4644c56958eaf93db8deeefc0537de515bc8865210a","lane":"client-test-x86_64-unknown-linux-gnu","parents":["e4849b53527b96344394bde3dc11e0d7e98b8914"],"secs":434,"stamp":"37aa39edad104e09a0301df8381bb2f9","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa","v":1,"via":"run"}

Client-Checks: {"checks":{"base":"e4849b53527b96344394bde3dc11e0d7e98b8914","coverage":"all-tracked-applicable-files","diff":["lint"],"head":"f2da8a28d35d898bdb1a6cc6fe7ad7df220ef496","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21504\n   compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"837c87b79674d708e6fc476bd6e056d9d40bbb97907776665c08cfb427e5e286","tree":"1a3417ea69bf5da0434a776d1c7e4649f59b10fa"}}
@zackees zackees changed the title docs(lint): distinguish host lint from complete client evidence ci: use prebuilt ghd for cold attestation verification Nov 13, 2026
Ci-Attestation: {"at":1794554843,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":133,"stamp":"1525299749df11ced60e02e0c7f4d95a","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794554843,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":133,"stamp":"b193b088407172b4abb75d8869855ce4","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794554843,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":133,"stamp":"d8b7f50e8f7ff926585c2c85e6842661","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794554843,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":133,"stamp":"24fd7f8248c42b5a50eacb6d12bd6220","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794554709,"gate":"general/all/client-lint","host":"linux-x86_64","key":"8916f6d1a40c9bcb68536e944a06f2659a3449ed8a19c36918e3da1a4974970a","lane":"client-lint","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":20,"stamp":"759b6a5e979144946febd4987e598c6f","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794554843,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":133,"stamp":"2db46718214bef3ff9f515158e98054a","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794554709,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"8916f6d1a40c9bcb68536e944a06f2659a3449ed8a19c36918e3da1a4974970a","lane":"client-lint","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":20,"stamp":"f782ad302bed47bf3ddff65657d4387d","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794554709,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"8916f6d1a40c9bcb68536e944a06f2659a3449ed8a19c36918e3da1a4974970a","lane":"client-lint","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":20,"stamp":"3903bf41c2538ebff7520b8877709b3c","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794554709,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"8916f6d1a40c9bcb68536e944a06f2659a3449ed8a19c36918e3da1a4974970a","lane":"client-lint","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":20,"stamp":"cfce612907ea75c71fe63f15e21b9745","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794554709,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"8916f6d1a40c9bcb68536e944a06f2659a3449ed8a19c36918e3da1a4974970a","lane":"client-lint","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":20,"stamp":"4e3cc16ae3ed6114d68be895a6b01e11","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794554709,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"8916f6d1a40c9bcb68536e944a06f2659a3449ed8a19c36918e3da1a4974970a","lane":"client-lint","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":20,"stamp":"987e057a7f671085ab9b991834afe1dc","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794554709,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"8916f6d1a40c9bcb68536e944a06f2659a3449ed8a19c36918e3da1a4974970a","lane":"client-lint","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":20,"stamp":"aa7dca6cc26a49904f12a55fe69236dc","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794554709,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"8916f6d1a40c9bcb68536e944a06f2659a3449ed8a19c36918e3da1a4974970a","lane":"client-lint","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":20,"stamp":"43ac5a1e1031dcb59c3fd86ccdcc7e8a","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794554709,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"8916f6d1a40c9bcb68536e944a06f2659a3449ed8a19c36918e3da1a4974970a","lane":"client-lint","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":20,"stamp":"90b6e2e1a1eb5cc550f78b193313d25d","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794554709,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"8916f6d1a40c9bcb68536e944a06f2659a3449ed8a19c36918e3da1a4974970a","lane":"client-lint","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":20,"stamp":"1cc212e171b904bb799bca0c888edd89","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794554709,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"8916f6d1a40c9bcb68536e944a06f2659a3449ed8a19c36918e3da1a4974970a","lane":"client-lint","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":20,"stamp":"85bcb03333f772b98c492bb2397f4e15","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794554709,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"8916f6d1a40c9bcb68536e944a06f2659a3449ed8a19c36918e3da1a4974970a","lane":"client-lint","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":20,"stamp":"a9725f91fa494a62dd9503ebd99b4a4a","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794554709,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"8916f6d1a40c9bcb68536e944a06f2659a3449ed8a19c36918e3da1a4974970a","lane":"client-lint","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":20,"stamp":"af1ce9e6616349fe225d376582740613","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}
Ci-Attestation: {"at":1794555237,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"2cf8d4022fc6c7d283c6ba782e596df234e4aa1765fe1a448f9e4c54d5309dae","lane":"client-test-x86_64-unknown-linux-gnu","parents":["e41d7c2cf1c8fda960f7298c0ba1e8bdf45947d4"],"secs":392,"stamp":"33dd475b1b534533e71241a57dcbc418","tree":"3591313b5bc1696838371eb15d431be16a235cd1","v":1,"via":"run"}

Client-Checks: {"checks":{"base":"9800296f87232b7c89478333bcc5666f6c21f1f7","coverage":"all-tracked-applicable-files","diff":["ci/gh_graphql.py","ci/test_gh_graphql.py","libobs/build/libobs.graphics+.h.c","libobs/graphics/graphics.c.h","libobs/graphics/raster-state-entrypoints.c.h","libobs/graphics/state-blend-setters.c.h","lint","test/cmocka/build/test-graph.json","test/cmocka/test_raster_state_entrypoints.c","test/cmocka/tests.d/test_raster_state_entrypoints.cmake"],"head":"d0ac8b90d64f1e921c77efe67c003136480ce3d5","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21504\n   compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"df122a2eff418c83d14a16ae99d3ea690b37e3f5492c5814a3973e3b83d52410","tree":"3591313b5bc1696838371eb15d431be16a235cd1"}}
@zackees

zackees commented Nov 13, 2026

Copy link
Copy Markdown
Member Author

Handed off to the coordinator. The strict client push completed for signed head 8f5b6ff, and auto-merge is armed on that exact head. Current required PR run: 43386672253 (waiting for runners). The previous ordinary probe established the cold GraphQL bootstrap timeout and was superseded/cancelled after the repair push. End-to-end hosted skipping remains unproven until this repair is in the immutable base; ready follow-up #4834 specifies the ordinary probe, job/log inventory and timing comparison. Keep this trust-surface PR on real checks and the normal heavy merge queue.

@zackees
zackees added this pull request to the merge queue Nov 13, 2026
Merged via the queue into master with commit 1bbb26f Nov 13, 2026
40 checks passed
@zackees
zackees deleted the ci/verify-attested-skip branch November 13, 2026 09:44
@obs-rust-project-manager obs-rust-project-manager Bot moved this from In review to Done in obs-rust Multiview Nov 13, 2026
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