Skip to content

chore: remove dead createServerWebsockets + dbTable config#5404

Merged
adrians5j merged 2 commits into
nextfrom
adrian/cleanup-dead-server-ws-and-dbtable
Jul 15, 2026
Merged

chore: remove dead createServerWebsockets + dbTable config#5404
adrians5j merged 2 commits into
nextfrom
adrian/cleanup-dead-server-ws-and-dbtable

Conversation

@adrians5j

@adrians5j adrians5j commented Jul 14, 2026

Copy link
Copy Markdown
Member

What changed

Two small dead-code cleanups left over from the self-hosted server-flavour work, no runtime behaviour change:

  • createServerWebsockets removed from @webiny/api-websockets-server — it was exported but never consumed anywhere (the server API handler wires the transport, connection manager, and adapter directly). Its now-unused @webiny/handler dependency was dropped too.
  • dbTable handler config option removed. Once DbFeature became DynamoDBCoreFeature (which takes no table name), nothing read dbTable anymore. Removed from the base api-event-handler-aws config and the -ddb / -ddb-os variant configs.

Changelog

Internal dead-code cleanup

Removed an unused WebSockets helper and an obsolete handler config option. No functional change.

Squash Merge Commit

chore: remove dead createServerWebsockets + dbTable config (#5404)

adrians5j and others added 2 commits July 14, 2026 13:40
- Remove the unused `createServerWebsockets` export from `@webiny/api-websockets-server`
  (nothing consumed it; the server handler wires the transport/connection-manager directly).
  Drops its now-unused `@webiny/handler` dependency.
- Remove the `dbTable` handler config option: since `DbFeature` became `DynamoDBCoreFeature`
  (which takes no table), nothing reads it. Dropped from the base config + the `-ddb` / `-ddb-os`
  variant Picks + the `-ddb-os` pass-through.

No runtime behaviour change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@adrians5j

Copy link
Copy Markdown
Member Author

/vitest

@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown

Vitest tests have been initiated (for more information, click here). ✨

Group Status
No storage ✅ 53/53 passed
DDB ✅ 17/17 passed
DDB+OS ❌ 0/3 passed
SQL ✅ 10/10 passed
❌ Failed packages

DDB+OS

  • api-aco
  • api-file-manager-aco
  • api-headless-cms (2/6)
  • api-headless-cms (4/6)
  • api-headless-cms (1/6)
  • api-workflows
  • api-file-manager
  • api-headless-cms (3/6)
  • api-headless-cms (6/6)
  • api-headless-cms (5/6)

@adrians5j adrians5j changed the title Remove dead createServerWebsockets + vestigial dbTable config chore: remove dead createServerWebsockets + dbTable config Jul 15, 2026
@adrians5j
adrians5j merged commit be77af6 into next Jul 15, 2026
21 checks passed
@adrians5j
adrians5j deleted the adrian/cleanup-dead-server-ws-and-dbtable branch July 15, 2026 09:54
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