Skip to content

docs(api): list SpiralDBObserverNotSupportedError in the API reference (ITL-1583) - #614

Merged
eywalker merged 1 commit into
mainfrom
eywalker/itl-1583-main-is-red-the-api-reference-does-not
Nov 28, 2026
Merged

eywalker merged 1 commit into
mainfrom
eywalker/itl-1583-main-is-red-the-api-reference-does-not

Conversation

@eywalker

@eywalker eywalker commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Fixes ITL-1583

Add orcapod.errors.SpiralDBObserverNotSupportedError to the Errors page so the API reference covers the public exception raised at setup when a status or logging observer receives a SpiralDB store. The public export coverage test identified this as the only missing name. The content generator renders its existing docstring without Griffe warnings.

On main, the API coverage test failed with AssertionError: Add API reference entries or reasoned exclusions for: followed by orcapod.errors.SpiralDBObserverNotSupportedError. The latest Documentation site run failed in Install pnpm with npm error code ENETUNREACH when requesting https://registry.npmjs.org/pnpm, before reaching the site build. Main job log

The local content build passed. The full site build runs in CI because pnpm is unavailable locally.

Summary by CodeRabbit

  • Documentation
    • Added SpiralDBObserverNotSupportedError to the API reference for database and connector errors.

@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The API Errors page now lists orcapod.errors.SpiralDBObserverNotSupportedError. The PR also adds an issue record and a changelog entry describing the documentation update.

Changes: API error documentation

Layer / File(s) Summary
Document the public exception
docs/api/errors.md, docs/dev/design_issues/ITL-1583-API1583.md, changelog.d/ITL-1583.md
The Errors page lists SpiralDBObserverNotSupportedError among database and connector exceptions. The issue record and changelog describe the omission and its resolution.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other · Severity of issue fixed: Medium

Possibly related PRs

Merge Risk: Minimal · up to f88fa

This adds an existing public exception to the API Errors reference and records the change in the issue log and changelog. It does not alter runtime behavior. The remaining risk is minimal, because the documentation build has not yet completed in CI.

Architecture risk: Low · up to f88fa

The change affects 2 source areas.

Changed areas: docs, changelog.d

Review details

Systems and components

  • observed — docs (api) was modified; 2 changed files map to changed impact.
  • observed — 1 changed file mapped to changelog.d.

Before / after behavior

  • observed — Modified behavior in changelog.d/ITL-1583.md: Adds a “Fixed” changelog entry documenting the API reference listing orcapod.errors.SpiralDBObserverNotSupportedError (ITL-1583).
  • observed — Modified behavior in docs/api/errors.md: Added SpiralDBObserverNotSupportedError to the documented database and connector exceptions.
  • observed — Modified behavior in docs/dev/design_issues/ITL-1583-API1583.md: Adds documentation describing ITL-1583, its medium severity and resolved status, the reported API-reference omission, and the stated fix of listing orcapod.errors.SpiralDBObserverNotSupportedError on the Errors page.
Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the change: the API reference now lists SpiralDBObserverNotSupportedError. The changeset adds that entry to docs/api/errors.md, a changelog note, and a design-issue record for ITL-1583…
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.
Full details: Title check

Explanation

The title names the change: the API reference now lists SpiralDBObserverNotSupportedError. The changeset adds that entry to docs/api/errors.md, a changelog note, and a design-issue record for ITL-1583. The 'docs(api)' prefix matches the docs-only nature of the change. The title is 81 characters, slightly long but within a reasonable range.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Usage-based review receipt

Note

This review was completed with usage-based billing: files reviewed beyond your plan's included limits are billed at $0.25/file. View usage-based billing.

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between f8c5105 and f88faaa.

Files selected for processing: 3

  • changelog.d/ITL-1583.md
  • docs/api/errors.md
  • docs/dev/design_issues/ITL-1583-API1583.md

Limit details: You’ve used the included review currently available. Your 96 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Recent review details

Context from checks skipped due to timeout: 2

  • GitHub Check: CodeRabbit
  • GitHub Check: Tests (3.13)
Additional context used

Code guidelines: 1

CLAUDE.md — auto-discovered
Path-based instructions: 6

Source excerpt: The API reference is generated from the source by `scripts/docs_site_api.py` (griffe).

CodeRabbit inference engine (CLAUDE.md)

Files:

  • docs/api/errors.md
Source excerpt: Never manipulate `sys.modules` directly (e.g.

CodeRabbit inference engine (CLAUDE.md)

Files:

  • changelog.d/ITL-1583.md
  • docs/api/errors.md
  • docs/dev/design_issues/ITL-1583-API1583.md
Source excerpt: An entry is the file `docs/dev/design_issues/-.md` (e.g.

CodeRabbit inference engine (CLAUDE.md)

Files:

  • docs/dev/design_issues/ITL-1583-API1583.md
Source excerpt: A pull request never edits `CHANGELOG.md` (developer, November 11, 2026; ITL-961).

CodeRabbit inference engine (CLAUDE.md)

Files:

  • changelog.d/ITL-1583.md
Source excerpt: Documents written during development are kept in the repository, under `docs/dev/` (developer, November 16, 2026; ITL-1169): Specs go in `docs/dev/specs/`, plans in `docs/dev/plans/`, and the scripts and evidence they cite i...

CodeRabbit inference engine (CLAUDE.md)

Files:

  • docs/dev/design_issues/ITL-1583-API1583.md
Source excerpt: `docs/` is the only source.

CodeRabbit inference engine (CLAUDE.md)

Files:

  • docs/api/errors.md
  • docs/dev/design_issues/ITL-1583-API1583.md
Learnings: 1

Common learnings

Learnt from: CR
Repo: metamorphic-labs/orcapod-python PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-11-28T02:10:25.753Z
Learning: Applies to docs/api/*.md : Source excerpt:
# Claude Code instructions for orcapod-python

## Documentation site

- The API reference is generated from the source by `scripts/docs_site_api.py` (griffe).
  `docs/api/*.md` are its input: an introduction and one `::: <object path>` line per object;
  never write a signature or a docstring there. A docstring griffe warns about (an `Args:`
  entry the signature does not have) fails the build.

@codecov

codecov Bot commented Nov 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 219 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@eywalker
eywalker merged commit d26d861 into main Nov 28, 2026
16 checks passed
@eywalker
eywalker deleted the eywalker/itl-1583-main-is-red-the-api-reference-does-not branch November 28, 2026 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant