Nutomic
Nutomic
Good job, thank you!
Waiting for @dullbananas to have another look, after that we can merge.
Here are two blog posts related to Postgres testing. The first one also mentions some problems that happen when using migrations for tests. https://blog.dogac.dev/pg-test-table-track/ https://calpaterson.com/against-database-teardown.html And some discussion about these...
A full CI run on main branch currently takes 49 minutes. Of that 21 min are unit tests, 11 min are clippy, federation tests only 7 min. I actually wrote...
Yes it needs some adjustments but you can see the general idea. For Lemmy it should work like this: - Create single cluster with `pg_ctl init` - Create multiple databases...
The post I [linked above](https://blog.dogac.dev/pg-test-table-track/) describes why transactions dont work well for tests. Having multiple DBs is not complicated, and we are already doing teardowns now.
You can also ask the db-pool maintainer to lower the minimum Rust version. With stable Rust even incremental builds will be extremely slow (5 minutes or more) which makes development...
Best open a PR with what you have so far, then we can have a look directly.
I can definitely see how this would be useful, though Im unsure whats the best way to do it. Having admins manually enter freeform data sounds like a hassle, and...
Right its better to use `/api/v3/site` and other endpoints, rather than duplicating the same info.