You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up to #3800 (Sprites runner pool). These are rare Redis-loss edge cases from the maintainer review at b6a54cf, moved out of that PR so it could converge.
The create fence is skipped on "first install" after a flush. When SET NX on :deployment succeeds and the provider listing shows no prefixed Sprite, size=0 is published. But a create from another worker that is still in flight isn't listed yet, so the deployment can go over PROPR_SPRITES_MAX (and the Free plan's 3). Keep the 171 s create fence whenever the marker was just re-created and the deployment could already have workers (for example, a digest marker derived from PROPR_INSTANCE_ID).
The marker is restored only on snapshot. After a flush, running workers write :deployment back only in beginSnapshot. Before then, a worker that has neither a marker file nor PROPR_INSTANCE_ID can install a different random marker. Running workers then fail with "Conflicting Sprite marker", and their Sprites turn into invisible orphans. Restore the marker on every reserve or heartbeat (a cheap SET NX with the in-memory value), and refuse to mint a random marker while prefixed Sprites from an unknown marker exist. Or require PROPR_INSTANCE_ID for multi-worker Sprites deployments.
Acceptance: unit tests for both sequences, with a FLUSHALL in the middle of the create, plus a live check with two workers and a scratch Redis.
Activity
propr-dev commentedon Nov 29, 2026
🤖 AI processing has started for this issue using codex agent with gpt-6.2-sol model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
codexgpt-6.2-sol3803/gpt-6.2-sol-sprites-pool-redis-flush--20261129-0332-hjf3758-epic-runtime-abstraction-sc0issue-3803-20261129-0332-gpt-6.2-sol-hjf🔍 Track Task Execution
feat: keep Sprites create fence and markers across Redis flushes
integry commentedon Dec 1, 2026
Done in #3886, which merged into the runtime epic; the epic merged into
mainwith #3774 and ships in 0.9.4.