Skip to content

direct: honor ForceSendFields on the model_serving_endpoints remote - #6812

Merged
denik merged 1 commit into
mainfrom
denik/mse-fsf-root-prep
Oct 1, 2026
Merged

denik merged 1 commit into
mainfrom
denik/mse-fsf-root-prep

Conversation

@denik

@denik denik commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Surface ForceSendFields at the ModelServingEndpointRemote root and marshal via the SDK's marshal package, so the force-send convention is honored on the wrapper and RemapState becomes a plain subset copy — prep for the automatic copier (#6777). Only the per-engine *.direct.* plan goldens change; no action or diff changes.

This pull request and its description were written by Isaac.

@github-actions github-actions Bot added the DABs DABs related issues label Sep 23, 2026
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 192b6e5

Run: 36701144991

Env ❌​FAIL 🔄​flaky ✅​pass 🙈​skip Time
❌​ aws linux 3 277 25 6:45
❌​ aws windows 3 279 23 7:13
🔄​ azure linux 3 276 25 6:18
✅​ azure windows 281 23 4:12
✅​ gcp linux 280 25 6:14
✅​ gcp windows 282 23 4:17
6 interesting tests: 3 FAIL, 3 flaky
Test Name aws linux aws windows azure linux
❌​ TestAccept ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/resources/model_serving_endpoints/basic ❌​F ❌​F ✅​p
❌​ TestAccept/bundle/resources/model_serving_endpoints/basic/DATABRICKS_BUNDLE_ENGINE=direct/DMS=true ❌​F ❌​F ✅​p
🔄​ TestFilerWorkspaceFilesExtensionsDelete ✅​p ✅​p 🔄​f
🔄​ TestWorkspaceFilesExtensions_ExportFormatIsPreserved ✅​p ✅​p 🔄​f
🔄​ TestWorkspaceFilesExtensions_ExportFormatIsPreserved/jupyter_python ✅​p ✅​p 🔄​f
Top 4 slowest tests (at least 2 minutes):
duration env testname
4:11 azure linux TestAccept
4:05 gcp linux TestAccept
3:16 gcp windows TestAccept
3:13 azure windows TestAccept

@denik
denik force-pushed the denik/mse-fsf-root-prep branch from a532a2a to 265226f Compare September 29, 2026 10:48
@denik denik changed the title direct: make model_serving_endpoints RemapState a dumb copy (surface ForceSendFields at remote root) direct: make model_serving_endpoints RemapState a dumb copy Sep 29, 2026
@denik
denik force-pushed the denik/mse-fsf-root-prep branch from 265226f to 9e0b1ac Compare September 29, 2026 12:17
… root

RemapState sourced ForceSendFields from the nested EndpointDetails, which the
auto-copier (root ForceSendFields only) cannot reproduce. Surface it on the
ModelServingEndpointRemote root in newModelServingEndpointRemote (filtered to the
wrapper's own fields) and read it there in RemapState, making RemapState a plain
subset copy. Add marshal-based MarshalJSON/UnmarshalJSON so the wrapper's extra
fields survive the JSON state round-trip (mirrors VectorSearchEndpointRemote).

Side effect: the plan remote_state now force-sends the surfaced fields, so the
per-engine direct plan goldens are regenerated. No action/diff changes.

Co-authored-by: Isaac <no-reply@databricks.com>
@denik
denik force-pushed the denik/mse-fsf-root-prep branch from 9e0b1ac to 192b6e5 Compare September 30, 2026 10:12
@denik denik changed the title direct: make model_serving_endpoints RemapState a dumb copy direct: honor ForceSendFields on the model_serving_endpoints remote Sep 30, 2026
@denik
denik marked this pull request as ready for review October 1, 2026 09:10
@denik
denik requested review from a team as code owners October 1, 2026 09:10
@denik
denik enabled auto-merge October 1, 2026 09:10
@denik
denik disabled auto-merge October 1, 2026 10:08
@denik
denik merged commit 6865739 into main Oct 1, 2026
29 of 30 checks passed
@denik
denik deleted the denik/mse-fsf-root-prep branch October 1, 2026 10:08
denik added a commit that referenced this pull request Oct 1, 2026
#6812 surfaced ForceSendFields at the ModelServingEndpointRemote root, making its
RemapState a plain copy. The auto-copier now reproduces it exactly
(TestNoRedundantRemapState), so remove the method and let buildCopiers handle it.

Co-authored-by: Isaac <no-reply@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DABs DABs related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants