Skip to content

Add current-process debug port access - #7005

Open
penalosa wants to merge 2 commits into
mainfrom
penalosa/current-process-debug-port
Open

Add current-process debug port access#7005
penalosa wants to merge 2 commits into
mainfrom
penalosa/current-process-debug-port

Conversation

@penalosa

Copy link
Copy Markdown
Contributor

Summary

  • add current() to the workerdDebugPort binding
  • route it through an in-process WorkerdDebugPort capability without opening a TCP connection
  • retain the existing connect(address) behaviour for remote workerd processes

Testing

  • just format
  • bazel test //src/workerd/server:server-test@ --nocache_test_results --test_output=errors (cancelled before execution; relying on CI)

@ask-bonk

ask-bonk Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

APIError: Invalid Anthropic API Key

github run

2 similar comments
@ask-bonk

ask-bonk Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

APIError: Invalid Anthropic API Key

github run

@ask-bonk

ask-bonk Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

APIError: Invalid Anthropic API Key

github run

@ask-bonk

ask-bonk Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

@penalosa Bonk workflow failed. Check the logs for details.

View workflow run · To retry, trigger Bonk again.

@penalosa
penalosa marked this pull request as ready for review August 14, 2026 12:26
@penalosa
penalosa requested review from a team as code owners August 14, 2026 12:26
@github-actions

github-actions Bot commented Aug 14, 2026

Copy link
Copy Markdown

The generated output of @cloudflare/workers-types matches the snapshot in types/generated-snapshot 🎉

@codspeed-hq

codspeed-hq Bot commented Aug 14, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 10.12%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 1 improved benchmark
✅ 71 untouched benchmarks
⏩ 129 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
bm_Promise_Fib10 20.3 µs 18.5 µs +10.12%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing penalosa/current-process-debug-port (919e625) with main (c15dd17)

Open in CodSpeed

Footnotes

  1. 129 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant