feat: enhance executor and resolver detail logging in CLI#869
feat: enhance executor and resolver detail logging in CLI#869r253hmdryou wants to merge 4 commits intofeature/changeset-groupingfrom
Conversation
- Added detailed change lines for created and updated executors and resolvers in the CLI output. - Introduced new functions to format action detail lines for better readability. - Updated the plan functions for executors, resolvers, and workflows to include detailed change information. - Enhanced test cases to verify the inclusion of detailed schema information for TailorDB types. - Improved the display of function registry changes with detailed lines for added and changed scripts.
|
commit: |
📖 Docs Consistency Check✅ No inconsistencies found between documentation and implementation. Checked areas:
Summary: The PR introduces a
The implementation correctly passes the flag through all plan functions and consistently applies it when printing change sets. |
…il-plan # Conflicts: # packages/sdk/src/cli/commands/apply/auth.ts # packages/sdk/src/cli/commands/apply/grouped-display.ts
default
detail
Executors: + review-completed (executor, functionRegistry) + description: "Emit review completion logs" + trigger: schedule + cron: "0 12 * * *" + operation: function + script -> (added) ~ user-created (executor, functionRegistry) ~ description: "Triggered when a new user is created" -> "Triggered when a new user is created by review flow" ~ script -> (changed) Workflows: ~ order-processing (workflow, functionRegistry) ~ retryPolicy.maxBackoff.seconds: "30" -> "99" ~ retryPolicy.maxRetries: 3 -> 9 ~ script -> (changed) TailorDB resources: + Project (type, gqlPermission) + fields: createdAt, key, name, updatedAt + hooks: createdAt.create, key.create, updatedAt.update + permissions: create, delete, read, update ~ Customer (type) ~ hooks.fullAddress.create -> (changed) ~ Supplier (type) ~ fields.email.required: false -> true - fields.fax -> (removed) Pipeline resolvers: + reviewStatus (resolver, functionRegistry) + description: "Return review status" + operation: query + output: status, reviewer + pipelines: body + script -> (added) ~ my-resolver.triggerOrderProcessing (functionRegistry) ~ script -> (changed) Auth machineUsers: + review-machine-user + attributes.role: "STAFF" Auth hooks: ~ my-auth/before-login (authHook, functionRegistry) ~ invoker.machineUserName: "manager-machine-user" -> "review-machine-user" ~ handler -> (changed) Auth oauth2Clients: + review + description: "Review OAuth2 client" + grantTypes: ["authorization_code"] + redirectUris[0]: "https://review.example.com/callback" ~ sample + redirectUris[2]: "https://new.example.com/callback" ~ requireDpop: false -> true Plan: 5 to create, 7 to update, 0 to delete, 33 unchanged