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 — fix(cli): follow up on local diagnostic review findings by Wibias · Pull Request #1516 · lidge-jun/opencodex

Conversation

@Wibias

@Wibias Wibias commented Aug 12, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #1448 for CodeRabbit findings that landed immediately before the merge.

  • make fetchServiceMemory's fixed timeout contract explicit instead of advertising an ignored timeoutMs dependency option
  • correct the management API SOT so local-read capabilities are attributed to ocx doctor and OAuth health, not ocx status
  • add a compile-time regression guard for the doctor timeout dependency contract

Root cause

fetchServiceMemory accepted the broad LocalManagementReadDeps type even though it intentionally overwrote timeoutMs with its own 2-second doctor timeout. Separately, the SOT grouped ocx status with the capability-based health collectors even though status only uses direct /healthz probing.

Validation

  • focused type-contract regression added before the implementation change
  • final PR diff checked: 3 files only, with no unrelated SOT changes
  • React Doctor: passed
  • Cross-platform CI: queued for the current head

Follow-up to #1448.

Summary by CodeRabbit

  • Bug Fixes

    • Improved local management health-read request handling.
    • Prevented service memory checks from accepting unsupported timeout settings.
    • Improved health capability checks for diagnostics and OAuth health reporting.
  • Documentation

    • Clarified direct health-probe connections, scoped capabilities, failure reporting, and runtime requirements.
  • Tests

    • Added coverage for service memory request behavior and doctor health checks.
  • Chores

    • Updated continuous integration validation for doctor service-memory checks.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Wibias
test: pin doctor memory timeout contract
03de1fe
@coderabbitai

coderabbitai Bot commented Aug 12, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 7fa05f85-31ca-4041-9ac4-fa026b76ac3a

📥 Commits

Reviewing files that changed from the base of the PR and between 7b0fc59 and cd57463.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

📝 Walkthrough

Walkthrough

The change adds request-specific dependency typing for local management reads, verifies the fetchServiceMemory dependency contract, wires a dedicated TypeScript contract project into CI, and updates health-capability documentation.

Changes

Local management read dependencies

Layer / File(s) Summary
Dependency contract and validation
src/server/local-management-read-client.ts, tests/doctor-service-memory-contract.test.ts
LocalManagementReadRequestDeps extends LocalManagementReadDeps. fetchBoundLocalManagementRead accepts the extended type. A Bun contract test verifies that timeoutMs is absent from fetchServiceMemory dependency keys.
Contract test CI wiring
tests/tsconfig.doctor-service-memory-contract.json, .github/workflows/ci.yml
A dedicated TypeScript project includes the source tree and contract test. The CI gates job checks this project.
Health capability documentation
structure/05_gui-and-management-api.md
The documentation identifies OAuth health and ocx doctor as capability consumers and describes their read-only probes, HMAC capabilities, direct-listener behavior, and attestation requirements.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • lidge-jun/opencodex#1448: Introduces the local management read dependency seam extended by this change.
  • lidge-jun/opencodex#936: Covers related local-management attestation and health-check behavior.
  • lidge-jun/opencodex#707: Introduces related management authentication and model-probe infrastructure.

Suggested labels: chore

Suggested reviewers: ingwannu, lidge-jun

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the pull request as a CLI follow-up that addresses local diagnostic review findings.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch agent/follow-up-1448-coderabbit

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

✅ Deterministic PR hygiene checks passed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the bug Something isn't working label Aug 12, 2026
@Wibias
fix(cli): narrow doctor local read dependencies
07133ab
@Wibias
Wibias marked this pull request as ready for review August 12, 2026 06:03
@Wibias
Wibias requested review from Ingwannu and lidge-jun as code owners August 12, 2026 06:03
@Wibias
docs: correct local read capability consumers
8d7b8d4
coderabbitai[bot]
coderabbitai Bot reviewed Aug 12, 2026
View reviewed changes

@coderabbitai coderabbitai Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@tests/doctor-service-memory-contract.test.ts`:
- Around line 4-11: Include tests/doctor-service-memory-contract.test.ts in CI’s
TypeScript checking by adding a test-specific TypeScript configuration that
extends the existing config and includes this test, then update the CI tsc
--noEmit step to use it. Ensure the TimeoutOptionIsHidden compile-time guard is
evaluated while preserving the existing runtime test.
🪄 Autofix

❌ Autofix failed (check again to retry)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: d23a3fec-ac5d-4a8e-92fa-6d5efa0e9aac

📥 Commits

Reviewing files that changed from the base of the PR and between bd5bc56 and 07133ab.

📒 Files selected for processing (2)
  • src/server/local-management-read-client.ts
  • tests/doctor-service-memory-contract.test.ts

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread tests/doctor-service-memory-contract.test.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Aug 12, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

The agent generated fixes only for .github/workflows/ files, which cannot be committed due to permission restrictions. Please apply these changes manually.


⚠️ 1 file(s) could not be committed — the agent does not have permission to push to .github/workflows/. Please apply these changes manually:

.github/workflows/ci.yml — 3 changes:

Lines 37–42
       - "package.json"
       - "bun.lock"
       - "tsconfig.json"
+      - "tsconfig.test.json"
       - "README.md"
       - "LICENSE"
       - ".github/workflows/ci.yml"
Lines 185–190
               - 'package.json'
               - 'bun.lock'
               - 'tsconfig.json'
+              - 'tsconfig.test.json'
               - 'README.md'
               - 'LICENSE'
               - '.github/workflows/ci.yml'
Lines 405–411
           bun install --frozen-lockfile
 
       - name: Typecheck
-        run: bun x tsc --noEmit
+        run: bun x tsc --noEmit --project tsconfig.test.json
 
       - name: GUI tests
         run: cd gui && bun test tests
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Wibias added 3 commits August 12, 2026 08:16
@Wibias
test(ci): typecheck doctor service-memory contract
1c5de4a
@Wibias
test(ci): typecheck doctor service-memory contract
7b0fc59
@Wibias
test(ci): preserve workflow formatting
cd57463
@Wibias
Wibias merged commit fd59bd2 into dev Aug 12, 2026
25 of 26 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@Wibias
Wibias deleted the agent/follow-up-1448-coderabbit branch August 12, 2026 06:29
agentHits pushed a commit to agentHits/opencodex that referenced this pull request Sep 17, 2026
@Wibias
fix(cli): follow up on local diagnostic review findings (lidge-jun#1516)
91be890
* test: pin doctor memory timeout contract

* fix(cli): narrow doctor local read dependencies

* docs: correct local read capability consumers

* test(ci): typecheck doctor service-memory contract

* test(ci): typecheck doctor service-memory contract

* test(ci): preserve workflow formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@coderabbitai coderabbitai[bot] coderabbitai[bot] left review comments
@lidge-jun lidge-jun Awaiting requested review from lidge-jun lidge-jun is a code owner
@Ingwannu Ingwannu Awaiting requested review from Ingwannu Ingwannu is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

bug Something isn't working

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Wibias
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.
You are visitor 01402775 — 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.