Skip to content

Cache the test pet spritesheet encoding - #39028

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/26d75bb1bac448717ca63aeb82eb4e500c86fad8
Aug 17, 2026
Merged

Cache the test pet spritesheet encoding#39028
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/26d75bb1bac448717ca63aeb82eb4e500c86fad8

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 17, 2026

Copy link
Copy Markdown

Cache the test pet spritesheet encoding

Why

Pet tests reuse the same blank WebP spritesheet fixture, so encoding a new image
for every temporary path does unnecessary repeated work.

What changed

Encode the test spritesheet once with LazyLock, then write the cached WebP bytes
to each requested fixture path.

## Why

Pet tests reuse the same blank WebP spritesheet fixture, so encoding a new image
for every temporary path does unnecessary repeated work.

## What changed

Encode the test spritesheet once with `LazyLock`, then write the cached WebP bytes
to each requested fixture path.

GitOrigin-RevId: 26d75bb1bac448717ca63aeb82eb4e500c86fad8
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/26d75bb1bac448717ca63aeb82eb4e500c86fad8 branch from 7e70a6f to 10fbb61 Compare August 17, 2026 16:59
@copyberry
copyberry Bot merged commit 10fbb61 into main Aug 17, 2026
28 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/26d75bb1bac448717ca63aeb82eb4e500c86fad8 branch August 17, 2026 17:00
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 17, 2026
@jordpo
jordpo deployed to issue-triage August 17, 2026 17:04 — with GitHub Actions Active
@jordpo
jordpo deployed to issue-triage August 17, 2026 17:04 — with GitHub Actions Active
@jordpo
jordpo deployed to issue-triage August 17, 2026 17:04 — with GitHub Actions Active
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants