Skip to content

feat(ledger): list_information_block_summaries, the block list as identities and counts - #257

Merged
jfrench9 merged 1 commit into
mainfrom
feature/information-block-summaries
Oct 16, 2026
Merged

jfrench9 merged 1 commit into
mainfrom
feature/information-block-summaries

Conversation

@jfrench9

Copy link
Copy Markdown
Member

Summary

Adds list_information_block_summaries to the ledger facade: the rows, filters, order and page of list_information_blocks as identities and counts (fact_count, connection_count), read by the server in one query instead of an envelope build per block — the call that fills a picker. Its TypeScript twin is robosystems-typescript-client PR for the same field; the two move together.

Waits on the server: the informationBlockSummaries field lands with robosystems PR #1834, unreleased at the time of writing (prod is v1.18.1). Merge after that release is in production.

Changes

  • robosystems_client/graphql/operations/ledger/ListInformationBlockSummaries.graphql — the operation.
  • robosystems_client/graphql/schema.graphql — refreshed from the local stack on the server branch (just refresh-schema). Besides the new field and type, the snapshot picks up periodRole on the ledger statement rows from robosystems #1832, already on main.
  • robosystems_client/graphql/generated/* — just generate-graphql: the typed models and the operation string.
  • robosystems_client/clients/ledger_client.py — list_information_block_summaries(graph_id, *, block_type, category, limit, offset, scenario_id, entity_id).
  • Tests: the facade's parsing and variables (test_ledger_client.py), the wire shape (test_facade_wire_shapes.py); test_graphql_queries.py validates the new document against the snapshot by discovery.

Breaking Changes

None — additive to the stable tier (a new facade method). Client minor.

Testing

  • just test-all — 691 passed, 17 skipped; format, lint and typecheck clean.

Certification

  • I have the right to submit this work under the Apache 2.0 license, and do so. Where any part of it is owned by my employer, I have their permission.

🤖 Generated with Claude Code

…ntities and counts

The rows, filters, order and page of list_information_blocks, read by
the server in one query instead of an envelope build per block. The call
that fills a picker: fact_count > 0 marks a block whose envelope carries
facts. The schema snapshot also takes periodRole from robosystems #1832.
Waits on the robosystems release carrying #1834.
@jfrench9
jfrench9 merged commit bf9aad1 into main Oct 16, 2026
6 checks passed
@jfrench9
jfrench9 deleted the feature/information-block-summaries branch October 16, 2026 04:02
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