-
Notifications
You must be signed in to change notification settings - Fork 1.1k
docs(devlog): move the closed Spark short-quota unit to _fin #4132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+27
−0
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
File renamed without changes.
27 changes: 27 additions & 0 deletions
27
devlog/_fin/260909_spark_short_quota_attribution/090_closeout.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # closeout (recorded 2026-09-09) | ||
|
|
||
| Landed via #4128 MERGED (`b2142586a`, merge commit `91db6c2f2`, both ancestors of origin/dev); | ||
| issue #4122 CLOSED. Remote CI on the exact head `b2142586a` was green: 28 successful check runs, | ||
| 0 failures, 2 skipped by their own matrix gates (`macos control`, `windows ${{ matrix.shard }}/6`). | ||
|
|
||
| Delivered exactly the `000_plan.md` file-change map: the optional routed-model hint on | ||
| `parseUpstreamQuotaHeaders` / `applyAccountQuotaFromUpstreamHeaders` | ||
| (src/codex/quota.ts:411-538), all four `src/server/responses/core.ts` write paths plus the six | ||
| `codexWsQuotaObserver` factory call sites, the compact path | ||
| (src/server/responses/compact.ts:1018), and the four regression rows in | ||
| tests/codex-integration/codex-quota-parser-parity.test.ts. | ||
| src/codex/quota-auto-refresh.ts stayed unchanged as planned. | ||
|
|
||
| Carried forward, not regressions: | ||
|
|
||
| - Already-polluted account entries keep the stale account-level `short*` tuple until the six-hour | ||
| hydration TTL expires them on disk, or until a restart or a genuine non-Spark short write | ||
| replaces them in memory. Declared out of scope in the `000_plan.md` non-goals and unchanged by | ||
| the merge. | ||
| - A Spark-saturated account is no longer preemptively avoided for Spark-routed requests, because | ||
| routing evidence reads only the account-level slot (src/routing/quota.ts:40-61). Bounded to | ||
| Spark requests and absorbed by the existing 429 pool rotation. Spark-aware exhaustion sourced | ||
| from `customWindows` remains a follow-up. | ||
|
|
||
| The unit was committed into the product PR rather than kept separate; moving it here is that | ||
| correction, made after the merge closed the unit. | ||
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Record the required source-of-truth synchronization result.
000_plan.mdrequires checkingstructure/08_openai-provider-tiers.mdand recording either a patch or “checked, no contradiction.” This closeout lists the delivered implementation files but does not record that result. Add the check result here, or include the source-of-truth file if the check required a change.🤖 Prompt for AI Agents