Skip to content

fix(api): regenerate the operation catalog for the Qira'at endpoints - #95

Merged
basit3407 merged 1 commit into
mainfrom
fix/regenerate-operation-catalogs
Oct 16, 2026
Merged

basit3407 merged 1 commit into
mainfrom
fix/regenerate-operation-catalogs

Conversation

@basit3407

Copy link
Copy Markdown
Collaborator

Unblocks the Release job on main, which has been failing since #91 merged.

What failed

Generated operation catalogs are out of date:
- packages/api/src/generated/specs/operation-catalog.json
Run `pnpm --filter @quranjs/api generate:operation-catalogs` and commit the updated catalogs.

Run: https://github.com/quran/api-js/actions/runs/38842902794

Why the PR check did not catch it

#91 (sourceApp on QuranReflectPost) was branched before #93 (Qira'at content API v4 endpoints) landed on main. Its catalog was regenerated against the older base, so check:operation-catalogs passed on the PR, where it only compares against that branch. The drift only existed once both changes were on main, which is where the gate runs next.

Nothing is wrong with either change. The generated artifact simply had not been rebuilt against the union of the two.

This change

Regenerated with pnpm --filter @quranjs/api generate:operation-catalogs. Additive only, 55 lines, covering the Qira'at readers, transmitters and junctures operations. No existing entry is modified or removed.

Verified locally: node scripts/generate-operation-catalogs.mjs --check now reports Generated operation catalogs are up to date.

After this merges

The Release job should publish the version of @quranjs/api carrying sourceApp, which #91 added but never shipped.

🤖 Generated with Claude Code

The `Release` job on `main` failed its `check:operation-catalogs` gate after
#91 merged: the catalog was missing the Qira'at v4 operations added by #93.

#91 was branched before #93 landed, so its catalog was regenerated against
the older base and still passed on the PR, where the check only compares
against that branch. The drift only became visible once both were on `main`.

Regenerated with `pnpm --filter @quranjs/api generate:operation-catalogs`.
Additive only: 55 lines covering the Qira'at readers, transmitters and
junctures operations. No existing entry changed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 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-16T03:00:17.077480Z 744b182 PR opened
🔒 Security Review ✅ Completed 2026-10-16T03:00:55.812203Z 744b182 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.

@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
dist/index.min.js 7.85 KB (0%)
dist/index.min.mjs 7.85 KB (0%)
dist/server.min.js 15.46 KB (+0.71% 🔺)
dist/public.min.js 10.05 KB (0%)

@basit3407
basit3407 merged commit 771d423 into main Oct 16, 2026
6 checks passed
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