Skip to content

perf(flatpak): cache fast CEF debug compression and retain symbols - #1763

Merged
zackees merged 5 commits into
masterfrom
infra/1760-flatpak-speed
Oct 22, 2026
Merged

zackees merged 5 commits into
masterfrom
infra/1760-flatpak-speed

Conversation

@zackees

@zackees zackees commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Refs #1760. Draft: actual Flatpak SDK/export/runtime qualification is still pending. Do not merge or close the performance issue from the local phase result.

Candidate

  • Compress immutable CEF debug sections with eu-elfcompress -t zstd in the cached dependency module.
  • Keep final OBS debug extraction enabled, at the installed runtime path; suppress conversion back to zlib via no-debuginfo-compression.
  • Preserve browser/runtime features, build IDs, debug files, normal validators and cache trust policy. No workflow file or production cache publication changes.

RED → GREEN

  • RED 3e916221d: focused packaging regression fails because OBS recompresses ELF debug sections.
  • GREEN 750c7601d: retain debug splitting without repeated zlib compression.
  • RED 485cd1860: second focused regression fails because CEF has no cached fast-compression step.
  • GREEN 9a451b71d: cache Zstandard sections once in the CEF dependency; includes experiment and limits.
  • 29 focused packaging/CI policy checks passed. Full ./lint passed (process6489exit0).
  • One-primary-agent clud-review clean for the draft candidate; review explicitly does not certify pending runtime/whole-job acceptance.

Exact pinned CEF local experiment

Bosn jobs334/335 succeeded, four CPUs, elfutils0.194/GDB17.1. One observation per variant, same verified291566236-byte source archive and2031350672-byte ELF:

Variant Compression + split Separate debug bytes
Current zlib 130.951s 420562136
Uncompressed 9.115s 1751810960
Zstandard 10.666s 394021568

All allocated ELF sections and build IDs match. GDB resolves the same cef_version_info source line. All variants retain the same41344 unavailable DWO references already in the original, so this is not a claim of complete Chromium source-level debug coverage. The uncompressed CEF payload is rejected for its growth. Portable identities, numbers and GDB log hashes are committed.

Hosted artifact qualification now passed

ActualSDK elfutils0.195/GDB17.2 process the pinned CEF with matchingallocatedsections/buildID andsource lookup. FullFlatpak39754042722 passes existingvalidators (wholejob12m04 incloptionalexport, changedsource/depcachestate; not comparablewarmproof). Installedartifact39763463067 succeeds: app/DebugbuildIDs/GDBlookup, authenticatedunchangedWebSocketv5,4savedsources,12.033s361framesrecording,screen/cameramotion,continuous440Hztone,302greenbrowserframes,moduleinventory,cleanexit. Softwarebrowserrenderingexplicitlyselected onllvmpipe/noDRMrunner; priorhardwarefixturefailed. Physicaldevices/GPU andcompleteupstreamDWOcoveragearenotclaimed. Fivefailedruntimeattempts,zero cancellations,34.57runtime-jobminutes retained in#1771portableevidence.

Documentationcommit4327a1a22 records this qualification; sameprimaryreviewclean. This independent CEFprocessingunit is qualified fornormalPRCI/mergequeue. Whole#1760 remainsopen:≥50% warmwholejobtarget,3comparablesamplesbefore/after,coldtrial,publication/globalretention andactualwarmcacheconsumerremainoutstanding. Newcombinedconfiguration currentmasterfullqualification39764954474 isactive. NoCtests/publicheaders/WebSocketpluginsourceschanged; noRustwrapper/fingerprintbypass.

@zackees
zackees marked this pull request as ready for review October 22, 2026 10:54
@zackees
zackees added this pull request to the merge queue Oct 22, 2026
Merged via the queue into master with commit 7dc1588 Oct 22, 2026
25 checks passed
@zackees
zackees deleted the infra/1760-flatpak-speed branch October 22, 2026 16:11
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