Skip to content

sd-003: The Algolia docs index excludes the auto-generated RPC-method and #2566

Closed

Description

@kalepail

Finding

The Algolia docs index excludes the auto-generated RPC-method and
Horizon-endpoint API-reference pages, so authoritative per-method limits
are undiscoverable through search. The live
/docs/data/apis/rpc/api-reference/methods/getTransactions page states
the limit "can range from 1 to 200 — an upper limit that is hardcoded in
Stellar-RPC for performance reasons... defaults to 50", but no search op
can reach it, and the indexed RPC Structure→Pagination page documents
only getEvents limits (1–10000, default 100). The consequence is worse
than a zero-hit: consumers extrapolate from the getEvents numbers or
from Horizon's (1–200, default 10) and get getTransactions wrong. This
round it produced a two-sided failure — the QA agent claimed "default
100" (getEvents-only) and even the eval golden itself encoded the false
belief that a 200 limit "is Horizon's, not RPC's".

Evidence

Live 2026-07-03: get_doc_page_sections({path: "/docs/data/apis/rpc/api-reference/methods/getTransactions"}) →
soft-empty ("auto-generated API-reference pages are not indexed" — the
op description admits the exclusion); search_docs /
search_rpc_horizon_data_docs for the limit facts → no relevant hits;
WebFetch of the live method page → the 1–200/default-50 text quoted

golden to the live method-page numbers, re-judging the saved agent answer
flips it partial → wrong — the agent's denial of an RPC-side 200 cap is a
genuine consumer-facing wrong answer produced by this indexing gap, not a
grading nuance. Both the QA agent and the original golden author
independently derived the same false belief from the indexed pages.

Additional recorded evidence:

Recommendation

Two options, cheapest first: (1) add per-method limits/defaults to the
indexed RPC Structure→Pagination page (a table of method → min/max/
default fixes discoverability without touching the crawler); (2) include
the auto-generated method/endpoint reference pages in the Algolia
crawl — they are the only authoritative source for per-method numbers.
Consumer-side, this gateway cannot work around the gap without shipping
hardcoded limits that would rot.

Source Record

This was found by the downstream Raven eval/improvements loop and recorded as sd-003 (stellar-docs, discovered 2026-07-03). Public record: https://github.com/kalepail/stellar-raven/blob/main/improvements/stellar-docs/sd-003-rpc-method-reference-pages-unindexed.md

Activity

  1. added
    raven
    on Jul 14, 2026
  2. kalepail commented on Jul 15, 2026

    @kalepail
    ContributorAuthor

    Scope/disposition note after independent re-verification: PR #2572 is a useful partial mitigation, but generated RPC method pages remain outside the Algolia crawl and this issue is currently the only durable tracker for crawler inclusion. Please keep this open until the Algolia-dashboard owner has a replacement task, then close with both #2572 and that tracker linked.

    Audit evidence: https://gist.githubusercontent.com/ElliotFriend/3b3641b929b4408a834b85bcb4e75449/raw/a90e6b453ee3505ef2525b4428eaa75752e3ae08/raven-audit-rebuttal.md

  3. ElliotFriend commented on Jul 21, 2026

    @ElliotFriend
    Contributor

    Status: the practical half of this is already resolved. The "cheapest fix" the issue proposes shipped in #2572 — the pagination page now carries the full per-method limits table and is the top Algolia hit for these queries.

    The remaining half — actually including the auto-generated RPC-method pages in the crawl — isn't configurable from this repo; there's no crawler config checked in, it lives in the Algolia Crawler dashboard.

    Plan: file the crawler-inclusion task with the dashboard owner, then close this citing #2572 + that task so we don't lose the record.

  4. kalepail commented on Jul 27, 2026

    @kalepail
    ContributorAuthor

    That matches what we see: #2572 made the pagination page the top hit for these queries, and the auto-generated RPC-method pages remain outside the crawl.

    On the crawler-inclusion task — we hold operator-level Algolia crawler access for this index, so if it's useful we can hand the dashboard owner concrete inputs: the current crawl scope for the generated method paths, and before/after numbers from our read-only A/B harness. We'd rather supply evidence than touch a shared corpus unilaterally, since it also serves the live DocSearch frontend.

    Please link the dashboard task here once it's filed so this doesn't lose its trail, and feel free to close this issue citing #2572 plus that task at the same time.

  5. kalepail commented on Nov 2, 2026

    @kalepail
    ContributorAuthor

    Raven rechecked sd-003 on 2026-11-02, after the move to Mintlify (#2941). The original trigger no longer reproduces.

    Live recheck (Mintlify search and page API, 2026-11-02):

    • A search for getTransactions API reference limit ranks /docs/data/apis/rpc/api-reference/methods/getTransactions first.
    • That page states "The limit for getTransactions can range from 1 to 200" and "defaults to 50".
    • The generated getEvents, getLedgers, and simulateTransaction method pages are also in the search index.
    • The per-method limits table that Document RPC pagination limits #2572 added to the Pagination page survived the migration.

    The crawler-inclusion request in this issue is now moot: the Algolia crawler is retired, and the Mintlify index includes the generated method pages. Source: 700ed32 (#2941).

    This issue can be closed with #2572 and #2941 as the resolving changes. Raven is retiring its sd-003 record. Immutable source snapshot: https://github.com/stellar-experimental/stellar-raven/blob/ac0663fe5b04cf81cd0f5cc972b66fdee071adfb/improvements/stellar-docs/sd-003-rpc-method-reference-pages-unindexed.md

  6. stellar-doxie commented on Nov 2, 2026

    @stellar-doxie
    Contributor

    🤖 Automated message from the Stellar Triage Bot.

    Working this because it carries the raven label. I am checking the finding against the live docs now.

  7. stellar-doxie commented on Nov 2, 2026

    @stellar-doxie
    Contributor

    🤖 Automated message from the Stellar Triage Bot.

    Working this because it carries the raven label.

    This issue looks closable. I checked the live site and main today:

    I added bot:close-candidate. A maintainer can confirm and close this with #2572 and #2941 as the resolving changes.

  8. added
    bot:close-candidate
    on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bot:close-candidateraven

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions