Skip to content

Refresh architecture docs and generate a reproducible API reference - #2

Merged
Eoic merged 2 commits into
masterfrom
chore/repository-cleanup
Oct 3, 2026
Merged

Eoic merged 2 commits into
masterfrom
chore/repository-cleanup

Conversation

@Eoic

@Eoic Eoic commented Oct 3, 2026

Copy link
Copy Markdown
Member

Replace the manually maintained API YAML with deterministic OpenAPI JSON generated from the server revision pinned in CI. The old Sphinx OpenAPI extension recurses indefinitely on the current recursive schemas; use a version-pinned Swagger UI reference with tag filtering, plus a direct JSON download. Request execution is disabled; CDN access is needed for the interactive viewer.

Document the actual FastAPI/PostgreSQL/SQLite/PowerSync stack and distinguish product requirements from released functionality. Preserve the requirements and entity design documents. Commit the uv lockfile, use locked dependencies for preview/deployment, add API freshness checks in PR CI, and make Sphinx warnings fail the build.

Validation: locked dependency installation, a clean Sphinx HTML build with warnings treated as errors, deterministic server export and --check. Browser inspection confirms all 137 operations are indexed and tag navigation works. The pinned Swagger UI version virtualizes its rendered operation list.

The server generator comes from server #7; merge that PR first. No task-plan document is added.

Copilot AI balanced review requested due to automatic review settings October 3, 2026 21:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-03T21:31:59.343296Z a2d3fee PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a2d3fee4b8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


- name: Build site
run: sphinx-build -b html . _build/html
run: uv run --locked sphinx-build -W --keep-going -b html . _build/html

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Install Graphviz before the warning-fatal deploy build

On the ubuntu-latest Pages runner, this job installs only Python dependencies even though requirements/index.rst contains Graphviz-backed needflow diagrams and conf.py selects the Graphviz engine. The checks workflow explicitly installs Graphviz at .github/workflows/ci.yml:26-27, but the deploy workflow does not, and Graphviz is absent from the runner's installed software list. Consequently, rendering emits a missing-dot warning, and the newly added -W makes sphinx-build exit with status 1 on any warning, as specified by the Sphinx CLI documentation, preventing Pages deployment.

Useful? React with 👍 / 👎.

@Eoic
Eoic merged commit 45b3896 into master Oct 3, 2026
1 check passed
@Eoic
Eoic deleted the chore/repository-cleanup branch October 3, 2026 21:39
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.

2 participants