Repository navigation
ci: Skip the Flatpak bundle on routine master pushes (Refs #651) - #654
Conversation
flatpak build-bundle is ~4 of the ~16 minutes and only testers use it.
Local-Gate: v1 tree=3fff5f4228d73bc8afe0289f4c48dcf94d59e35e secs=409 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791932671,"gate":"rust/all/fmt","host":"linux-x86_64","key":"bf67c37e29cd45a079ee883f2baf7e267d201f41870bfe42a6c24842409dd5da","lane":"lint","parents":["7484cecdfa709412c23f07ff735422f73e4d8017"],"secs":23,"stamp":"c400fa848d9de579e3adb07a342c2279","tree":"3fff5f4228d73bc8afe0289f4c48dcf94d59e35e","v":1,"via":"run"}
Ci-Attestation: {"at":1791932671,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"bf67c37e29cd45a079ee883f2baf7e267d201f41870bfe42a6c24842409dd5da","lane":"lint","parents":["7484cecdfa709412c23f07ff735422f73e4d8017"],"secs":23,"stamp":"a2dd63a8d7a0c1594ebcaf80c948c6db","tree":"3fff5f4228d73bc8afe0289f4c48dcf94d59e35e","v":1,"via":"run"}
Ci-Attestation: {"at":1791932671,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"9a3b5bee896332784cb75f2fcc07f6998d233ecd1317acd925d94ce538237b78","lane":"rust-test","parents":["7484cecdfa709412c23f07ff735422f73e4d8017"],"secs":121,"stamp":"da2847464c54458d168fd403fdf5b178","tree":"3fff5f4228d73bc8afe0289f4c48dcf94d59e35e","v":1,"via":"run"}
Ci-Attestation: {"at":1791932671,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"5fdc7063a67fbb1631f37b664e86c3b6be037f53db04f0bf248aa3d14af32aea","lane":"cross","parents":["7484cecdfa709412c23f07ff735422f73e4d8017"],"secs":86,"stamp":"e4caea71159023927ac4daa485daec6e","tree":"3fff5f4228d73bc8afe0289f4c48dcf94d59e35e","v":1,"via":"run"}
Ci-Attestation: {"at":1791932671,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"5fdc7063a67fbb1631f37b664e86c3b6be037f53db04f0bf248aa3d14af32aea","lane":"cross","parents":["7484cecdfa709412c23f07ff735422f73e4d8017"],"secs":86,"stamp":"3be5b2115d2dab551135783506cbe106","tree":"3fff5f4228d73bc8afe0289f4c48dcf94d59e35e","v":1,"via":"run"}
Ci-Attestation: {"at":1791932671,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"5fdc7063a67fbb1631f37b664e86c3b6be037f53db04f0bf248aa3d14af32aea","lane":"cross","parents":["7484cecdfa709412c23f07ff735422f73e4d8017"],"secs":86,"stamp":"f13a753ea37b6110bfc1611a78377a21","tree":"3fff5f4228d73bc8afe0289f4c48dcf94d59e35e","v":1,"via":"run"}
Ci-Attestation: {"at":1791932671,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"5fdc7063a67fbb1631f37b664e86c3b6be037f53db04f0bf248aa3d14af32aea","lane":"cross","parents":["7484cecdfa709412c23f07ff735422f73e4d8017"],"secs":86,"stamp":"80f24d3e3b5d2747159920bdc92bea7a","tree":"3fff5f4228d73bc8afe0289f4c48dcf94d59e35e","v":1,"via":"run"}
Ci-Attestation: {"at":1791932671,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"5fdc7063a67fbb1631f37b664e86c3b6be037f53db04f0bf248aa3d14af32aea","lane":"cross","parents":["7484cecdfa709412c23f07ff735422f73e4d8017"],"secs":86,"stamp":"794cc747eb73e78d7bafebb388bde302","tree":"3fff5f4228d73bc8afe0289f4c48dcf94d59e35e","v":1,"via":"run"}
Ci-Attestation: {"at":1791932671,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"5fdc7063a67fbb1631f37b664e86c3b6be037f53db04f0bf248aa3d14af32aea","lane":"cross","parents":["7484cecdfa709412c23f07ff735422f73e4d8017"],"secs":86,"stamp":"8a1a1964471354009e65d274b5b02409","tree":"3fff5f4228d73bc8afe0289f4c48dcf94d59e35e","v":1,"via":"run"}
Ci-Attestation: {"at":1791932671,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"03232aa6bdc3a8fcc1e2900ba2fa4b509642ee8e5d8941f7202df64534166a83","lane":"tier2-linux","parents":["7484cecdfa709412c23f07ff735422f73e4d8017"],"secs":178,"stamp":"298a9e3668c980ef56c3af23f12e76b4","tree":"3fff5f4228d73bc8afe0289f4c48dcf94d59e35e","v":1,"via":"run"}
The flatpak-builder action adds --ccache only when cache is true, and
cache was false for any PR whose manifest hash had no master cache. That
PR compiled ~700 files with no ccache: 99.7% misses, ~9 min of compile
against ~1.5 min warm (run 38483172821, 886 s builder step).
Local-Gate: v1 tree=4bec9c6002a4f13db7ec115ad7769e8d1499e0f8 secs=385 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791934967,"gate":"rust/all/fmt","host":"linux-x86_64","key":"462aa16a75187be7e59eb731fd81f8d6a427a604f4158c332de2fba9c68aeb54","lane":"lint","parents":["a61f20e649b8d00bedd8e7e61572a8c94b19449a"],"secs":20,"stamp":"3bdb9f201dae56e1599229569953372b","tree":"4bec9c6002a4f13db7ec115ad7769e8d1499e0f8","v":1,"via":"run"}
Ci-Attestation: {"at":1791934967,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"462aa16a75187be7e59eb731fd81f8d6a427a604f4158c332de2fba9c68aeb54","lane":"lint","parents":["a61f20e649b8d00bedd8e7e61572a8c94b19449a"],"secs":20,"stamp":"ef7bc9bcc8126391622c4d49169c7799","tree":"4bec9c6002a4f13db7ec115ad7769e8d1499e0f8","v":1,"via":"run"}
Ci-Attestation: {"at":1791934967,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"82bc439068bdac16107045afbb5d6aeb712391198deac5321857a0d0b0cb6b91","lane":"rust-test","parents":["a61f20e649b8d00bedd8e7e61572a8c94b19449a"],"secs":131,"stamp":"efbc55b16f1649bdd47bbb3aa8b6f32c","tree":"4bec9c6002a4f13db7ec115ad7769e8d1499e0f8","v":1,"via":"run"}
Ci-Attestation: {"at":1791934967,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"aee86b7694a06103db434f284cc541593232015ce63d66283fcf010085c8ee5a","lane":"cross","parents":["a61f20e649b8d00bedd8e7e61572a8c94b19449a"],"secs":101,"stamp":"f8a3c8a834ec7902600b2d06b83ec2db","tree":"4bec9c6002a4f13db7ec115ad7769e8d1499e0f8","v":1,"via":"run"}
Ci-Attestation: {"at":1791934967,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"aee86b7694a06103db434f284cc541593232015ce63d66283fcf010085c8ee5a","lane":"cross","parents":["a61f20e649b8d00bedd8e7e61572a8c94b19449a"],"secs":101,"stamp":"7f7330e2288d580588a930e9fcc614fe","tree":"4bec9c6002a4f13db7ec115ad7769e8d1499e0f8","v":1,"via":"run"}
Ci-Attestation: {"at":1791934967,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"aee86b7694a06103db434f284cc541593232015ce63d66283fcf010085c8ee5a","lane":"cross","parents":["a61f20e649b8d00bedd8e7e61572a8c94b19449a"],"secs":101,"stamp":"653e76d88dfc61a4c9fed821592716dd","tree":"4bec9c6002a4f13db7ec115ad7769e8d1499e0f8","v":1,"via":"run"}
Ci-Attestation: {"at":1791934967,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"aee86b7694a06103db434f284cc541593232015ce63d66283fcf010085c8ee5a","lane":"cross","parents":["a61f20e649b8d00bedd8e7e61572a8c94b19449a"],"secs":101,"stamp":"de8b9150c0fcb5c502069ca05cf9c4c4","tree":"4bec9c6002a4f13db7ec115ad7769e8d1499e0f8","v":1,"via":"run"}
Ci-Attestation: {"at":1791934967,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"aee86b7694a06103db434f284cc541593232015ce63d66283fcf010085c8ee5a","lane":"cross","parents":["a61f20e649b8d00bedd8e7e61572a8c94b19449a"],"secs":101,"stamp":"e9c94bd6ae27a222f2c7884fb3584349","tree":"4bec9c6002a4f13db7ec115ad7769e8d1499e0f8","v":1,"via":"run"}
Ci-Attestation: {"at":1791934967,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"aee86b7694a06103db434f284cc541593232015ce63d66283fcf010085c8ee5a","lane":"cross","parents":["a61f20e649b8d00bedd8e7e61572a8c94b19449a"],"secs":101,"stamp":"a824240018184439cc092d8fc9dab4ac","tree":"4bec9c6002a4f13db7ec115ad7769e8d1499e0f8","v":1,"via":"run"}
Ci-Attestation: {"at":1791934967,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"6a71a634555b4302e1d0bdd99a8866b566d50b4be105ab3489603c77f90b3559","lane":"tier2-linux","parents":["a61f20e649b8d00bedd8e7e61572a8c94b19449a"],"secs":133,"stamp":"ded5144f651a57d57a6e1976b0878fe5","tree":"4bec9c6002a4f13db7ec115ad7769e8d1499e0f8","v":1,"via":"run"}
Local-Gate: v1 tree=9ced3b7258e8de4ab74c8083bf2f206bf9549118 secs=542 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791937555,"gate":"rust/all/fmt","host":"linux-x86_64","key":"745d5cc01029c6cd524b3a113a737fc68eebd0d80c46f57e272f534abe2d73ff","lane":"lint","parents":["8158d7d68c2681e276c9d3d659e0c5b69a371c08"],"secs":23,"stamp":"c54c4fd500b33c6f895d72746dd625bd","tree":"9ced3b7258e8de4ab74c8083bf2f206bf9549118","v":1,"via":"run"}
Ci-Attestation: {"at":1791937555,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"745d5cc01029c6cd524b3a113a737fc68eebd0d80c46f57e272f534abe2d73ff","lane":"lint","parents":["8158d7d68c2681e276c9d3d659e0c5b69a371c08"],"secs":23,"stamp":"03b94a4bb4eebd4cc6eeaa635b224ab3","tree":"9ced3b7258e8de4ab74c8083bf2f206bf9549118","v":1,"via":"run"}
Ci-Attestation: {"at":1791937555,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"ee1a4675fe2492184d2115dbc38624209a8661b7de5bbc292da3bb24bc17f9de","lane":"rust-test","parents":["8158d7d68c2681e276c9d3d659e0c5b69a371c08"],"secs":153,"stamp":"1fd8dc7c5007769f41cfbdd268236c83","tree":"9ced3b7258e8de4ab74c8083bf2f206bf9549118","v":1,"via":"run"}
Ci-Attestation: {"at":1791937555,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"0f0b060e97262174a9ad5d72aeba814a7c128552f79d5cbea66692feceefcd2b","lane":"cross","parents":["8158d7d68c2681e276c9d3d659e0c5b69a371c08"],"secs":228,"stamp":"91e79623dfc5a81f1441db6436af9beb","tree":"9ced3b7258e8de4ab74c8083bf2f206bf9549118","v":1,"via":"run"}
Ci-Attestation: {"at":1791937555,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"0f0b060e97262174a9ad5d72aeba814a7c128552f79d5cbea66692feceefcd2b","lane":"cross","parents":["8158d7d68c2681e276c9d3d659e0c5b69a371c08"],"secs":228,"stamp":"8efad7af61403438b3667a3b4bd5011b","tree":"9ced3b7258e8de4ab74c8083bf2f206bf9549118","v":1,"via":"run"}
Ci-Attestation: {"at":1791937555,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"0f0b060e97262174a9ad5d72aeba814a7c128552f79d5cbea66692feceefcd2b","lane":"cross","parents":["8158d7d68c2681e276c9d3d659e0c5b69a371c08"],"secs":228,"stamp":"dc2180278165dd74eab58d7a326f064c","tree":"9ced3b7258e8de4ab74c8083bf2f206bf9549118","v":1,"via":"run"}
Ci-Attestation: {"at":1791937555,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"0f0b060e97262174a9ad5d72aeba814a7c128552f79d5cbea66692feceefcd2b","lane":"cross","parents":["8158d7d68c2681e276c9d3d659e0c5b69a371c08"],"secs":228,"stamp":"be1e40c0423b134319d498de3aaf51ef","tree":"9ced3b7258e8de4ab74c8083bf2f206bf9549118","v":1,"via":"run"}
Ci-Attestation: {"at":1791937555,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"0f0b060e97262174a9ad5d72aeba814a7c128552f79d5cbea66692feceefcd2b","lane":"cross","parents":["8158d7d68c2681e276c9d3d659e0c5b69a371c08"],"secs":228,"stamp":"70734bf226201dbe4451c4231cfc478a","tree":"9ced3b7258e8de4ab74c8083bf2f206bf9549118","v":1,"via":"run"}
Ci-Attestation: {"at":1791937555,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"0f0b060e97262174a9ad5d72aeba814a7c128552f79d5cbea66692feceefcd2b","lane":"cross","parents":["8158d7d68c2681e276c9d3d659e0c5b69a371c08"],"secs":228,"stamp":"926d1b8f1df181c6d49ddf9d4ee334db","tree":"9ced3b7258e8de4ab74c8083bf2f206bf9549118","v":1,"via":"run"}
Ci-Attestation: {"at":1791937555,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"3b96ee69fc4a787f78c1f7efcfaf6d7b4e2d840f8973d2660a1aa9e6bef4c5c2","lane":"tier2-linux","parents":["8158d7d68c2681e276c9d3d659e0c5b69a371c08"],"secs":138,"stamp":"3a814ce7f52c4e97ba9f921a7d8a3ac7","tree":"9ced3b7258e8de4ab74c8083bf2f206bf9549118","v":1,"via":"run"}
Results (Refs #651)What changed (3 commits):
Keys: dependency cache
Warm compile phase: ninja 717 steps in ~55 s (cold without ccache: 8 to 13 min). What is left in the 500 s: SDK install ~40 s, compile ~1 min, flatpak-builder debuginfo split/compress ~4 min (not removable without changing the shipped Debug ref; the action has no way to pass Not done: soldr/zccache (the Flatpak does not build Rust: no Notes: first runs on this PR failed on master's obs-websocket breakage (#659/#660, since fixed) and one Windows Tier 2 flake; one Flatpak run failed AppStream validation on a transient HTTP 500 from the github.com URL probe and passed on re-run. |
Refs obs-rust#654's Windows x64 failure (MSB3374 on build_x86 ZERO_CHECK).
Refs #651 (measurements and breakdown are in the issue).
Findings: dependency modules are already cached (prebuilt tarballs, 'Cache hit ... skipping build'), ccache is already persisted, and the Flatpak does not build Rust, so soldr/zccache have nothing to cache here. The two big costs are
flatpak build-bundle(~4 min, master pushes and schedule only) and flatpak-builder's debuginfo split (~3.5 min, not removable without changing the shipped Debug ref).Change:
build-bundleonly for the daily schedule, tags, release branches and Seeking Testers PRs. Routine master pushes skip it. Cache keys are unchanged (manifest hash, commit-keyed ccache), so the build still compiles from source whenever sources or the manifest change.Baseline (master pushes, bundle on): 12.3 to 20.1 min, median ~17. Cold/warm timings for this PR will be added in a comment below (a PR never builds the bundle, so the saving shows on the next master push).