GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — merge: carry the refreshed #4357 usage-totals base into the client us… · lidge-jun/opencodex@c9b73a4

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • devlog/_plan/260912_accounts/screenshots
    • 010_usage-incomplete.png
    • 011_usage-custom-range.png
    • 020_codex-plan-exclusion-reset-first.png
  • structure/providers
    • openai-tiers.md
  • tests/cli
    • cli-status-json.test.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎devlog/_plan/260912_accounts/screenshots/010_usage-incomplete.png‎

Copy file name to clipboard
152 KB
  • Display the source diff
  • Display the rich diff
Loading
Collapse file

‎devlog/_plan/260912_accounts/screenshots/011_usage-custom-range.png‎

Copy file name to clipboard
170 KB
  • Display the source diff
  • Display the rich diff
Loading
Collapse file

‎devlog/_plan/260912_accounts/screenshots/020_codex-plan-exclusion-reset-first.png‎

Copy file name to clipboard
192 KB
  • Display the source diff
  • Display the rich diff
Loading
Collapse file

‎structure/providers/openai-tiers.md‎

Copy file name to clipboardExpand all lines: structure/providers/openai-tiers.md
-1Lines changed: 0 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ API-key and custom forward destinations preserve their metadata. See [Responses
441441
`src/codex/routing.ts` applies optional `codexPool.excludedPlans` to both candidate selection and existing active/affined accounts. An all-excluded pool returns no automatic candidate, including preview and configured-account fallback. Native main remains exempt and unknown plans remain eligible. Explicit account-qualified routes retain pause, credential and entitlement checks while bypassing only this automatic policy.
442442

443443
`src/codex/auth-api.ts` projects `selectionExcludedReason: "plan_excluded"` and `selectionExcludedPlan` from the routing config, even when a newer display-only WHAM plan could not be persisted. The dashboard and account CLI show the policy reason separately from credential health; renewal clears the derived fields. The automatic next-session action and badge are omitted for excluded rows.
444-
445444
## Paginated history writer boundary
446445
`src/codex/history-provider.ts` refuses external writes to paginated or migration-capable history. `src/codex/inject.ts` checks affected rows and manifest-owned restore targets before and after config/profile/journal changes, including successful journal and fallback restores, and compensates detected migration. Failed config restore stops later catalog/history work and rolls back a coordinated remove transition. See the [history writer contract](../codex-home.md#paginated-history-writer-boundary) for guarantees and concurrent-writer limits.
447446

Collapse file

‎tests/cli/cli-status-json.test.ts‎

Copy file name to clipboardExpand all lines: tests/cli/cli-status-json.test.ts
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,11 @@ describe("status reports stale process records end to end", () => {
984984
writeFileSync(join(home, "runtime-port.json"), JSON.stringify({ pid, port: recordedPort, hostname: "127.0.0.1" }), "utf8");
985985
const observed = JSON.parse(runStatusJson(home).stdout) as { proxy?: { staleProcessState?: unknown } };
986986
if (!await refusesConnection(recordedPort)) continue;
987+
// The TCP check can refuse while the HTTP /healthz probe aborts at 800ms
988+
// without an ECONNREFUSED code. That leaves staleProcessState false even
989+
// though the recorded port is still empty; retry instead of treating a
990+
// timed-out probe as "judged the occupied configured port".
991+
if (observed?.proxy?.staleProcessState !== true) continue;
987992
parsed = observed;
988993
}
989994

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.