Repository navigation
fix(ppt): stage published runtime and validate Angular consumers - #362
Merged
Merged
Conversation
Signed-off-by: 小爬的老粉丝 <727842003@qq.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Related issue
Related to #329. Covers the Angular fixture update proposed in #328; disposition of that PR follows actual landing of this replacement.
Change classification
Verification
pnpm install --frozen-lockfilepnpm buildpnpm type-checkpnpm testpnpm verify:github-governancenode --test packages/components/web-full/test/asset-manifest.test.mjspnpm exec vitest run test/copied-assets.spec.ts test/presentation-renderer.spec.ts test/presentation-lifecycle.spec.ts test/pptx-generated-style-regression.spec.ts test/pptx-worker-resolution.spec.tsnode .github/scripts/verify-ppt-distribution.mjsnode apps/component-demo/scripts/verify-packed-issue-closure.mjspnpm docs:buildEach positive Angular case rendered all 20 slides, started one real Worker and closed it after application destruction. Both missing-manifest cases produced handled diagnostics without a guessed Worker request. Angular full/production audits are zero; the existing Webpack development cohort reports 32 affected entries and 18 distinct advisories, with production scope zero.
Sample / fixture evidence
apps/viewer-demo/public/example/office-demo.ppt: normal published PPT 0.3.6 cold preview, 25 pages.apps/viewer-demo/public/example/ppt.pptx: Angular fixture copies this public sample into the fresh consumer and checks 20 slides.packages/components/web-full/test/asset-manifest.test.mjs: bounded synthetic assets test stale copies, native byte tampering and incompatible installed versions.Visual evidence
N/A: this maintenance change corrects package ownership and build asset selection and extends the consumer/lifecycle verification matrix. It adds no UI styling or layout changes; the real browser tests assert existing PPT/PPTX pages and Worker behavior.
Risk and compatibility
Affected packages/formats: the PPT renderer, bundled WebFull, copy-assets and Demo output, plus the Angular regression fixture.
Compatibility or migration risk: these PPT builds now require the exact official 0.3.6 runtime. Builds fail on missing or corrupt installed runtime rather than publishing stale bootstrap bytes. Copied workers, WASM, font and license assets stay local and byte-identical; production Angular /ui/ deployments and development restart paths pass in both browsers. Angular 22.2.1 is confined to the regression consumer fixture.
Rollback: use an ordinary source revert and normal rebuild of matching dependency, lockfile and assets. This PR does not qualify the new native cohorts in chore(deps): qualify native runtimes and IFC selection completion #361 or freeze/publish the aggregate release; those retain their separate source, license, security and browser gates.
Checklist