Commit Graph

78 Commits

Author SHA1 Message Date
Piotr Sarnacki 2c37a05a97 Build on push 2024-07-18 11:54:08 +02:00
Ingvar Stepanyan cb2fbb9c4e [C#] Add Roslyn shapshot tests (#1399) 2024-06-11 19:04:16 +00:00
james gilles 638445293d Automated bot tests (#1255)
* Add script to dispatch bot tests to BitCraftBots

* Make sure results are named correctly, whoops

* Move results to a private bucket, whoops

* Pull in various fixes

* Safer for merge, don't run bot tests on every PR...

* Fix tracing patch

* Remove accidental file

* Test commit

* Test

* Test

* Fix results upload

* Address review comments
2024-05-31 17:52:22 +00:00
Noa 55b7cbe486 Let ProgramStorage::external be async (#1291)
* Let ProgramStorage::external be async

* Remove core::object_db

* Remove odb_rocksdb feature

* Fix typo

* More resilient conflict avoidance
2024-05-24 21:28:54 +00:00
Zeke Foppa 0bf5d7495d Fix workflow_dispatch for ci.yml (#1295)
* [bfops/fix-workflow-dispatch]: fix

* [bfops/fix-workflow-dispatch]: empty

* [bfops/fix-workflow-dispatch]: fix?

* [bfops/fix-workflow-dispatch]: fix?

---------

Co-authored-by: Zeke Foppa <github.com/bfops>
2024-05-24 17:09:41 +00:00
Zeke Foppa 93b9d7690d CI workflows support workflow_dispatch event (#1289)
* [bfops/ci-dispatch]: workflow update

* [bfops/ci-dispatch]: empty

* [bfops/ci-dispatch]: update

* [bfops/ci-dispatch]: update

* [bfops/ci-dispatch]: update

* [bfops/ci-dispatch]: update

---------

Co-authored-by: Zeke Foppa <github.com/bfops>
2024-05-24 02:56:23 +00:00
Zeke Foppa 669d48713b Fix #1180: Add PR status check that fails unless based on master (#1213)
* [bfops/fix-github-action]: fix?

* [bfops/fix-github-action]: empty

---------

Co-authored-by: Zeke Foppa <github.com/bfops>
2024-05-13 16:33:42 +00:00
John Detter b275dbfee8 spacetime build uses --project-path param (#1212)
* `spacetime build` uses `--project-path` param

* Fix smoketests

* Another small fix

* Another fix

---------

Co-authored-by: John Detter <no-reply@boppygames.gg>
2024-05-09 16:56:43 +00:00
Noa 3b754f10b1 Bump to Rust 1.78 (#1205)
* Bump to rust 1.78

* Fix lints
2024-05-08 14:20:12 +00:00
Zeke Foppa 6810821cbb Add PR status check that fails unless based on master (#1180)
* [bfops/block-pr-chain]: empty

* [bfops/block-pr-chain]: workflow

* [bfops/block-pr-chain]: fix

* [bfops/block-pr-chain]: update

* [bfops/block-pr-chain]: update

---------

Co-authored-by: Zeke Foppa <github.com/bfops>
2024-05-01 17:38:20 +00:00
james gilles f42383869a Fix iai-callgrind rustc version mismatch (#1025)
* Fix iai-callgrind rustc version mismatch

* Two spaces

* Future-proof
2024-04-15 18:49:21 +00:00
joshua-spacetime 5203b01fa6 refactor(1058): Remove feature flag for disabling metrics (#1059)
Closes #1058.
2024-04-09 20:25:32 +00:00
Noa 540c519002 Rewrite smoketests as python unittests (#692)
* Rewrite smoketests as python unittests

* Get all tests working and do some work on parallel unittest

* Give up on parallel unittests

* Fix CI + address comments

* Fix skip-clippy arg confusion (just use the env var)

* fix ci

* Add comments
2024-03-14 02:47:38 +00:00
james gilles 00aa2eedb4 Adjust benchmarks yaml to run callgrind plus with better comments (#907) 2024-02-28 21:45:36 +00:00
james gilles a0a18ddd57 Rename types in benchmarks (#803)
* Rename types in benchmarks, modify benches run in action

* Fix lints
2024-02-23 20:30:59 +00:00
Zeke Foppa 3357d8304f Add GitHub workflow to check for PRs with merge-blocking labels (#862)
* [bfops/deny-merge-labels]: add gh workflow to check merge-blocking labels

* [bfops/deny-merge-labels]: fix?

* [bfops/deny-merge-labels]: fix?

* [bfops/deny-merge-labels]: fix?

* [bfops/deny-merge-labels]: fix?

* [bfops/deny-merge-labels]: fix?

* [bfops/deny-merge-labels]: fix?

* [bfops/deny-merge-labels]: fix?

* [bfops/deny-merge-labels]: fix?

* [bfops/deny-merge-labels]: fix?

* [bfops/deny-merge-labels]: fix?

* [bfops/deny-merge-labels]: fix?

* [bfops/deny-merge-labels]: fix?

* [bfops/deny-merge-labels]: fix?

* [bfops/deny-merge-labels]: fix?

* [bfops/deny-merge-labels]: fix?

* [bfops/deny-merge-labels]: simplify
2024-02-22 00:17:35 +00:00
Noa e6cef1b627 Fix bench errors and include in CI (#855) 2024-02-16 19:15:13 +00:00
Piotr Sarnacki 531ca340f4 Add workflow to tag latest docker image on release (#756) 2024-02-14 17:02:40 +00:00
John Detter 8adad4c4da Verify that the upgrade-version tool still works for every PR (#825)
* Update upgrade-version tool

* Verify that version upgrade still works for every PR

* Add git diff to the end of CI

---------

Co-authored-by: Noa <coolreader18@gmail.com>
Co-authored-by: John Detter <no-reply@boppygames.gg>
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
2024-02-13 17:29:27 +00:00
Noa b4f75d272f Bump Rust to 1.76.0 (#811)
* Bump Rust to 1.76.0

* Fix new clippy lints

* Use rust-toolchain in smoketests
2024-02-09 19:40:03 +00:00
james gilles b7c8a089d4 Remove separate callgrind please script (#800) 2024-02-07 16:58:42 +00:00
james gilles a13c1363a9 Unify benchmark runs (to some extent) (#742)
* Unify benchmark runs (to some extent)

* Another yml fix
2024-02-06 18:27:23 +00:00
joshua-spacetime 5df73e89e7 feat(748): Add compile time feature flag for db metrics (#749)
Closes #748.

This patch adds a temporary feature flag for enabling db metrics.

Metrics are recorded synchronously at the moment.
This can have a noticable impact on latency.

Compiling with this flag will enable metrics collection.
This new flag will be turned on by default.
Hence metrics will be collected by default.

Note this flag is temporary.
It will be removed once metrics are recorded async.
2024-01-27 01:33:26 +00:00
james gilles 72f1550453 Check benchmarks on CI + disable callgrind benchmarks on non-Linux (#752)
* Check benches on CI + disable callgrind benches on Windows

* Fix cfg syntax
2024-01-25 13:48:18 +00:00
james gilles bcffb5de80 Fix callgrind action again (#718) 2024-01-18 17:36:19 +00:00
james gilles 11cd68a299 Fix benchmark actions (#715)
* Clean up after callgrind action

* Remove extraneous step in callgrind action

* Also fix regular benchmarks

* Additional callgrind benchmarks fix
2024-01-11 23:18:22 +00:00
james gilles 26263cbd5f Rebase callgrind benchmark work (#619) 2024-01-10 18:53:51 +00:00
Noa 395c527d23 Try bumping actions/checkout to fix benchmarks please (#710) 2024-01-09 20:25:38 +00:00
Noa 98e995304e Fix master commit benchmarks run (#658) 2023-12-12 18:54:14 +00:00
joshua-spacetime 31cf742530 chore: Temporarily disable failing smoke tests (#656) 2023-12-11 22:27:46 +00:00
Noa 3052f3f406 Try fix mergegroup ci 2023-12-11 16:27:20 -06:00
Noa 00f42e9ecb Try fix mergegroup ci 2023-12-11 16:12:47 -06:00
Noa 534f89c8c2 Enable CI on merge group (#655) 2023-12-11 21:56:57 +00:00
Piotr Sarnacki 45ce5b4353 Merge docker images from multiple platforms (#640)
Because we build our docker images in more than one job, they are also
pushed as separate images. This commit adds a script that will merge the
images into a multiplatform manifest
2023-12-08 21:06:35 -06:00
Kim Altintop 4b9f30f5a0 ci: Exercise the right discipline to restart docker containers (#632)
One does not simply restart a docker container. But when you do,
SpacetimeDB also restarts.
2023-12-07 19:32:19 +01:00
joshua-spacetime b5978ccba4 fix: Temporarily disable flaky smoketests (#629) 2023-12-05 09:34:51 -08:00
Ingvar Stepanyan 4f74a5c5c6 Move to .NET 8 WASI support (#587) 2023-11-30 14:54:26 +00:00
Noa bb453b1419 Simplify contributor check (#565) 2023-11-16 09:10:09 -06:00
Piotr Sarnacki dedd5a7991 Disable latest docker tag (#546) 2023-11-13 21:27:43 +01:00
John Detter 2ffea9b0ba Desparse Tar Files When Building (#544)
* Fix sparse tar issue

* Bump CI

* I think this is the right argument

* Use dd on mac because cp doesn't support the option we need

* Removed unused package

---------

Co-authored-by: John Detter <no-reply@boppygames.gg>
2023-11-13 13:55:01 -06:00
John Detter e7ce07b783 Builds CLIs on release/* branches (#545)
Co-authored-by: John Detter <no-reply@boppygames.gg>
2023-11-08 21:09:24 -06:00
Noa 593702c88d fix benchmarks run on master (#487) 2023-11-01 16:21:49 -05:00
John Detter 3d37f1d07d Improved Clairity of CI Names (#455)
* Updated names, improved clarity

* Do not set latest by default

---------

Co-authored-by: John Detter <no-reply@boppygames.gg>
2023-10-27 13:27:56 -05:00
Noa cbbd998424 Fix benchmarks please 100% (#481) 2023-10-26 15:56:38 -04:00
Noa c34ace3b11 Ok NOW fix benchmarks please (#480) 2023-10-26 18:04:53 +00:00
Noa 3a1be087e0 Fix benchmarks please contributor check (#479) 2023-10-26 13:33:34 -04:00
Noa 427270c1b0 Use gh actions for benchmarks please (#464) 2023-10-25 23:36:09 -05:00
Ingvar Stepanyan 4f901ab538 Optimise binaries with wasm-opt (#423) 2023-10-17 16:25:20 +01:00
Piotr Sarnacki e19099d882 Run docker build on tags too (#421) 2023-10-17 09:04:10 +02:00
james gilles a952b19e5b Improve benchmark result reporting (#357)
* Add script to summarize benchmark results

* Mess with github actions benchmark script

* Formatting fixes

* Comment

* Bring back commit comments, upload to DO Spaces

* Remove cache

We now have servers for benchmarks outside of GH infrastructure and
downloading cache takes way more time than its worth it

* base and head refs are not needed anymore

* Run benchmarks only on master

* Test a branch build

* Fix branch becnhmarks path

* test

* Run only on master again

---------

Signed-off-by: Piotr Sarnacki <drogus@gmail.com>
Co-authored-by: Piotr Sarnacki <drogus@gmail.com>
2023-10-16 22:52:27 +02:00