Repository navigation
docs(rfc): evolve the artifact processing supervisor - #1515
Merged
Teingi merged 2 commits intoSep 9, 2026
Merged
Conversation
frf12
force-pushed
the
codex/artifact-processing-supervisor-rfc
branch
from
September 9, 2026 09:33
e2e4248 to
9af6adf
Compare
frf12
force-pushed
the
codex/artifact-processing-supervisor-rfc
branch
from
September 9, 2026 09:39
9af6adf to
5abfd83
Compare
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.
Which issue or RFC does this PR close?
Amends Topic Memory RFC 1417 and builds on the implementation delivered by #1490.
Builds on #1512 (merged), which assigned Topic Memory its RFC number and delivered the Topic Memory follow-up fixes.
Rationale for this change
Topic Memory introduced
ArtifactProcessingSupervisoras reusable background-processing infrastructure. This RFC evolves that design for multiple Artifact Families while keeping the Supervisor responsible only for scheduling. It preserves the existing binding identity, single-flight, Worker, retry, Lease, and fencing foundations, then adds per-artifact scheduling and capacity isolation.What changes are included in this PR?
globalas one Supervisor with one Lease anddedicatedas one Supervisor and one Lease per registered Artifact Family.(binding_name, scope_id)as the stable dispatch, persistence, and single-flight identity.Are there any user-facing changes?
This is a design-only RFC. It does not change current runtime behavior, public APIs, or persisted formats. The RFC proposes future configuration and persistence changes that require separate implementation and migration work.
How was this change tested?
UV_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple UV_HTTP_TIMEOUT=120 make docs-testAI usage statement
OpenAI Codex using GPT-6 was used to inspect the existing RFC and implementation, compare preserved and revised contracts, draft the English and Chinese documents, and run repository validation. The design decisions were reviewed interactively with the author.