Title: [Feature]: Promote `concurrency` to Stable — define exit criteria from Experimental · Issue #133 · bQuery/bQuery · GitHub
Open Graph Title: [Feature]: Promote `concurrency` to Stable — define exit criteria from Experimental · Issue #133 · bQuery/bQuery
X Title: [Feature]: Promote `concurrency` to Stable — define exit criteria from Experimental · Issue #133 · bQuery/bQuery
Description: Pre-flight checklist I searched existing issues and did not find a duplicate request. I explained the problem or use case, not just the desired API. Problem or use case concurrency is Experimental and carries hard documented constraints ...
Open Graph Description: Pre-flight checklist I searched existing issues and did not find a duplicate request. I explained the problem or use case, not just the desired API. Problem or use case concurrency is Experimental ...
X Description: Pre-flight checklist I searched existing issues and did not find a duplicate request. I explained the problem or use case, not just the desired API. Problem or use case concurrency is Experimental ...
Opengraph URL: https://github.com/bQuery/bQuery/issues/133
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Feature]: Promote `concurrency` to Stable — define exit criteria from Experimental","articleBody":"**Pre-flight checklist**\n- [x] I searched existing issues and did not find a duplicate request.\n- [x] I explained the problem or use case, not just the desired API.\n\n**Problem or use case**\n`concurrency` is **Experimental** and carries hard documented constraints that block real adoption: handlers must be standalone serializable functions (no closures); the module is browser-only (\"Node / Deno / Bun adapters: not adopted\"); it requires a relaxed CSP (`'unsafe-eval'` plus `worker-src blob:`) because worker bodies are revived via `new Function(...)`; and `createSharedBuffer()` needs `crossOriginIsolated` with COOP/COEP headers. The `'unsafe-eval'` requirement in particular directly contradicts bQuery's secure-by-default posture. There is no published path out of Experimental.\n\n**Proposed solution**\nPublish exit criteria and resolve the two adoption-blocking constraints tracked in #134 (CSP-safe execution) and, where appropriate, document the closure limitation as a permanent, clearly-explained design boundary rather than a bug. Criteria: (a) a default execution mode that needs no `'unsafe-eval'` (#134); (b) documented, enforced guidance for the serializable-handler constraint with good error messages; (c) test coverage for pools, RPC, and shared buffers; (d) an explicit statement of the runtime boundary (browser-focused) consistent with the module's stated non-goals.\n\n**Possible API or UX shape**\n```\n## Stability: targeting Stable in 1.15.0\nExit criteria:\n- [ ] CSP-safe default worker mode, no 'unsafe-eval' (#134)\n- [ ] Serializable-handler constraint documented + enforced with clear errors\n- [ ] Coverage: task/pool/RPC/sharedBuffer\n- [ ] Runtime boundary stated (browser-focused, per non-goals)\n```\n\n**Alternatives considered**\nKeeping `concurrency` Experimental because it is browser-only — the browser focus is a legitimate scoping decision and need not block stability; what blocks it is the `eval`-dependent default and undocumented constraints, both addressable. Adding Node/Deno/Bun worker adapters — explicitly out of scope per the module's non-goals, so not proposed here.\n\n**Relevant area**\n`concurrency`\n\n**Additional context**\nThe module's ThreadTS parity matrix marks pools/collection helpers as \"Adapted\" and decorators/runtime adapters as \"Not adopted,\" which is fine to keep. The `'unsafe-eval'` requirement is the item most at odds with the framework's security identity and should be treated as the primary blocker.\n","author":{"url":"https://github.com/JosunLP","@type":"Person","name":"JosunLP"},"datePublished":"2026-06-26T21:25:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/133/bQuery/issues/133"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:34d342ac-2af6-c634-13ac-ae1f4ba31918 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A70E:179658:F82DFD:16B2104:6A4E34F1 |
| html-safe-nonce | d0e347bbf738804d41bfe07ee37069deba85413d1d02c76ffcf65ebc1b6526bd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzBFOjE3OTY1ODpGODJERkQ6MTZCMjEwNDo2QTRFMzRGMSIsInZpc2l0b3JfaWQiOiI3NzEwODQzMTA1NzA0ODE3OTA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 13cccfd7b365e8b0dec0ea9b36d3365b01f998c3620bf6d3d735542c60db782d |
| hovercard-subject-tag | issue:4755237039 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/bQuery/bQuery/133/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aca6687c3d1f073604c6254e1035017f9a49df64df8709aecd76fc8e4ce84cb6/bQuery/bQuery/issues/133 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aca6687c3d1f073604c6254e1035017f9a49df64df8709aecd76fc8e4ce84cb6/bQuery/bQuery/issues/133 |
| og:image:alt | Pre-flight checklist I searched existing issues and did not find a duplicate request. I explained the problem or use case, not just the desired API. Problem or use case concurrency is Experimental ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JosunLP |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/bQuery/bQuery git https://github.com/bQuery/bQuery.git |
| octolytics-dimension-user_id | 256381806 |
| octolytics-dimension-user_login | bQuery |
| octolytics-dimension-repository_id | 1139284244 |
| octolytics-dimension-repository_nwo | bQuery/bQuery |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1139284244 |
| octolytics-dimension-repository_network_root_nwo | bQuery/bQuery |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 42a6d378d7587a44c93aca255096cd66b7c8eb2d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width