Skip to content

fix(editor): resolve uploaded glTF resource paths - #5200

Merged
diegoteran merged 16 commits into
google:masterfrom
minwookshin:fix-editor-resource-paths-4958
Nov 13, 2026
Merged

diegoteran merged 16 commits into
google:masterfrom
minwookshin:fix-editor-resource-paths-4958

Conversation

@minwookshin

@minwookshin minwookshin commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Reference Issue

Fixes #4958

Resolve uploaded glTF resources relative to the model directory, decoding URI paths without losing subdirectories or changing external/data/blob URLs. The preview and validator now use the same resolution logic, with coverage for UTF-8 paths, parent directories, reserved characters and duplicate texture filenames.

The October 26 CI rerun stopped before build/tests because ubuntu-latest selected Ubuntu 26.04, which the locked Playwright version does not support. Pin the unit-test job to Ubuntu 24.04 so the existing suite can run again. The required workflow scan also needs immutable Action references and explicit permissions, so the same Action versions are pinned to their verified commits and the job has read-only contents access. Test commands and package versions are unchanged.

Validation (October 27): the full workspace build passes, and all 112 editor tests pass in each of Chromium and WebKit on macOS. The workflow parses correctly, and Playwright resolves the Ubuntu 24.04 browser distributions in an installation dry-run. The Linux CI run still needs to confirm the runner fix and the earlier auto-rotate assertion. Developed with OpenAI Codex assistance.

@minwookshin

Copy link
Copy Markdown
Contributor Author

The editor's 112 tests passed in Chromium and WebKit, and render comparison passed. The remaining CI failure is the existing auto-rotate timing assertion in staging-spec.ts:146.

@diegoteran

Copy link
Copy Markdown
Collaborator

Thanks for the contributions

The test should pass, can you trigger another run of the tests please?

Arthur031221 and others added 3 commits October 8, 2026 23:29
Adopt the wall-export options from the follow-up to google#4030 and test
the USDZ metadata, model transforms and viewer rotation.

Co-authored-by: Vincent Fretin <112249+vincentfretin@users.noreply.github.com>
@minwookshin

Copy link
Copy Markdown
Contributor Author

I checked the failed run, which is still on its first attempt. My account does not have write access to this repository, so I cannot rerun the workflow. Could a maintainer rerun the failed full_test_run job? The recorded failure is the auto-rotate assertion at staging-spec.ts:146.

@minwookshin

minwookshin commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor Author

The rerun failed installing Playwright on Ubuntu 26.04. CI now uses Ubuntu 24.04, pinned Actions and read-only permissions required by the workflow scan. The full build and 112 editor tests per browser pass locally in Chromium/WebKit; fresh CI is running.

@minwookshin

Copy link
Copy Markdown
Contributor Author

The runner fix worked, but Ubuntu package downloads took 54 minutes and the job hit its one-hour limit during tests. Fidelity tests passed. Could a maintainer rerun full_test_run on fd001f4?

diegoteran and others added 7 commits November 3, 2026 10:49
…le#5213)

* fix(ci): fix OSS Exit Gate registry auth and manifest namespace

* chore(ci): bump playwright to 1.64.1 for ubuntu-26.04 support
…google#5208)

The interaction prompt icon in every shadow root referenced a mask with url(#B), which makes Chromium keep the shadow tree of a removed element alive.

Signed-off-by: Arthur031221 <124417490+Arthur031221@users.noreply.github.com>
diegoteran
diegoteran previously approved these changes Nov 13, 2026

@diegoteran diegoteran left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@minwookshin
minwookshin dismissed diegoteran’s stale review November 13, 2026 22:19

The merge-base changed after approval.

@diegoteran
diegoteran merged commit a60895d into google:master Nov 13, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Editor: .gltf assets with utf8 characters in filenames can't be loaded

4 participants