Repository navigation
fix(integrations): final review pass for the Atlassian and AWS sweeps - #9961
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
[Medium impact] The PR appears safe to merge; no new actionable issues remain. SummaryThis PR hardens inputs across the Atlassian and AWS tools and shares repeated helpers and schemas.
No new actionable issues were found. Tests were inspected but not run. Reviews (3) · Last reviewed commit: "fix(textract): use isRecordLike for the ..." · Reviewed by Greptile |
There was a problem hiding this comment.
All reported issues were addressed across 40 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
ccaebfb to
5289f4a
Compare
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 43 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
Make Jira search heavy fields (ADF description, custom fields, attachments, links, subtasks) opt-in through fields, move transformIssueData into jira/utils, keep AQL order by splitting at parenthesis depth 0, let the object-types /flat fallback never add a failure, send next=true with Confluence search cursors, and harden Trello ID lists, Jira parent, and Confluence comment ids for agent calls.
Share the optional-boolean parse through @sim/utils/coerce toBooleanFromInput, the IAM tags schema through iam-shared, and the SES message-tag schema through ses-shared. Accept SES email tags as a JSON string from agent calls, name the field on Secrets Manager JSON errors, accept JSON-array IAM tag strings and skip null tag values, and reject a JSON-object Textract query string.
Treat only a leading [ as a JSON Textract query list, reject JSON-array IAM tag strings and SES email-tag strings that do not parse to valid entries, name Secrets Manager tag JSON errors, restore the JSM list TSDoc placement, and shrink the explicit-any baseline after the Jira mapper move.
… parse, keep null IAM tag values as empty
5289f4a to
fb29195
Compare
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
Summary
Final-review follow-up for the Atlassian (#9950) and AWS (#9952) validation sweeps. An independent review of both merged diffs found no blockers. This PR applies the should-fix and nit findings. Everything changed here was added by those two PRs and isn't on
mainyet, so production behaviour is unaffected.Atlassian
descriptionAdf,customFields,attachments,issuelinks,subtasks) are now opt-in throughfields, so default searches don't carry everycustomfield_*into agent prompts.renderedDescriptionneeds therenderedFieldsexpansion. Every field that exists onmainkeeps its exact value.transformIssueDataintotools/jira/utils.tswith a typed raw payload (noany), shared by retrieve and search.order byis split only at parenthesis depth 0 (still honouring quotes and escapes), and a leadingorder bywith a scope filter produces valid AQL./flatfallback itself fails, the result is the original empty list, so the fallback can't add a new failure mode. Aborts still propagate.next=truewith a cursor, as Confluence's own_links.nextdoes.parentis treated as unset.parentCommentIdno longer throws.renderedValue.AWS
toBooleanFromInputin@sim/utils/coercereplaces the two local copies in Secrets Manager and CloudFormation. The duplicates ingoogle_docs/blocks/utilsbelong to the Workspace sweep and migrate separately.iam-shared, and the SES message-tag schema intoses-shared.emailTagsas a JSON string from agent calls.Type of Change
Testing
next=truepaging.transformIssueDatamove was checked for output equivalence on sample payloads.vitestacross the Atlassian and AWS tools, internal ops, block tests,tools/google_docsandpackages/utils: 443 + 120 passed.check-block-registry.ts origin/staging,check:tool-metadata,check:docs,check:integration-catalog,check:unused-exports,check:utils,check:test-patternsand biome pass. Type-check and the remaining audits run in CI.Checklist
test-auditauthoring gate)