Skip to content

V11.7 Docs#8895

Open
amyblais wants to merge 15 commits intomasterfrom
v11.7-documentation
Open

V11.7 Docs#8895
amyblais wants to merge 15 commits intomasterfrom
v11.7-documentation

Conversation

@amyblais
Copy link
Copy Markdown
Member

No description provided.

@amyblais amyblais added this to the v11.7.0 milestone Apr 16, 2026
Copilot AI review requested due to automatic review settings April 16, 2026 06:19
@amyblais amyblais added the Work In Progress Not yet ready for review label Apr 16, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 16, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Documentation and Sphinx metadata updates: bumped commented Sphinx version to '11.7'; replaced v10.5 ESR references with v10.11 and recommended upgrade target v11.7 across product-overview and upgrade docs; adjusted release-policy timeline date; added enterprise-search health-check behaviour, reconnection/backoff, sample logs, and a new Prometheus metric; added analytics-query-timeout DB setting and reformatted query-timeout table.

Changes

Sphinx configuration

Layer / File(s) Summary
Metadata
source/conf.py
Bumped commented Sphinx version and release values from '11.6''11.7'.

ESR upgrade guidance & release policy

Layer / File(s) Summary
Policy text updates
source/administration-guide/upgrade/prepare-to-upgrade-mattermost.rst, source/product-overview/common-esr-support-rst.rst, source/product-overview/common-esr-support-upgrade.md, source/product-overview/common-esr-support.md
Replaced references to Mattermost Server v10.5v10.11 (EOL date updated) and changed upgrade recommendation/target from v10.11v11.7; updated linked release references and wording.
Timeline adjustment
source/product-overview/release-policy.md
Adjusted ESR Gantt entry start date (2026-05-16 → 2026-05-15) and updated example upgrade links/wording to reference v10.11 and v11.7 ESRs.

Enterprise search behaviour and metrics

Layer / File(s) Summary
Behavior docs
source/administration-guide/scale/enterprise-search.rst, source/administration-guide/scale/common-configure-mattermost-for-enterprise-search.rst
Documented v11.7 search-engine health-check behaviour: periodic health checks, immediate DB fallback on first failure, engine shutdown after consecutive failures, exponential-backoff reconnection, automatic recovery triggers, and example log messages.
Metrics docs
source/administration-guide/scale/performance-monitoring-metrics.rst
Added mattermost_search_engine_status Prometheus metric (binary status) to search metrics list for outage alerting.

Environment configuration settings

Layer / File(s) Summary
Table reformat / new setting
source/administration-guide/configure/environment-configuration-settings.rst
Reformatted query-timeout documentation table; added new analytics-query-timeout setting with System Console path, config.json path (.SqlSettings.AnalyticsQueryTimeout), env var (MM_SQLSETTINGS_ANALYTICSQUERYTIMEOUT), default and description.
Config declaration
source/administration-guide/configure/environment-configuration-settings.rst
Introduced .. config:setting:: analytics-query-timeout block with metadata (:displayname:, :systemconsole:, :configjson:, :environment:, :description:).

Sequence Diagram(s)

sequenceDiagram
    autonumber
    participant Mattermost as Mattermost Server
    participant SearchEngine as Elasticsearch/OpenSearch
    participant DB as Database
    participant Prom as Prometheus

    rect rgba(200,200,255,0.5)
    Mattermost->>SearchEngine: periodic health check
    end

    alt health OK
        SearchEngine-->>Mattermost: healthy
        Note right of Mattermost: continue using search engine
    else first failure
        SearchEngine-->>Mattermost: unhealthy
        Mattermost->>DB: route search queries to database (fallback)
        Mattermost->>Prom: expose metric mattermost_search_engine_status = 0
        Note right of Mattermost: start exponential-backoff retries
    end

    opt consecutive failures
        Mattermost->>SearchEngine: disable engine, stop forwarding
        Mattermost->>Prom: metric remains 0
    end

    opt recovery
        SearchEngine-->>Mattermost: responds healthy
        Mattermost->>SearchEngine: resume engine, re-evaluate config/license
        Mattermost->>Prom: metric mattermost_search_engine_status = 1
    end
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'V11.7 Docs' is vague and generic, using non-descriptive terms that do not convey meaningful information about the specific changes in the changeset. Provide a more descriptive title that reflects the main focus, such as 'Update documentation for v11.7 release' or 'Update ESR lifecycle and feature documentation for v11.7'.
Description check ❓ Inconclusive No pull request description was provided by the author, making it impossible to assess whether it relates to the changeset. Add a description explaining the purpose and scope of the documentation updates for the v11.7 release.
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch v11.7-documentation

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

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Sphinx documentation configuration to reflect the Mattermost 11.7 documentation version, aligning the docs build metadata with the “V11.7 Docs” release.

Changes:

  • Bumps the commented Sphinx version placeholder from 11.6 to 11.7.
  • Bumps the commented Sphinx release placeholder from 11.6 to 11.7.

@github-actions
Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA cb3019b

@github-actions
Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA ec06c14

@github-actions
Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA 9e260d9

@github-actions
Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA 9603a85

* Update ESR docs to reflect v10.11 end-of-life on August 15, 2026

Update placeholder ESR notices across docs to indicate that Mattermost
Server v10.11 ESR is coming to end of life on August 15, 2026, and that
upgrading to v11.7 or later is recommended. Also update upgrade path
examples to include v11.7 ESR.

Co-authored-by: Amy Blais <amyblais@users.noreply.github.com>

* Update common-esr-support-upgrade.md

* Update release-policy.md

---------

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Amy Blais <amyblais@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA b19d633

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@source/product-overview/release-policy.md`:
- Line 86: Replace the hardcoded absolute URLs in the sentence referencing the
v10.11 ESR and v11.7 ESR with repo-appropriate relative Markdown links: locate
the two inline links whose link text is "v10.11 ESR" and "v11.7 ESR" and convert
each href from the full https://docs.mattermost.com/... URL to the corresponding
relative path used by the repo (relative Markdown link syntax) so the links
point to the same internal doc pages without the external domain.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2bf7bc80-543f-4b69-8e1a-1ab4a9308fe9

📥 Commits

Reviewing files that changed from the base of the PR and between 9e260d9 and b19d633.

📒 Files selected for processing (5)
  • source/administration-guide/upgrade/prepare-to-upgrade-mattermost.rst
  • source/product-overview/common-esr-support-rst.rst
  • source/product-overview/common-esr-support-upgrade.md
  • source/product-overview/common-esr-support.md
  • source/product-overview/release-policy.md
✅ Files skipped from review due to trivial changes (4)
  • source/product-overview/common-esr-support-rst.rst
  • source/administration-guide/upgrade/prepare-to-upgrade-mattermost.rst
  • source/product-overview/common-esr-support.md
  • source/product-overview/common-esr-support-upgrade.md

Comment thread source/product-overview/release-policy.md
@github-actions
Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA 5c9347c

@github-actions
Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA 3459a12

* Add new ES/OS behaviour on outages

* Document new fast-fail behaviour and health metric
@github-actions
Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA 032c883

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@source/administration-guide/scale/common-configure-mattermost-for-enterprise-search.rst`:
- Line 43: The sentence currently reads as unconditional that "the Mattermost
Server will fall back on Database search"; update it to clarify the conditional
behavior: state that the server will fall back to Database Search only if
Database Search is enabled, and if Database Search has been disabled the server
cannot fall back and search will be unavailable during Elasticsearch/OpenSearch
outages. Update the sentence around the phrase "will fall back on Database
search" and keep the link to the outage handling FAQ (the :ref:`outage handling
FAQ <administration-guide/scale/enterprise-search:how does mattermost handle
elasticsearch or opensearch outages?>`) so readers know where to get details.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 727aeae4-b802-4ee3-8539-e45fb8cf416d

📥 Commits

Reviewing files that changed from the base of the PR and between b19d633 and f019823.

📒 Files selected for processing (3)
  • source/administration-guide/scale/common-configure-mattermost-for-enterprise-search.rst
  • source/administration-guide/scale/enterprise-search.rst
  • source/administration-guide/scale/performance-monitoring-metrics.rst
✅ Files skipped from review due to trivial changes (2)
  • source/administration-guide/scale/performance-monitoring-metrics.rst
  • source/administration-guide/scale/enterprise-search.rst

@github-actions
Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA f019823

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
source/administration-guide/configure/environment-configuration-settings.rst (1)

855-857: Keep table metadata row order consistent with nearby settings.

This table lists config.json before System Config path, which differs from the surrounding pattern. Reordering improves scanability and consistency.

Minimal suggested diff
-| The number of seconds to wait for a response from the database after opening a connection  | - ``config.json`` setting: ``SqlSettings`` > ``AnalyticsQueryTimeout`` > ``300`` |
-| and sending certain analytics queries. This setting only applies to long queries which are | - System Config path: **Environment > Database**                                 |
+| The number of seconds to wait for a response from the database after opening a connection  | - System Config path: **Environment > Database**                                 |
+| and sending certain analytics queries. This setting only applies to long queries which are | - ``config.json`` setting: ``SqlSettings`` > ``AnalyticsQueryTimeout`` > ``300`` |

As per coding guidelines, “Match nearby pages and local repo patterns before applying generic Markdown or English style rules.”

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@source/administration-guide/configure/environment-configuration-settings.rst`
around lines 855 - 857, The table row ordering is inconsistent with nearby rows;
move the "System Config path: **Environment > Database**" entry before the
"``config.json`` setting: ``SqlSettings`` > ``AnalyticsQueryTimeout`` > ``300``"
entry so the row lists System Config path first, then config.json, then
Environment variable (``MM_SQLSETTINGS_ANALYTICSQUERYTIMEOUT``), ensuring the
setting names (SqlSettings and AnalyticsQueryTimeout) remain unchanged and the
three columns stay aligned with surrounding rows.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@source/administration-guide/configure/environment-configuration-settings.rst`:
- Around line 845-852: Update the :displayname: metadata to match the section
heading's sentence case; change the existing ":displayname: Analytics Query
timeout" to ":displayname: Analytics query timeout" so the display name and the
heading ("Analytics query timeout") are consistent (verify the :description: and
heading text remain unchanged and use sentence case throughout).

---

Nitpick comments:
In
`@source/administration-guide/configure/environment-configuration-settings.rst`:
- Around line 855-857: The table row ordering is inconsistent with nearby rows;
move the "System Config path: **Environment > Database**" entry before the
"``config.json`` setting: ``SqlSettings`` > ``AnalyticsQueryTimeout`` > ``300``"
entry so the row lists System Config path first, then config.json, then
Environment variable (``MM_SQLSETTINGS_ANALYTICSQUERYTIMEOUT``), ensuring the
setting names (SqlSettings and AnalyticsQueryTimeout) remain unchanged and the
three columns stay aligned with surrounding rows.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d0b8eb79-1e65-464d-82a4-256b08f0eec3

📥 Commits

Reviewing files that changed from the base of the PR and between f019823 and 07ca0bd.

📒 Files selected for processing (1)
  • source/administration-guide/configure/environment-configuration-settings.rst

@github-actions
Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA 07ca0bd

@github-actions
Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA 27db3a8

@github-actions
Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA c3d07d4

@github-actions
Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA c609915

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

Newest code from mattermost has been published to preview environment for Git SHA fe2ea24

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Newest code from mattermost has been published to preview environment for Git SHA e221c46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Work In Progress Not yet ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants