Skip to content

dbeaver/pro#12090 Unify remote service contracts and registration naming - #55

Merged
serge-rider merged 5 commits into
develfrom
dbeaver/pro#12090-fix-datadam-desktop-startup-tracking-toolbar
Nov 28, 2026
Merged

serge-rider merged 5 commits into
develfrom
dbeaver/pro#12090-fix-datadam-desktop-startup-tracking-toolbar

Conversation

@serge-rider

@serge-rider serge-rider commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Closes dbeaver/pro#12090

Summary

Send the suggested desktop Dam name with registration instead of making post-connect naming requests. Unify WebSocket service contracts and exceptions in a shared API base, and remove the redundant session-listener API.

Architecture

  • New com.dbeaver.datadam.api.base Maven/OSGi module exports DDRemoteService and DDExceptionRemote extends DBException.
  • The five Remote DAM, MCP function, and shared-project service interfaces extend DDRemoteService. DDRemoteDamException, DDMcpFunctionException, and DDShareException extend DDExceptionRemote, preserving their constructors and MCP error codes. REST-only services remain unchanged.
  • Remote DAM, MCP, and Share APIs depend on and re-export the base bundle.
  • Optional suggestedName in the hello request uses existing name normalization and limits. No name-change notification or extra request is introduced.
  • DDRemoteDamChannel retains observeState() for lifecycle observation; DDRemoteDamSessionListener and its registration method are removed. Message subscriptions are unchanged.
flowchart LR
    R["Remote DAM API (changed)"] -->|"new dependency/re-export"| B["API Base (new)"]
    M["MCP API (changed)"] -->|"new dependency/re-export"| B
    S["Share API (changed)"] -->|"new dependency/re-export"| B
    B -->|"existing utility types"| U["org.jkiss.utils / DBException (unchanged)"]
    H["Hello request (changed)"] -->|"optional suggestedName (new field)"| P["Protocol codec (changed)"]
    P -->|"existing registration path"| D["Server persistence (companion)"]
Loading

Entities and relationships

No domain entities, database schemas, or persisted relationships change. Missing/null suggestions are allowed; the six-argument hello constructor supplies no suggestion. Existing Account rename contracts are unchanged.

Validation

237 tests passed across the base, Remote DAM/messaging, MCP, and Share API modules in the final clean aggregate reactor, including service/exception base contracts, registration names, and request/reply/RPC adapters.

Dependencies

Consumers: dbeaver/datadam#307 and dbeaver/dbeaver#43169. Merge the API before its consumers; the removed session-listener API requires the companion migrations.

AI-assisted implementation and description (OpenAI Codex).

@serge-rider serge-rider self-assigned this Nov 28, 2026
@serge-rider

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T16:39:06.054446Z 505a94b Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 952f8af322

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@serge-rider

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: f701c1f7c2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@serge-rider

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: a60c5300ae

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@serge-rider serge-rider changed the title dbeaver/pro#12090 Carry suggested Dam names in registration dbeaver/pro#12090 Unify remote service contracts and registration naming Nov 28, 2026
@serge-rider

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: ddee711d60

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@serge-rider

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: 505a94b79c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@serge-rider
serge-rider merged commit 1a8a5b7 into devel Nov 28, 2026
3 checks passed
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