Skip to content

Commit 766c141

Browse files
authored
chore: regenerate for the audit pending status (#224)
## Summary Regenerated against the RoboSystems API at v1.14.8. `MutationAuditEntryStatus` gains `PENDING`, the value async REST operations record at dispatch (RoboFinSystems/robosystems#1586). Without it, parsing `GET /v1/graphs/{graph_id}/audit/mutations` fails on any page that contains a pending row once v1.14.8 is live. ## Changes - `models/mutation_audit_entry_status.py`: adds `PENDING = "pending"`. - `models/mutation_audit_entry.py`: updated field description. - `graphql/schema.graphql`: snapshot refreshed; picks up `MappingCoverage.manualConfidence` (RoboFinSystems/robosystems#1576). `just generate-graphql` produces no model change, since no operation selects the field. ## Compatibility Generated tier, additive enum value: a patch or minor. Nothing in the stable tier changes. ## Testing - `just generate-sdk` against a local stack rebuilt at v1.14.8, then `just generate-graphql` (clean). - `just test-all` passed (595 passed, 17 skipped; lint and typecheck clean). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
2 parents 0e2881c + 474d058 commit 766c141

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎robosystems_client/graphql/schema.graphql‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1927,6 +1927,7 @@ type MappingCoverage {
19271927
highConfidence: Int!
19281928
mediumConfidence: Int!
19291929
lowConfidence: Int!
1930+
manualConfidence: Int!
19301931
unreachableCount: Int!
19311932
unreachable: [UnreachableMappingType!]!
19321933
}

‎robosystems_client/models/mutation_audit_entry.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ class MutationAuditEntry:
2424
surface (MutationAuditEntrySurface): Where the call came from: 'api' for a REST operation, 'mcp' for an external
2525
MCP client, 'operator' for an in-app AI operator run such as the console's /do
2626
operation_name (str): The operation or MCP tool that ran
27-
status (MutationAuditEntryStatus): Whether the call succeeded; a failed call changed nothing it reports
27+
status (MutationAuditEntryStatus): Whether the call succeeded; a failed call changed nothing it reports.
28+
'pending' means the call started background work; follow its operation_id for the outcome
2829
duration_ms (float): How long the call took
2930
error_code (None | str | Unset): Why a failed call failed
3031
user_id (None | str | Unset): The user the call ran as

‎robosystems_client/models/mutation_audit_entry_status.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
class MutationAuditEntryStatus(str, Enum):
55
COMPLETED = "completed"
66
FAILED = "failed"
7+
PENDING = "pending"
78

89
def __str__(self) -> str:
910
return str(self.value)

0 commit comments

Comments
 (0)