You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 035d372
Browse filesBrowse the repository at this point in the historyBrowse files
## Summary
Picks up robosystems#1608, which anchors each chart mapping to a
`mapping` taxonomy the chart owns and records the framework it maps
into. The regenerated models carry the new optional field, and
`LedgerClient` now returns each mapping's `framework`.
**Release order:** publish only after robosystems#1608 is deployed.
`list_mappings` and `list_structures` now select `framework`, and a
server without that field rejects the query.
## Changes
- **Regenerated REST models** (`robosystems_client/models/`):
`TaxonomyBlockStructureRequest` and `TaxonomyBlockStructure` gain an
optional `target_framework`, used only on `coa_mapping` structures;
omitted means the book framework. The regen picked up only this change,
with no other drift since the last generation.
- **GraphQL** (`robosystems_client/graphql/`):
- `schema.graphql` is refreshed; the `Structure` type gains `framework`.
- The `ListLedgerMappings` and `ListLedgerStructures` operations select
it.
- `generated/` is regenerated from those operations.
- **Facade** (`clients/ledger_client.py`):
- `list_mappings` and `list_structures` return `framework`.
- The `list_mappings` docstring says the book mapping is listed first.
- Both are sync-only facade methods; there is no async twin to cover.
- **Tests** (`tests/test_ledger_client.py`): the two fixtures carry
`framework`, and `list_mappings` asserts it.
## Compatibility
ADDITIVE: a client minor. The new REST model fields are optional, and
`framework` is a new, nullable field on two facade return types. No
export, signature or existing field changed.
**Deploy-order dependency:** the two facade queries request a field that
only exists once robosystems#1608 is deployed. Against an older server
they fail GraphQL validation, so this has to be published after that
deploy.
## Testing
- Regenerated with `just generate-sdk` against the local stack running
robosystems#1608's branch. The branch was current with `main`, and the
new fields were confirmed in the live `/openapi.json` and GraphQL schema
first.
- `just generate-graphql` was run after the operation edits.
- `just test-all`: 595 passed, 17 skipped; ruff and format clean;
basedpyright 0 errors.
- `just build-package` was not run (no packaging change).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
0 commit comments