Skip to content

Conversation

@jason-famedly
Copy link
Contributor

Lot of things going on here:

  1. Enable the new media_repo_instances list for media workers
  2. Add the new test package directory in Complement
  3. Turn on msc3911_enabled
  4. Make sure to route to workers when that mode is enabled

There is an additional temporary commit to be removed before merging. It exists to override the branch name of Complement to pull for testing. Once this is merged it should automatically allow the Synapse branch of msc3911 to target msc3911 branch on the Complement repo. Other branches/PRs should pull from the main branch, unless there exists a branch of exactly the same name on both repos. E.g. if my PR has the branch name jason/cool-fixes it will search for that exact same branch name on Complement before falling back to main

@jason-famedly jason-famedly changed the title chore: Complement chore(MSC3911): Complement Sep 25, 2025
@jason-famedly jason-famedly force-pushed the jason/msc3911-complement-hookups branch from ea48c2b to 7a5eff1 Compare September 26, 2025 15:02
fi

(wget -O - "https://github.com/matrix-org/complement/archive/$BRANCH_NAME.tar.gz" | tar -xz --strip-components=1 -C complement) && break
(wget -O - "https://github.com/famedly/complement/archive/msc3911.tar.gz" | tar -xz --strip-components=1 -C complement) && break
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Before this change is merged, I need to revert the commit that changes the $BRANCH_NAME to msc3911 in this line, so the branch match-up feature works as expected

@jason-famedly jason-famedly force-pushed the jason/msc3911-complement-hookups branch from 7a5eff1 to 0ad7963 Compare October 2, 2025 19:08
@jason-famedly
Copy link
Contributor Author

Had a fix for nonexistent/unreachable servers when trying a media copy while setting a profile avatar included here, I've now broken that out into a separate PR

@jason-famedly jason-famedly marked this pull request as ready for review October 27, 2025 10:54
@jason-famedly jason-famedly requested a review from a team as a code owner October 27, 2025 10:54
@jason-famedly
Copy link
Contributor Author

The tests that are failing are expected to. Especially the one about the avatar url, which requires #148

@jason-famedly
Copy link
Contributor Author

As a future NOTE: if we ever merge master into this to update the underlying version of Synapse, then we need to remember to update the docs for our new settings

@jason-famedly
Copy link
Contributor Author

waiting on merging famedly/complement#3 before reverting the temporary commit here, than can merge

@jason-famedly jason-famedly force-pushed the jason/msc3911-complement-hookups branch from 0ad7963 to ca89fbf Compare November 6, 2025 11:46
…ing github actions

Somehow, PyO3 version 0.24.1 is being used which only has support for
Python <= 3.13 even though the version pinned in Cargo.toml is 0.25.1.

It is unknown where exactly this version of PyO3 is coming from, but
caching oddities are suspected

Revert this after Synapse is overall bumped to Python 3.14 in v1.142.0
@jason-famedly jason-famedly force-pushed the jason/msc3911-complement-hookups branch from c2ef7ac to f65fb91 Compare November 6, 2025 16:46
@jason-famedly
Copy link
Contributor Author

jason-famedly commented Nov 6, 2025

I have spent far to long today on trying to find out why I can not see test output for the tests added for MSC3911. I suspect with all the errors from known tests that will fail because this version of Synapse is so far behind, the preemptive exiting is hiding the test output. I know it works fine locally, as nothing is cut off. But it does not show here. I dislike this, but do not know what to do to fix it that is worth the effort(see: update underlying synapse version) outside of attempting to save the complement log itself somehow instead of relying on the gotestfmt formatted output that is possibly cutting off the additional data

@jason-famedly jason-famedly merged commit 0ae5375 into msc3911 Nov 18, 2025
75 of 90 checks passed
@jason-famedly jason-famedly deleted the jason/msc3911-complement-hookups branch November 18, 2025 15:27
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.

3 participants