Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Local environment mode / integration testing setup #200

Merged
merged 5 commits into from
Dec 9, 2023

Conversation

matheus23
Copy link
Member

This implements some plans from https://talk.fission.codes/t/meeting-notes-control-panel-needs-from-fission-server-roadmap

When you set this in settings.toml for the server:

[server]
environment = "local"

And start the fission server binary as normal, then you won't need to provide an API key for mailgun, but it'll still work.

Verification codes will be logged & sent on the websocket relay (with the email being the topic name).
This allows programatic integration testing without requiring mailgun access.

Previously we forwarded all `close` ws messages to all other peers in the same topic,
causing them all to disconnect once a single peer disconnects.
@matheus23 matheus23 self-assigned this Dec 8, 2023
Copy link

codecov bot commented Dec 8, 2023

Codecov Report

Merging #200 (2dee5e1) into main (add13f7) will decrease coverage by 0.48%.
The diff coverage is 11.05%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #200      +/-   ##
==========================================
- Coverage   18.63%   18.16%   -0.48%     
==========================================
  Files          62       63       +1     
  Lines        2522     2588      +66     
  Branches     1556     1599      +43     
==========================================
  Hits          470      470              
- Misses       1428     1492      +64     
- Partials      624      626       +2     
Files Coverage Δ
fission-server/src/extract/authority.rs 29.16% <ø> (ø)
fission-server/src/lib.rs 100.00% <ø> (ø)
fission-server/src/models/account.rs 44.00% <ø> (ø)
fission-server/src/models/email_verification.rs 22.58% <ø> (+11.10%) ⬆️
fission-server/src/models/volume.rs 0.00% <ø> (ø)
fission-server/src/routes/account.rs 17.64% <ø> (ø)
fission-server/src/routes/auth.rs 22.22% <ø> (ø)
fission-server/src/routes/capability_indexing.rs 25.00% <ø> (ø)
fission-server/src/routes/doh.rs 19.23% <ø> (ø)
fission-server/src/routes/health.rs 51.85% <ø> (ø)
... and 11 more

@matheus23 matheus23 merged commit 652c373 into main Dec 9, 2023
7 of 8 checks passed
@matheus23 matheus23 deleted the matheus23/local-dev-mode branch December 9, 2023 23:01
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.

1 participant