Title: fix(knowledge): shrink the member lifecycle budget tests so they stop timing out in CI by waleedlatif1 · Pull Request #8404 · simstudioai/sim · GitHub
Open Graph Title: fix(knowledge): shrink the member lifecycle budget tests so they stop timing out in CI by waleedlatif1 · Pull Request #8404 · simstudioai/sim
X Title: fix(knowledge): shrink the member lifecycle budget tests so they stop timing out in CI by waleedlatif1 · Pull Request #8404 · simstudioai/sim
Description: Summary The two budget-boundary tests in member-document-lifecycle.integration.ts sized their fixtures off the production reconcile budget (20 pages × 500), so each seeded 10k+ documents and intermittently hit the 30s test timeout on CI Postgres Mock MEMBER_TOMBSTONE_RECONCILE_PAGES_PER_RUN to 3 for this file only; the tests derive their sizes from the constant, so they still cover the cursor save/resume and multi-run pass semantics with ~2k documents Three pages (not two) keeps "walks multiple batches" finishing its ~1.1k stale documents in one run Type of Change Bug fix (flaky test) Testing bun run test:integration member-document-lifecycle: 3/3 green, file runtime 11.5–16s → ~3.1s locally Mutant that ignores the page budget in reconcileUnobservedPages still fails both budget tests bun run check:test-patterns, bun run lint, bun run check:audits (52 audits), docs-manifest:check 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 The two budget-boundary tests in member-document-lifecycle.integration.ts sized their fixtures off the production reconcile budget (20 pages × 500), so each seeded 10k+ documents and inter...
X Description: Summary The two budget-boundary tests in member-document-lifecycle.integration.ts sized their fixtures off the production reconcile budget (20 pages × 500), so each seeded 10k+ documents and inter...
Opengraph URL: https://github.com/simstudioai/sim/pull/8404
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6b4d1ace-63b0-fe3d-472a-cc13e1fb6a15 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CE54:1BC3DC:BDB029:10BE277:6AFB5E45 |
| html-safe-nonce | 62e7a0ceb59b01dc9410c887b380e1f027ba8472b0c404493e7d412a8f38ef91 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTU0OjFCQzNEQzpCREIwMjk6MTBCRTI3Nzo2QUZCNUU0NSIsInZpc2l0b3JfaWQiOiIzODg4OTEyNjkyOTY5OTU0ODg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0c64d057157ef57911765bc34b9194fe2dec099d37e1620b4d34d94343528766 |
| hovercard-subject-tag | pull_request:4672694299 |
| 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/8404/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary The two budget-boundary tests in member-document-lifecycle.integration.ts sized their fixtures off the production reconcile budget (20 pages × 500), so each seeded 10k+ documents and inter... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94 |
| 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 | 59ef97164c52cf59bd10558ddec9c4f482763988 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width