Repository navigation
Complete bridge ADRs and cover deferred-call disconnection (#448) - #499
Conversation
|
Warning Review limit reachedYou'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 51 minutes. View limit details
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
There was a problem hiding this comment.
Note
Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.
🟡 Changes recommended
A moderate active issue remains because a webfront spec uses a 5000ms deferred delay that matches Jasmine’s default timeout and accesses .code without first asserting the rejection is an Error, which can cause flaky/slow tests and less diagnostic failures.
1 open issue
What changed in this PR
This pull request finalizes documentation for previously-merged bridge decisions by updating ADR-003/004/020 (and the ADR index), adds a browser regression test for a deferred bridge call when the connection closes mid-flight, and records the bridge additions in the changelog.
Changes:
- Add a WebFront browser regression ensuring a pending deferred
cppFunctionrejects withwebfront.disconnectedon WebSocket close. - Update ADR-003 / ADR-004 / ADR-020 and the ADR index to reflect accepted decisions and integration references.
- Document the bridge feature set in
docs/CHANGELOG.md(e.g., long strings, lists, typed errors, deferred replies/cancellation).
| File | Summary |
|---|---|
test/web/suite/specs/webfront-specs.mjs |
Adds a browser integration regression for deferred-call rejection when the socket disconnects (note: review comments flag potential flakiness and a possible null/TypeError failure mode). |
docs/CHANGELOG.md |
Updates Unreleased notes to include the new/confirmed bridge capabilities. |
docs/adr/README.md |
Updates the ADR index to reflect current status/versions for bridge-related ADRs. |
docs/adr/ADR-020-services-systeme.md |
Extends ADR-020’s version/timeline to include the bridge prerequisite/delivery step. |
docs/adr/ADR-004-appels-asynchrones-et-erreurs.md |
Records accepted async/error behavior (including typed errors and deferred answers) and integration references. |
docs/adr/ADR-003-protocole-binaire-et-bornes.md |
Records accepted protocol extensions/bounds and integration references. |
Review effort: Balanced

Record the merged bridge decisions and their integration commits in ADR-003, ADR-004 and ADR-020. Add the missing browser regression for a deferred call whose connection closes, and document the bridge additions in the changelog.
Validation: run the desktop CI and the GCC/Clang CEF integration workflow.