Skip to content

Complete bridge ADRs and cover deferred-call disconnection (#448) - #499

Merged
ambroise-leclerc merged 2 commits into
developfrom
448-bridge-adr-completion
Nov 5, 2026
Merged

ambroise-leclerc merged 2 commits into
developfrom
448-bridge-adr-completion

Conversation

@ambroise-leclerc

Copy link
Copy Markdown
Collaborator

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.

Copilot AI balanced review requested due to automatic review settings November 5, 2026 22:02
@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Explain Change →

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 51 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: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d9a981f6-fc96-4540-b72e-3e76771accf7
Commits

Reviewing files that changed from the base of the PR and between 4a825ca and 1b01ecb.

Files selected for processing: 1

  • test/web/suite/specs/webfront-specs.mjs

No actionable comments were generated in the recent review.

Walkthrough

La PR met à jour le changelog et les ADR sur le pont et les appels différés. Elle ajoute un test qui vérifie le rejet d’un appel différé après la fermeture de la connexion.

Changes: Pont et appels différés

Layer / File(s) Résumé
Décisions et historique du pont
docs/CHANGELOG.md, docs/adr/ADR-003-protocole-binaire-et-bornes.md, docs/adr/ADR-004-appels-asynchrones-et-erreurs.md, docs/adr/ADR-020-services-systeme.md, docs/adr/README.md
Le changelog décrit les types du pont et les réponses différées. Les ADR-003 et ADR-004 indiquent que les décisions sont acceptées jusqu’aux versions 1.19 et 2.6. L’ADR-020 documente la version 1.6 comme partiellement livrée, tandis que les services restent à livrer.
Test de rejet après déconnexion
test/web/suite/specs/webfront-specs.mjs
Le test vérifie qu’après confirmation de la réception de l’appel différé, la fermeture de la connexion entraîne son rejet avec le code webfront.disconnected.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related issues

  • ambroise-leclerc/WebFront#448 — La PR met à jour les ADR sur les décisions du pont et ajoute un test de régression lié aux appels C++ différés.
  • ambroise-leclerc/WebFront#459 — La PR documente les réponses différées et teste le rejet après fermeture de la connexion.

Possibly related PRs

  • ambroise-leclerc/WebFront#497 — Cette PR documente l’acceptation des décisions associées aux callbacks C++ différés et ajoute un test sur le rejet après déconnexion.

Suggested reviewers: am-l

Merge Risk: Minimal · previous review 4a825

The change documents bridge decisions and adds a disconnection regression test. No merge-blocking issue is established.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed Le titre décrit les mises à jour des ADR du pont et le test de déconnexion pour un appel différé.
Description check Passed La description correspond aux mises à jour des ADR, au test de régression et au changelog.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (5 skipped: 5 unsupported.)

  • 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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b6f20944-143d-436a-9327-c4a11377fed4
Commits

Reviewing files that changed from the base of the PR and between c817501 and 4a825ca.

Files selected for processing: 6

  • docs/CHANGELOG.md
  • docs/adr/ADR-003-protocole-binaire-et-bornes.md
  • docs/adr/ADR-004-appels-asynchrones-et-erreurs.md
  • docs/adr/ADR-020-services-systeme.md
  • docs/adr/README.md
  • test/web/suite/specs/webfront-specs.mjs

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 cppFunction rejects with webfront.disconnected on 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

Comment thread test/web/suite/specs/webfront-specs.mjs Resolved
@ambroise-leclerc
ambroise-leclerc merged commit 45d7c4a into develop Nov 5, 2026
23 of 24 checks passed
@ambroise-leclerc
ambroise-leclerc deleted the 448-bridge-adr-completion branch November 5, 2026 22:25
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.

3 participants