Skip to content

[pull] master from mattermost:master#814

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

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

Conversation

@pull

@pull pull Bot commented Jul 4, 2026

Copy link
Copy Markdown

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 : )

#37345)

* [MM-69688] Fix /share-channel status Last Sync always showing --

GetRemotesStatus never selected the sync cursor columns, so
SharedChannelRemoteStatus.NextSyncAt was always the zero value and
formatTimestamp rendered "--". Select GREATEST of the LastPostUpdateAt
and LastMembersSyncAt cursors as LastSyncAt and render that field.

Co-authored-by: mattermost-code <matty-code@mattermost.com>

* [MM-69688] Cover LastSyncAt in GetRemotesStatus store test

Advance the post and members sync cursors and assert GetRemotesStatus
reports LastSyncAt as the greater of the two, and reports zero when a
remote has never synced.

Co-authored-by: mattermost-code <matty-code@mattermost.com>

* [MM-69688] Add command and formatTimestamp coverage for Last Sync

Add doStatus command-layer tests asserting the /share-channel status
output renders a timestamp for a synced remote and "--" for an
unsynced one, a formatTimestamp unit test for the zero/today/older
branches, and harden the store test so both GREATEST operands are
non-zero.

Co-authored-by: mattermost-code <matty-code@mattermost.com>

* [MM-69688] Assert the non-today timestamp format in formatTimestamp test

Co-authored-by: mattermost-code <matty-code@mattermost.com>

* Trigger CI re-run after transient Postgres shard 3 Docker Hub failure

Co-authored-by: mattermost-code <matty-code@mattermost.com>

* [MM-69688] Include LastPostCreateAt in Last Sync computation

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: mattermost-code <matty-code@mattermost.com>
@pull pull Bot locked and limited conversation to collaborators Jul 4, 2026
@pull pull Bot added the ⤵️ pull label Jul 4, 2026
@pull pull Bot merged commit 7434f99 into code:master Jul 4, 2026
1 check passed
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.

0 participants