Title: fix(oauth): serialize version-guard date in slack fan-out sql by TheodoreSpeaks · Pull Request #5737 · simstudioai/sim · GitHub
Open Graph Title: fix(oauth): serialize version-guard date in slack fan-out sql by TheodoreSpeaks · Pull Request #5737 · simstudioai/sim
X Title: fix(oauth): serialize version-guard date in slack fan-out sql by TheodoreSpeaks · Pull Request #5737 · simstudioai/sim
Description: Summary The version-guarded Slack fan-out (#5723) passed a bare `Date` as a raw sql parameter; raw fragments skip drizzle's column mapping and the driver rejects Date instances (`The "string" argument must be of type string or an instance of Buffer...`), failing every guarded fan-out at runtime Serialize the guard timestamp to ISO explicitly in the fragment Caught in staging testing (run failed with the generic refresh error; CloudWatch showed the failed query). Verified end-to-end against a real database: guard timestamp keeps ms precision and the guarded fan-out updates all installation rows Type of Change Bug fix Testing Local repro script against a real Postgres reproduced the driver error pre-fix and passes post-fix (guarded fan-out writes all rows, chainVersion keeps millisecond precision). Unit suites pass. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing 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 The version-guarded Slack fan-out (#5723) passed a bare `Date` as a raw sql parameter; raw fragments skip drizzle's column mapping and the driver rejects Date instances (`The "str...
X Description: Summary The version-guarded Slack fan-out (#5723) passed a bare `Date` as a raw sql parameter; raw fragments skip drizzle's column mapping and the driver rejects Date instances (`The &...
Opengraph URL: https://github.com/simstudioai/sim/pull/5737
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3591878c-1df6-0535-0f38-3a87ace6355a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B01C:25A82A:BF5277:110A805:6A6386A6 |
| html-safe-nonce | a048c5bb457d610e9caf058cc3d7eb2f9a04cd20338ce2496ff1e0785c2b183f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDFDOjI1QTgyQTpCRjUyNzc6MTEwQTgwNTo2QTYzODZBNiIsInZpc2l0b3JfaWQiOiI4ODkxMDQ1NDQzNzEzMzM2OTk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 12801a0f44e1e08942aeb894e057c500ad33068665074891671deb1cbea504ea |
| hovercard-subject-tag | pull_request:4078892716 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5737/files |
| twitter:image | https://avatars.githubusercontent.com/u/19564703?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/19564703?s=400&v=4 |
| og:image:alt | Summary The version-guarded Slack fan-out (#5723) passed a bare `Date` as a raw sql parameter; raw fragments skip drizzle's column mapping and the driver rejects Date instances (`The "str... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e4fb64aef87da454ec25b158147f7f5f14aef29216e5ca1612c2e48faa599d1f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e839936ba5faffb9c836dda1cf4729d50c88a32e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width