GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Common Server Options: create shared type · Issue #25570 · getsentry/sentry-javascript

Common Server Options: create shared type #25570

New issue
Copy link
New issue
Copy link
Closed
#25579
Closed
Common Server Options: create shared type#25570
#25579
Copy link
Assignees
isaacs

Description

@isaacs
isaacs
opened on Oct 20, 2026
Issue body actions

Add ServerRequestOptions. Make each runtime options type extend it, with Omit for gaps. Add the BUGBOT rule. Type-only, no runtime behavior change.

For Node and Bun: ignoreRequestBody request type (Node, Bun node:http). Narrow the parameter to RequestOptions & HttpIncomingMessage. This is not a break: a tsc check showed that callbacks typed with RequestOptions, and untyped callbacks that read req.path, both still compile. Users get the real IncomingMessage fields. A comment marks the RequestOptions half as deprecated, for removal in v12. The as cast in packages/node/src/integrations/http/httpServerIntegration.ts:91 goes away.

Activity

  1. isaacs
    self-assigned this
    on Oct 20, 2026
  2. linear-code commented on Oct 20, 2026

    @linear-code
    linear-codeBot
    on Oct 20, 2026 – with Linear Code
    More actions

    JS-3968

  3. isaacs
    added a parent issue on Oct 20, 2026
    • Create "common server options" type to align all runtimes #25538
  4. isaacs
    added 7 commits that reference this issue on Oct 21, 2026

    ref(core): Add shared `ServerRequestOptions` type across runtimes

    This issue will close once commit b8ffd22 is merged into the 'develop' branch.
    b8ffd22

    ref(core): Add shared `ServerRequestOptions` type across runtimes

    This issue will close once commit 80afcb3 is merged into the 'develop' branch.
    80afcb3

    ref(core): Add shared `ServerRequestOptions` type across runtimes

    This issue will close once commit 32fc3b4 is merged into the 'develop' branch.
    32fc3b4

    ref(core): Add shared `ServerRequestOptions` type across runtimes

    This issue will close once commit eeb2691 is merged into the 'develop' branch.
    eeb2691

    ref(core): Add shared `ServerRequestOptions` type across runtimes

    This issue will close once commit 5f1c026 is merged into the 'develop' branch.
    5f1c026

    ref(core): Add shared `ServerRequestOptions` type across runtimes

    This issue will close once commit 03f5ea4 is merged into the 'develop' branch.
    03f5ea4

    ref(core): Add shared `ServerRequestOptions` type across runtimes

    This issue will close once commit 685d415 is merged into the 'develop' branch.
    685d415
  5. isaacs
    closed this as completedin #25579on Oct 23, 2026
  6. isaacs
    added a commit that references this issue on Oct 23, 2026

    ref(core): Add shared `ServerRequestOptions` type across runtimes (#2…

    This issue will close once commit bb32a5c is merged into the 'develop' branch.
    bb32a5c
  7. github-actions commented on Oct 28, 2026

    @github-actions
    github-actionsBot
    on Oct 28, 2026 – with GitHub Actions
    Contributor
    More actions

    A PR closing this issue has just been released 🚀

    This issue was referenced by PR #25579, which was included in the 11.10.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @isaacs
    isaacs

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.