Skip to content

[pull] master from mattermost:master#741

Merged
pull[bot] merged 1 commit into
code:masterfrom
mattermost:master
May 30, 2026
Merged

[pull] master from mattermost:master#741
pull[bot] merged 1 commit into
code:masterfrom
mattermost:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 30, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

… export filestore is active (#36759)

* Dispatch Test Connection on ExportDriverName when dedicated export filestore is active

The /file/test handler picked the mandatory-field check based on the primary
DriverName even when the backend that gets constructed and tested is the
export backend. A deployment with primary=S3 / export=Azure (or vice versa)
therefore ran the wrong driver's field validation -- e.g. surfaced an
S3-bucket error while the admin was configuring Azure, or skipped the Azure
mandatory-field check entirely when the primary was Local.

Introduce App.UseExportFileStore() / App.ResolvedFileStoreDriverName() and
have the handler dispatch through them so validation, field selection inside
the mandatory-field checks, and backend construction all agree on which side
of the filestore is being tested.

------
AI assisted commit

* Use refactored boolean condition in both branches
@pull pull Bot locked and limited conversation to collaborators May 30, 2026
@pull pull Bot added the ⤵️ pull label May 30, 2026
@pull pull Bot merged commit bcf5119 into code:master May 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant