Skip to content

Fix compilation of oauth under WASM and remove experimental-oidc feature#4830

Merged
stefanceriu merged 7 commits intomatrix-org:mainfrom
zecakeh:oauth-wasm32
Mar 24, 2025
Merged

Fix compilation of oauth under WASM and remove experimental-oidc feature#4830
stefanceriu merged 7 commits intomatrix-org:mainfrom
zecakeh:oauth-wasm32

Conversation

@zecakeh
Copy link
Copy Markdown
Collaborator

@zecakeh zecakeh commented Mar 22, 2025

Can be reviewed commit by commit:

  • The first commits fix compilation of the module under WASM
  • The last commit removes the experimental-oidc feature. Now that it compiles under WASM and that the API was cleaned up, it should be stable enough.

Closes #4593.

@zecakeh zecakeh requested a review from a team as a code owner March 22, 2025 09:43
@zecakeh zecakeh requested review from stefanceriu and removed request for a team March 22, 2025 09:43
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.49%. Comparing base (dcd0e07) to head (05f112f).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4830      +/-   ##
==========================================
- Coverage   86.50%   86.49%   -0.01%     
==========================================
  Files         297      297              
  Lines       34600    34600              
==========================================
- Hits        29930    29927       -3     
- Misses       4670     4673       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zecakeh zecakeh force-pushed the oauth-wasm32 branch 3 times, most recently from 94fe083 to 9214135 Compare March 22, 2025 11:06
Copy link
Copy Markdown
Member

@stefanceriu stefanceriu left a comment

Choose a reason for hiding this comment

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

Beautiful, thank you very much Kevin! 🙏

@stefanceriu
Copy link
Copy Markdown
Member

I don't know why it's complaining about conflicts, a rebase looks fine on my side ¯_(ツ)_/¯

It usually won't be possible to write data to a file.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
@stefanceriu stefanceriu enabled auto-merge (rebase) March 24, 2025 11:49
zecakeh added 6 commits March 24, 2025 12:49
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
They almost all require a mock server.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Now that is compiles under WASM and that the API was cleaned up, it
should be okay.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Since it requires the crypto store.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
@zecakeh
Copy link
Copy Markdown
Collaborator Author

zecakeh commented Mar 24, 2025

Sorry, I just rebased on main because GitHub was telling me there was a conflict. I didn't get any conflict while rebasing though.

@stefanceriu stefanceriu merged commit aa07108 into matrix-org:main Mar 24, 2025
42 checks passed
@zecakeh zecakeh deleted the oauth-wasm32 branch March 24, 2025 12:41
@bnjbvr
Copy link
Copy Markdown
Contributor

bnjbvr commented Mar 25, 2025

Wow, congratulations Kevin on getting this through the finish line, amazing work as usual! 🥳

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.

Migrate from mas-oidc (adding wasm support to sdk-ffi crate)

3 participants