Files
bun.sh/src
Claude Bot e8eeb8de18 Refactor: Complete field migration to containers (Phase 7 Step 4 Part 2)
Migrated 10 fields from FetchTasklet to appropriate containers and updated
~120+ access sites throughout the codebase:

MainThreadData container (5 fields):
- readable_stream_ref: ReadableStream reference tracking
- abort_signal: Abort signal handling
- abort_reason: Abort reason storage
- poll_ref: Event loop keep-alive
- tracker: Async task tracking for debugger

SharedData container (5 fields):
- response_buffer: Buffer used by AsyncHTTP
- scheduled_response_buffer: Buffer for streaming to JS
- http: AsyncHTTP client pointer
- result: HTTP client result state
- metadata: Response metadata

Changes:
- Commented out old field declarations in main FetchTasklet struct
- Updated all access sites to use container syntax:
  * Main thread fields: this.main_thread.field
  * Shared fields: this.shared.field
- Fixed check_server_identity migration issues:
  * Removed duplicate field declaration
  * Fixed access sites in clearData(), checkServerIdentity(), get()
  * Removed duplicate initialization
- Verified successful compilation with bun bd

All field accesses now properly use the containerized structure, maintaining
thread safety for shared fields and clear ownership for main thread fields.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 20:28:58 +00:00
..
2025-10-16 21:52:22 -04:00
2025-07-21 13:26:47 -07:00
2025-10-04 02:17:55 -07:00
2025-07-29 19:35:46 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-09-09 20:41:10 -07:00
2025-10-23 17:52:13 -07:00
2025-09-11 23:29:53 -07:00
2025-10-25 00:05:28 -07:00
2025-09-09 20:41:10 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00