Repository navigation
frontend: isolate Rust beta app identity and migrate first-run settings - #706
Conversation
…ge roots (GREEN, #632)
Local-Gate: v1 tree=ed0a43961a0fa6031e96c9c01a7037dcd34eae2c secs=564 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791964659,"gate":"rust/all/fmt","host":"linux-x86_64","key":"3016e8ca1f1cf6a141b748c3a34d7a1b3bd97f4b8731a26082a233f199f307b3","lane":"lint","parents":["1789ffe7787be9fa5adb90b76606c1bd743b9d00"],"secs":134,"stamp":"c189fbd500f4b6127c8207f11f823cd4","tree":"ed0a43961a0fa6031e96c9c01a7037dcd34eae2c","v":1,"via":"run"}
Ci-Attestation: {"at":1791964659,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"3016e8ca1f1cf6a141b748c3a34d7a1b3bd97f4b8731a26082a233f199f307b3","lane":"lint","parents":["1789ffe7787be9fa5adb90b76606c1bd743b9d00"],"secs":134,"stamp":"96064b359949c6ec17818d4fb41458d4","tree":"ed0a43961a0fa6031e96c9c01a7037dcd34eae2c","v":1,"via":"run"}
Ci-Attestation: {"at":1791964659,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"0b7af9cfd955ac342348f82f762426f874283d228c89f63f2f6f8539f2325e41","lane":"rust-test","parents":["1789ffe7787be9fa5adb90b76606c1bd743b9d00"],"secs":126,"stamp":"708c40d99c0285006f21744f32314d86","tree":"ed0a43961a0fa6031e96c9c01a7037dcd34eae2c","v":1,"via":"run"}
Ci-Attestation: {"at":1791964659,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"18c793828276707dd08867f7a10aa7a3a994e0f8241c797966c579f6a0be4f1d","lane":"cross","parents":["1789ffe7787be9fa5adb90b76606c1bd743b9d00"],"secs":114,"stamp":"1dfea04dd78f57e33af9408f71c31a98","tree":"ed0a43961a0fa6031e96c9c01a7037dcd34eae2c","v":1,"via":"run"}
Ci-Attestation: {"at":1791964659,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"18c793828276707dd08867f7a10aa7a3a994e0f8241c797966c579f6a0be4f1d","lane":"cross","parents":["1789ffe7787be9fa5adb90b76606c1bd743b9d00"],"secs":114,"stamp":"5fe5533c8ae69565101ab5621c9e644f","tree":"ed0a43961a0fa6031e96c9c01a7037dcd34eae2c","v":1,"via":"run"}
Ci-Attestation: {"at":1791964659,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"18c793828276707dd08867f7a10aa7a3a994e0f8241c797966c579f6a0be4f1d","lane":"cross","parents":["1789ffe7787be9fa5adb90b76606c1bd743b9d00"],"secs":114,"stamp":"0d6620cebe63326eacc7d2d318152c7a","tree":"ed0a43961a0fa6031e96c9c01a7037dcd34eae2c","v":1,"via":"run"}
Ci-Attestation: {"at":1791964659,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"18c793828276707dd08867f7a10aa7a3a994e0f8241c797966c579f6a0be4f1d","lane":"cross","parents":["1789ffe7787be9fa5adb90b76606c1bd743b9d00"],"secs":114,"stamp":"1dd4cb3abb8615367a03249c3800575a","tree":"ed0a43961a0fa6031e96c9c01a7037dcd34eae2c","v":1,"via":"run"}
Ci-Attestation: {"at":1791964659,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"18c793828276707dd08867f7a10aa7a3a994e0f8241c797966c579f6a0be4f1d","lane":"cross","parents":["1789ffe7787be9fa5adb90b76606c1bd743b9d00"],"secs":114,"stamp":"cfbc403a27a5c2e7c77c879648c214c2","tree":"ed0a43961a0fa6031e96c9c01a7037dcd34eae2c","v":1,"via":"run"}
Ci-Attestation: {"at":1791964659,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"18c793828276707dd08867f7a10aa7a3a994e0f8241c797966c579f6a0be4f1d","lane":"cross","parents":["1789ffe7787be9fa5adb90b76606c1bd743b9d00"],"secs":114,"stamp":"917273f7a64bf4b23d2f39e2baa03058","tree":"ed0a43961a0fa6031e96c9c01a7037dcd34eae2c","v":1,"via":"run"}
Ci-Attestation: {"at":1791964659,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"103ab8c3a3093c3e9c699323e7eea6178bcfdb1fc4102a2f25448c7c0fab8b9d","lane":"tier2-linux","parents":["1789ffe7787be9fa5adb90b76606c1bd743b9d00"],"secs":188,"stamp":"a9526b9df75683de006ad832f26854fa","tree":"ed0a43961a0fa6031e96c9c01a7037dcd34eae2c","v":1,"via":"run"}
089a4d6 to
9c760fe
Compare
|
Rebased onto current master Fresh lint and unit gates passed: 187 CI helper tests, 198 unchanged C tests in both modes, identical 1,766 exports. All four attestation lanes reran and passed in 564 s. Same single reviewer confirmed the rebased diff is clean and all 24 focused tests pass. Older verify-only run 38528841682 was cancelled with all package builds queued because its base was outdated. The replacement package run will validate this exact new head. Draft remains until native migration and AppImage saved-profile/recording checks pass. |
Local-Gate: v1 tree=561448281e91b12b8e22459591d9e43a2ae17248 secs=523 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791969395,"gate":"rust/all/fmt","host":"linux-x86_64","key":"5c273cf445b818f70ff8ef9008cd142b5d0a3984f114310812744fedc310f861","lane":"lint","parents":["3d1b033d31a90946c0581fcb657ca5b811bd4c53"],"secs":94,"stamp":"0e80ffabbbb0582a8024a8095a98e26c","tree":"561448281e91b12b8e22459591d9e43a2ae17248","v":1,"via":"run"}
Ci-Attestation: {"at":1791969395,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"5c273cf445b818f70ff8ef9008cd142b5d0a3984f114310812744fedc310f861","lane":"lint","parents":["3d1b033d31a90946c0581fcb657ca5b811bd4c53"],"secs":94,"stamp":"0318f61271abe49ace71964f483b5e39","tree":"561448281e91b12b8e22459591d9e43a2ae17248","v":1,"via":"run"}
Ci-Attestation: {"at":1791969395,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"715cdefcc0d8466c70ae0525965d6ea7f06392ae626b84aec4d2121f9ac327fd","lane":"rust-test","parents":["3d1b033d31a90946c0581fcb657ca5b811bd4c53"],"secs":123,"stamp":"9fffcda7692edd2e8d4ee605a730fd53","tree":"561448281e91b12b8e22459591d9e43a2ae17248","v":1,"via":"run"}
Ci-Attestation: {"at":1791969395,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"796de0fff6ebf3077b359ebdc61a10fc660c15a0217eebee75c712be1b17fed3","lane":"cross","parents":["3d1b033d31a90946c0581fcb657ca5b811bd4c53"],"secs":107,"stamp":"7fc5a735086d6d4e7325cd3984756c0b","tree":"561448281e91b12b8e22459591d9e43a2ae17248","v":1,"via":"run"}
Ci-Attestation: {"at":1791969395,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"796de0fff6ebf3077b359ebdc61a10fc660c15a0217eebee75c712be1b17fed3","lane":"cross","parents":["3d1b033d31a90946c0581fcb657ca5b811bd4c53"],"secs":107,"stamp":"5f53fdf29c486142651ee6bbe4c7f3cd","tree":"561448281e91b12b8e22459591d9e43a2ae17248","v":1,"via":"run"}
Ci-Attestation: {"at":1791969395,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"796de0fff6ebf3077b359ebdc61a10fc660c15a0217eebee75c712be1b17fed3","lane":"cross","parents":["3d1b033d31a90946c0581fcb657ca5b811bd4c53"],"secs":107,"stamp":"d2cae71afcd34dba1e3e230a0adb12cd","tree":"561448281e91b12b8e22459591d9e43a2ae17248","v":1,"via":"run"}
Ci-Attestation: {"at":1791969395,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"796de0fff6ebf3077b359ebdc61a10fc660c15a0217eebee75c712be1b17fed3","lane":"cross","parents":["3d1b033d31a90946c0581fcb657ca5b811bd4c53"],"secs":107,"stamp":"0cad30da9beb69812fb028bbe2fb6d93","tree":"561448281e91b12b8e22459591d9e43a2ae17248","v":1,"via":"run"}
Ci-Attestation: {"at":1791969395,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"796de0fff6ebf3077b359ebdc61a10fc660c15a0217eebee75c712be1b17fed3","lane":"cross","parents":["3d1b033d31a90946c0581fcb657ca5b811bd4c53"],"secs":107,"stamp":"dabf0e99350dfec7dbde4d39ab5ff1bc","tree":"561448281e91b12b8e22459591d9e43a2ae17248","v":1,"via":"run"}
Ci-Attestation: {"at":1791969395,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"796de0fff6ebf3077b359ebdc61a10fc660c15a0217eebee75c712be1b17fed3","lane":"cross","parents":["3d1b033d31a90946c0581fcb657ca5b811bd4c53"],"secs":107,"stamp":"f072b04c5c900767628c7cc31ef9a08b","tree":"561448281e91b12b8e22459591d9e43a2ae17248","v":1,"via":"run"}
Ci-Attestation: {"at":1791969395,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"41f9a54adceb8e9fb5c64ee813422b8d25a2915337426fab7f144795b0fefeb7","lane":"tier2-linux","parents":["3d1b033d31a90946c0581fcb657ca5b811bd4c53"],"secs":199,"stamp":"9e6f98c9f9e50afd505da4b8e4c2b871","tree":"561448281e91b12b8e22459591d9e43a2ae17248","v":1,"via":"run"}
Local-Gate: v1 tree=f588fd61bfdd1a198cecd2b510e422815529efd5 secs=661 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791973045,"gate":"rust/all/fmt","host":"linux-x86_64","key":"d7569b0bc2ba1f3ba1085e9b51ee37a2487e486cf8f71b8a06634c26f5ed9dad","lane":"lint","parents":["bbdda510c0915e2b2e79576b2167df67928d4912"],"secs":170,"stamp":"9b9615babd6819c6beb788f53384b7cb","tree":"f588fd61bfdd1a198cecd2b510e422815529efd5","v":1,"via":"run"}
Ci-Attestation: {"at":1791973045,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"d7569b0bc2ba1f3ba1085e9b51ee37a2487e486cf8f71b8a06634c26f5ed9dad","lane":"lint","parents":["bbdda510c0915e2b2e79576b2167df67928d4912"],"secs":170,"stamp":"1af428e405af4bb73399c4255b81f96e","tree":"f588fd61bfdd1a198cecd2b510e422815529efd5","v":1,"via":"run"}
Ci-Attestation: {"at":1791973045,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"482694f7a7653c26ac45fc9832e40cc979e110672d66214372b7367185fc8ce6","lane":"rust-test","parents":["bbdda510c0915e2b2e79576b2167df67928d4912"],"secs":181,"stamp":"0d15c1b23f8a2143295b2894e635cd1b","tree":"f588fd61bfdd1a198cecd2b510e422815529efd5","v":1,"via":"run"}
Ci-Attestation: {"at":1791973045,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"21e5d3472c1dd708b5ed5d7c9d96243dfe96c5548fe124e29b26e3a520f85c45","lane":"cross","parents":["bbdda510c0915e2b2e79576b2167df67928d4912"],"secs":179,"stamp":"44f2dbb507c57cd84d3ed92822934359","tree":"f588fd61bfdd1a198cecd2b510e422815529efd5","v":1,"via":"run"}
Ci-Attestation: {"at":1791973045,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"21e5d3472c1dd708b5ed5d7c9d96243dfe96c5548fe124e29b26e3a520f85c45","lane":"cross","parents":["bbdda510c0915e2b2e79576b2167df67928d4912"],"secs":179,"stamp":"ac2efb38659e0a436ce371c139740cf0","tree":"f588fd61bfdd1a198cecd2b510e422815529efd5","v":1,"via":"run"}
Ci-Attestation: {"at":1791973045,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"21e5d3472c1dd708b5ed5d7c9d96243dfe96c5548fe124e29b26e3a520f85c45","lane":"cross","parents":["bbdda510c0915e2b2e79576b2167df67928d4912"],"secs":179,"stamp":"535dc83d1a33575274ab641eeab53f14","tree":"f588fd61bfdd1a198cecd2b510e422815529efd5","v":1,"via":"run"}
Ci-Attestation: {"at":1791973045,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"21e5d3472c1dd708b5ed5d7c9d96243dfe96c5548fe124e29b26e3a520f85c45","lane":"cross","parents":["bbdda510c0915e2b2e79576b2167df67928d4912"],"secs":179,"stamp":"b933d4ed3c258442618a36434c226e61","tree":"f588fd61bfdd1a198cecd2b510e422815529efd5","v":1,"via":"run"}
Ci-Attestation: {"at":1791973045,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"21e5d3472c1dd708b5ed5d7c9d96243dfe96c5548fe124e29b26e3a520f85c45","lane":"cross","parents":["bbdda510c0915e2b2e79576b2167df67928d4912"],"secs":179,"stamp":"e604b4a5643b542b2233337a9cd9f8c0","tree":"f588fd61bfdd1a198cecd2b510e422815529efd5","v":1,"via":"run"}
Ci-Attestation: {"at":1791973045,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"21e5d3472c1dd708b5ed5d7c9d96243dfe96c5548fe124e29b26e3a520f85c45","lane":"cross","parents":["bbdda510c0915e2b2e79576b2167df67928d4912"],"secs":179,"stamp":"f5f193c62a7983766e7198fd0f649ba0","tree":"f588fd61bfdd1a198cecd2b510e422815529efd5","v":1,"via":"run"}
Ci-Attestation: {"at":1791973045,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"30b290544d880a6d559ff9dea1db5d2c344b85fa64989e1bc2bb179fb4b3b5cf","lane":"tier2-linux","parents":["bbdda510c0915e2b2e79576b2167df67928d4912"],"secs":130,"stamp":"f18b70b72b9f7ee2311b879c4c00f439","tree":"f588fd61bfdd1a198cecd2b510e422815529efd5","v":1,"via":"run"}
Summary
Implements the maintainer's selected policy: a separate Rust beta app identity and
obs-studio-rustconfiguration directory, with first-run migration.RED → GREEN
Genuine failing test commits precede the implementation:
7b61aecd0: actual frontend path functions still share upstream config (six Rust path failures).c45d2bf7e: first-run migration stub fails five preservation/copy cases.083ecf178: actual CMake defaults/generated desktop retain upstream identity and install paths.92c541460: actual Linux instance check counts upstream processes.ab06abde5: package identity checker rejects an actual old AppImage with the original desktop identity.7e8355601: native fixtures lack migration and separate config support.8172ed0fe: Rust selection happens after identity defaults / scripts do not forward it.be3c66ddc: actual Rust constructor creates the crash-handler directory before import.267bced37: upstream session sentinel is copied.728458946: selected custom storage roots are not imported.8c5c68fe4: actual settings-folder expression and generated desktop leak upstream identity (two failures).3d1b033d3: reproduce three failures observed in actual native package validation: missing uv setup for collection, missing private-library search for Debian dependency scanning, and redundant separators in default migrated storage roots. Corrected ine288f7b38; all 27 focused tests pass.2840a0ee5: actual package identity block overwrites the OS distro ID and defeats the existing Ubuntu 22.04 PipeWire exemption (four failures).b96dae299: actual Fedora/Arch install commands lack diffutils, so snapshot comparison cannot run (two failures).c701a7ed1: an actual failed snapshot comparison still prints verified isolation (one failure).bbdda510c: actual Windows identity initialization runs before persistent logging; the native checker has no saved verification (one compiled lifecycle failure). The correction sets/reads early and reads/logs again after the logger opens.89e66f6dd: Mac shutdown timeout lacks owned live-process sampling. The correction collects a bounded sample and rethrows the timeout; this is diagnostic coverage, not a claimed Mac shutdown fix.Local focused tests and native packaged validation pass. No public C headers or existing C tests were changed.
Validation
Current candidate:
69a0cccf2ae480a9c96c83fe747fe5d850e4fbf2, treef588fd61bfdd1a198cecd2b510e422815529efd5, based onbb59160e6../lint: passed (32.4 s); includes CI helper tests../unittest: Rust tests and cross-linking passed (132.7 s); unchanged C tests passed with Rust OFF and ON (198 each), all 1,766 exported symbols identical (241.9 s).e288f7b38885fd2072d4b0142172b82426a86e5f.Actual package runs
e288f7b38: Debian packaging/test and native macOS ARM startup passed. Ubuntu 22.04 failed because app identity overwrote distro ID; Fedora/Arch failed because cmp was absent (the comparison did not run, so no preservation claim is made). Windows x64/ARM64 completed startup but failed the missing persistent identity log check. Native macOS Intel completed readiness but timed out on shutdown. All failures are retained; the corrections above preserve the existing assertions and recording oracle.69a0cccf2ae480a9c96c83fe747fe5d850e4fbf2: SUCCESS. All five native packages, the full release gate, all four AppImage distributions and recording oracles, Windows x64/ARM64 saved-profile modes and missing-camera mutation, and macOS Intel/ARM64 DMG modes passed. Fedora/Arch now actually execute snapshot comparisons. Intel Mac completed all four modes and orderly shutdown; its earlier timeout did not recur, and no root-cause fix is claimed. Intel logs report zero leaks for fresh mode and one for some imported/existing modes; this PR does not claim a leak fix. Release publication was intentionally skipped (verify_only).CI Gate ✅, passed. Merge queue validation will rerun on current master.Native hosted startup checks prove installed identity, config isolation/migration, capture-source presence, protocol readiness, screenshots and orderly shutdown when they pass. They do not prove physical-device frames, newly granted macOS permissions, or notarization without configured release credentials.
Fixes #632. Refs #635.