Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if (!testEnv) {
throw new Error('No test env defined');
}

const APP_PORT = 38787;
const APP_PORT = 8787;

const config = getPlaywrightConfig(
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if (!testEnv) {
throw new Error('No test env defined');
}

const APP_PORT = 38787;
const APP_PORT = 8787;

const config = getPlaywrightConfig(
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ test('sends spans for MCP 2026-07-28 tool calls', async ({ baseURL }) => {
expect(requestSpan.attributes['http.request.method']?.value).toBe('POST');
expect(requestSpan.attributes['url.path']?.value).toBe('/mcp');
expect(requestSpan.attributes['url.full']?.value).toBe(url);
expect(requestSpan.attributes['url.port']?.value).toBe('38787');
expect(requestSpan.attributes['url.port']?.value).toBe('8787');
expect(requestSpan.attributes['url.scheme']?.value).toBe('http:');
expect(requestSpan.attributes['server.address']?.value).toBe('localhost');
expect(requestSpan.attributes['http.request.body.size']?.value).toBe(341);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview --port 38787",
"preview": "vite preview --port 8787",
"typecheck": "tsc --noEmit",
"test:build": "pnpm install && pnpm build",
"test:assert": "pnpm test:prod",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if (!testEnv) {
throw new Error('No test env defined');
}

const APP_PORT = 38787;
const APP_PORT = 8787;

const config = getPlaywrightConfig(
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if (!testEnv) {
throw new Error('No test env defined');
}

const APP_PORT = 38787;
const APP_PORT = 8787;
export const INSPECTOR_PORT = 9230;

const config = getPlaywrightConfig(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if (!testEnv) {
throw new Error('No test env defined');
}

const APP_PORT = 38787;
const APP_PORT = 8787;
export const INSPECTOR_PORT = 9230;

const config = getPlaywrightConfig(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if (!testEnv) {
throw new Error('No test env defined');
}

const APP_PORT = 38787;
const APP_PORT = 8787;

const config = getPlaywrightConfig(
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"type": "module",
"scripts": {
"dev:node": "node --import tsx/esm --import ./src/instrument.node.ts src/entry.node.ts",
"dev:cloudflare": "wrangler dev --config ./dist/gen_ai_libraries/wrangler.json --var \"E2E_TEST_DSN:$E2E_TEST_DSN\" --var \"E2E_OPENROUTER_API_KEY:$E2E_OPENROUTER_API_KEY\" --port 38787",
"preview": "vite preview --port 38787",
"dev:cloudflare": "wrangler dev --config ./dist/gen_ai_libraries/wrangler.json --var \"E2E_TEST_DSN:$E2E_TEST_DSN\" --var \"E2E_OPENROUTER_API_KEY:$E2E_OPENROUTER_API_KEY\" --port 8787",
"preview": "vite preview --port 8787",
"test": "playwright test",
"clean": "npx rimraf node_modules dist pnpm-lock.yaml",
"test:build": "pnpm install",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { RUNTIME } from './tests/constants';
// The same suite runs against both runtimes, selected by the `RUNTIME` env var (see the `sentryTest`
// variants in package.json): the Node entry (runtime channel injection) or the Cloudflare entry (Vite
// build + `@sentry/cloudflare/vite` plugin at build time, the prebuilt bundle served by `wrangler dev`).
const CF_PORT = 38787;
const CF_PORT = 8787;
const NODE_PORT = 3030;

const config = getPlaywrightConfig(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (!testEnv) {
throw new Error('No test env defined');
}

const APP_PORT = 38787;
const APP_PORT = 8787;

const startCommands: Record<Runtime, string> = {
cloudflare: `pnpm dev:cf --port ${APP_PORT}`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ app.use(

addRoutes(app);

const port = Number(process.env.PORT || 38787);
const port = Number(process.env.PORT || 8787);

export default {
port,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ app.use(

addRoutes(app);

const port = Number(Deno.env.get('PORT') || 38787);
const port = Number(Deno.env.get('PORT') || 8787);

Deno.serve({ port }, app.fetch);
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ app.use(sentry(app));

addRoutes(app);

const port = Number(process.env.PORT || 38787);
const port = Number(process.env.PORT || 8787);

serve({ fetch: app.fetch, port }, () => {
console.log(`Hono (Node) listening on port ${port}`);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (!testEnv) {
throw new Error('No test env defined');
}

const APP_PORT = 38787;
const APP_PORT = 8787;

const startCommands: Record<Runtime, string> = {
cloudflare: `pnpm dev:cloudflare --port ${APP_PORT}`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const app = new Hono();

addRoutes(app);

const port = Number(process.env.PORT || 38787);
const port = Number(process.env.PORT || 8787);

export default {
port,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ const app = new Hono();

addRoutes(app);

const port = Number(Deno.env.get('PORT') || 38787);
const port = Number(Deno.env.get('PORT') || 8787);

Deno.serve({ port }, app.fetch);
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const app = new Hono();

addRoutes(app);

const port = Number(process.env.PORT || 38787);
const port = Number(process.env.PORT || 8787);

serve({ fetch: app.fetch, port }, () => {
// eslint-disable-next-line no-console
Expand Down
Loading