René's URL Explorer Experiment


Title: fix(aws): round-trip typed DynamoDB cursors and allow percentile-only CloudWatch statistics by waleedlatif1 · Pull Request #9967 · simstudioai/sim · GitHub

Open Graph Title: fix(aws): round-trip typed DynamoDB cursors and allow percentile-only CloudWatch statistics by waleedlatif1 · Pull Request #9967 · simstudioai/sim

X Title: fix(aws): round-trip typed DynamoDB cursors and allow percentile-only CloudWatch statistics by waleedlatif1 · Pull Request #9967 · simstudioai/sim

Description: Summary Fixes from the v0.9.55 release review (#9963) that touch the AWS sweep (#9952/#9961). DynamoDB pagination cursors round-trip for every key type. lastEvaluatedKey encoded integers a JS number can't hold, and binary keys, as plain strings. Passed back as exclusiveStartKey, they went out as S, so fetching the next page failed the key type check. The cursor now encodes those values as { N } / { B } (key attributes are always scalar, so this can't collide with a real key value), and exclusiveStartKey decodes them back to NumberValue / binary. String and safe-number cursors are unchanged, and item output is byte-identical. Not a regression from main, where these tables failed on page 1 (BigInt serialization). CloudWatch get_metric_statistics accepts percentile-only requests. statistics is optional on the tool and in the contract, which now requires at least one of statistics / extendedStatistics. Direct and agent calls that pass only extendedStatistics no longer fail the required-param check. The block is unchanged: its Statistics field is still required and always populated, and ExtendedStatistics still takes precedence when both are set. Not changed: the review note on dynamodb-get (expression attribute names without a projection) doesn't apply. tools/dynamodb/get.ts only forwards names together with a projection, and the contract has no other caller. Type of Change Bug fix Testing New regression tests, each red on the pre-fix code: DynamoDB cursor round trip: large-number and binary keys come back as N/B, while strings and safe numbers are unchanged. CloudWatch percentile-only request: passes the required-param check and the contract. The "neither statistic" rejection, pinned to the refine and guard-revert checked. vitest across DynamoDB, CloudWatch, the AWS contracts, the stale-input test and the block tests: 45 passed. check-block-registry.ts origin/staging, check:tool-metadata, check:docs, check:integration-catalog, check:unused-exports, check:utils, check:test-patterns, check:explicit-any, check:api-validation:strict and biome pass. /simplify and /cleanup run on the diff. Type-check runs in CI. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing (new tests pass the test-audit authoring gate) No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Fixes from the v0.9.55 release review (#9963) that touch the AWS sweep (#9952/#9961). DynamoDB pagination cursors round-trip for every key type. lastEvaluatedKey encoded integers a JS num...

X Description: Summary Fixes from the v0.9.55 release review (#9963) that touch the AWS sweep (#9952/#9961). DynamoDB pagination cursors round-trip for every key type. lastEvaluatedKey encoded integers a JS num...

Opengraph URL: https://github.com/simstudioai/sim/pull/9967

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:46525f16-5990-0fb9-a141-3e2b79364213
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA38C:4113F:8219:B0A5:6AFB42F9
html-safe-nonce593e50d00bde1bac2ae9fa3c1372bbf9b1b8596141f932552ca7b5178dc0ceb7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzhDOjQxMTNGOjgyMTk6QjBBNTo2QUZCNDJGOSIsInZpc2l0b3JfaWQiOiIyMzg2MDc2MTg2OTYzNTU5MTYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac498ef5ad890876df0a58aa01851564ac9e940a91e58080c65ec3ab8d68e215a7
hovercard-subject-tagpull_request:5287825238
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/9967/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Fixes from the v0.9.55 release review (#9963) that touch the AWS sweep (#9952/#9961). DynamoDB pagination cursors round-trip for every key type. lastEvaluatedKey encoded integers a JS num...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea6c2f87cbcb6414452377b4967858ed6a66f1109
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/9967/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F9967%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F9967%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/9967/files
Reloadhttps://github.com/simstudioai/sim/pull/9967/files
Reloadhttps://github.com/simstudioai/sim/pull/9967/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests200 (200)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
fix/atlassian-aws-release-reviewhttps://github.com/simstudioai/sim/tree/fix/atlassian-aws-release-review
Conversation 13 https://github.com/simstudioai/sim/pull/9967
Commits 3 https://github.com/simstudioai/sim/pull/9967/commits
Checks 83 https://github.com/simstudioai/sim/pull/9967/checks
Files changed https://github.com/simstudioai/sim/pull/9967/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9967/files
fix(aws): round-trip typed DynamoDB cursors and allow percentile-only CloudWatch statistics https://github.com/simstudioai/sim/pull/9967/files#top
Show all changes 3 commits https://github.com/simstudioai/sim/pull/9967/files
00849b5 fix(aws): round-trip typed DynamoDB cursors and allow percentile-only… waleedlatif1 Nov 13, 2026 https://github.com/simstudioai/sim/pull/9967/commits/00849b50f3b254bfdd007e3a12ff6c2770065cb4
7e17913 fix(dynamodb): keep inexact decimal keys exact in pagination cursors waleedlatif1 Nov 13, 2026 https://github.com/simstudioai/sim/pull/9967/commits/7e179133d73dae43c08be0a8b84910815aaad4db
fc0c438 fix(dynamodb): treat a number as exact only when its string form roun… waleedlatif1 Nov 13, 2026 https://github.com/simstudioai/sim/pull/9967/commits/fc0c43837ea01c2a07974956949742e5b3d857d3
Clear filters https://github.com/simstudioai/sim/pull/9967/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9967/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9967/files
cloudwatch.mdx https://github.com/simstudioai/sim/pull/9967/files#diff-e5683e9aa51005d7e194a9d2ebcc009b5cefb9f8792e4b57d5e42adfecacf581
cloudwatch-get-metric-statistics.ts https://github.com/simstudioai/sim/pull/9967/files#diff-e6594af062eda3e32142cb3ee3cf2e8d7aa4540d3ada3e6a4da8a66b3274e721
client.test.ts https://github.com/simstudioai/sim/pull/9967/files#diff-77f8383c143bb3f82eb97caa352dd254f0e8e99acb3de4d53113625a9be353ff
client.ts https://github.com/simstudioai/sim/pull/9967/files#diff-979ab7fb154d19935c047d6f5a49c756d4e6f78dc12953674e22b42653e48e3f
get_metric_statistics.test.ts https://github.com/simstudioai/sim/pull/9967/files#diff-cff409acff95d3ecc936dd3a19d9bb9bd4626c1cf0697a89570829c0d6c88c0f
get_metric_statistics.ts https://github.com/simstudioai/sim/pull/9967/files#diff-b5c03b93477b7bbe702df29a217173af9840f2119aab320dcbb0d5d3cc36b913
types.ts https://github.com/simstudioai/sim/pull/9967/files#diff-61fe9214bce41ebb688b8ee74c05e31dae4cee1ee44b54314629bd94a4ae9557
tool-metadata.ts https://github.com/simstudioai/sim/pull/9967/files#diff-3a953213cad2b14799015043b75c22cd4815397d3a43ccbf138816bedfdfccd7
apps/docs/content/docs/integrations/cloudwatch.mdxhttps://github.com/simstudioai/sim/pull/9967/files#diff-e5683e9aa51005d7e194a9d2ebcc009b5cefb9f8792e4b57d5e42adfecacf581
View file https://github.com/simstudioai/sim/blob/fc0c43837ea01c2a07974956949742e5b3d857d3/apps/docs/content/docs/integrations/cloudwatch.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9967/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9967/files#diff-e5683e9aa51005d7e194a9d2ebcc009b5cefb9f8792e4b57d5e42adfecacf581
https://github.com/simstudioai/sim/pull/9967/files#diff-e5683e9aa51005d7e194a9d2ebcc009b5cefb9f8792e4b57d5e42adfecacf581
apps/sim/lib/api/contracts/tools/aws/cloudwatch-get-metric-statistics.tshttps://github.com/simstudioai/sim/pull/9967/files#diff-e6594af062eda3e32142cb3ee3cf2e8d7aa4540d3ada3e6a4da8a66b3274e721
View file https://github.com/simstudioai/sim/blob/fc0c43837ea01c2a07974956949742e5b3d857d3/apps/sim/lib/api/contracts/tools/aws/cloudwatch-get-metric-statistics.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9967/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9967/files#diff-e6594af062eda3e32142cb3ee3cf2e8d7aa4540d3ada3e6a4da8a66b3274e721
https://github.com/simstudioai/sim/pull/9967/files#diff-e6594af062eda3e32142cb3ee3cf2e8d7aa4540d3ada3e6a4da8a66b3274e721
apps/sim/lib/internal/dynamodb/client.test.tshttps://github.com/simstudioai/sim/pull/9967/files#diff-77f8383c143bb3f82eb97caa352dd254f0e8e99acb3de4d53113625a9be353ff
View file https://github.com/simstudioai/sim/blob/fc0c43837ea01c2a07974956949742e5b3d857d3/apps/sim/lib/internal/dynamodb/client.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9967/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9967/files#diff-77f8383c143bb3f82eb97caa352dd254f0e8e99acb3de4d53113625a9be353ff
https://github.com/simstudioai/sim/pull/9967/files#diff-77f8383c143bb3f82eb97caa352dd254f0e8e99acb3de4d53113625a9be353ff
https://github.com/simstudioai/sim/pull/9967/files#diff-77f8383c143bb3f82eb97caa352dd254f0e8e99acb3de4d53113625a9be353ff
apps/sim/lib/internal/dynamodb/client.tshttps://github.com/simstudioai/sim/pull/9967/files#diff-979ab7fb154d19935c047d6f5a49c756d4e6f78dc12953674e22b42653e48e3f
View file https://github.com/simstudioai/sim/blob/fc0c43837ea01c2a07974956949742e5b3d857d3/apps/sim/lib/internal/dynamodb/client.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9967/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9967/files#diff-979ab7fb154d19935c047d6f5a49c756d4e6f78dc12953674e22b42653e48e3f
Please reload this pagehttps://github.com/simstudioai/sim/pull/9967/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9967/files
https://github.com/simstudioai/sim/pull/9967/files#diff-979ab7fb154d19935c047d6f5a49c756d4e6f78dc12953674e22b42653e48e3f
https://github.com/simstudioai/sim/pull/9967/files#diff-979ab7fb154d19935c047d6f5a49c756d4e6f78dc12953674e22b42653e48e3f
https://github.com/simstudioai/sim/pull/9967/files#diff-979ab7fb154d19935c047d6f5a49c756d4e6f78dc12953674e22b42653e48e3f
https://github.com/simstudioai/sim/pull/9967/files#diff-979ab7fb154d19935c047d6f5a49c756d4e6f78dc12953674e22b42653e48e3f
https://github.com/simstudioai/sim/pull/9967/files#diff-979ab7fb154d19935c047d6f5a49c756d4e6f78dc12953674e22b42653e48e3f
https://github.com/simstudioai/sim/pull/9967/files#diff-979ab7fb154d19935c047d6f5a49c756d4e6f78dc12953674e22b42653e48e3f
https://github.com/simstudioai/sim/pull/9967/files#diff-979ab7fb154d19935c047d6f5a49c756d4e6f78dc12953674e22b42653e48e3f
https://github.com/simstudioai/sim/pull/9967/files#diff-979ab7fb154d19935c047d6f5a49c756d4e6f78dc12953674e22b42653e48e3f
apps/sim/tools/cloudwatch/get_metric_statistics.test.tshttps://github.com/simstudioai/sim/pull/9967/files#diff-cff409acff95d3ecc936dd3a19d9bb9bd4626c1cf0697a89570829c0d6c88c0f
View file https://github.com/simstudioai/sim/blob/fc0c43837ea01c2a07974956949742e5b3d857d3/apps/sim/tools/cloudwatch/get_metric_statistics.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9967/{{ revealButtonHref }}
apps/sim/tools/cloudwatch/get_metric_statistics.tshttps://github.com/simstudioai/sim/pull/9967/files#diff-b5c03b93477b7bbe702df29a217173af9840f2119aab320dcbb0d5d3cc36b913
View file https://github.com/simstudioai/sim/blob/fc0c43837ea01c2a07974956949742e5b3d857d3/apps/sim/tools/cloudwatch/get_metric_statistics.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9967/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9967/files#diff-b5c03b93477b7bbe702df29a217173af9840f2119aab320dcbb0d5d3cc36b913
https://github.com/simstudioai/sim/pull/9967/files#diff-b5c03b93477b7bbe702df29a217173af9840f2119aab320dcbb0d5d3cc36b913
https://github.com/simstudioai/sim/pull/9967/files#diff-b5c03b93477b7bbe702df29a217173af9840f2119aab320dcbb0d5d3cc36b913
https://github.com/simstudioai/sim/pull/9967/files#diff-b5c03b93477b7bbe702df29a217173af9840f2119aab320dcbb0d5d3cc36b913
apps/sim/tools/cloudwatch/types.tshttps://github.com/simstudioai/sim/pull/9967/files#diff-61fe9214bce41ebb688b8ee74c05e31dae4cee1ee44b54314629bd94a4ae9557
View file https://github.com/simstudioai/sim/blob/fc0c43837ea01c2a07974956949742e5b3d857d3/apps/sim/tools/cloudwatch/types.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9967/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9967/files#diff-61fe9214bce41ebb688b8ee74c05e31dae4cee1ee44b54314629bd94a4ae9557
https://github.com/simstudioai/sim/pull/9967/files#diff-61fe9214bce41ebb688b8ee74c05e31dae4cee1ee44b54314629bd94a4ae9557
apps/sim/tools/generated/tool-metadata.tshttps://github.com/simstudioai/sim/pull/9967/files#diff-3a953213cad2b14799015043b75c22cd4815397d3a43ccbf138816bedfdfccd7
View file https://github.com/simstudioai/sim/blob/fc0c43837ea01c2a07974956949742e5b3d857d3/apps/sim/tools/generated/tool-metadata.ts
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/9967/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9967/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.