GeezerVison is showing github.com — fix(pm-console-edge): keep BRIDGE narrowed in bridgeFetch closure by dezren39 · Pull Request #14455 · developing-today/code
Conversation
dezren39
commented
Nov 24, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Fixes the red main-branch `pm-console-edge deploy` (run 45425727853): `src/worker.ts` TS18048 `env.BRIDGE` possibly undefined inside the arrow closure.
Hoists `env.BRIDGE` into a local so narrowing holds; fail-closed `undefined` kept when the binding is absent. No behaviour change.
Closes #14373
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-24T15:54:10Z",
"session_id": "ses_e5df1c16213ffemfh3Uc8RunpH",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/code-fix-bridge",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/code-fix-bridge",
"repo": "developing-today/code",
"branch": "fix/pm-console-edge-bridge-narrowing",
"sha": "40d39c174812dbe2d1fded9bde4653451c6795a2"
},
"auth_subject": "oc-code-05",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Hoist env.BRIDGE into a local so the optional binding stays narrowed inside
the arrow function; fixes TS18048 in the deploy type-check (#14373).
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 3 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
0d9a166e-7d23-4cf3-a26f-5f9eea4295d4
Commits
-
Reviewing files that changed from the base of the PR and between ac02dd2 and 40d39c1.
Files selected for processing: 1
-
pm-stack/console/edge/src/worker.ts
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|