-
Notifications
You must be signed in to change notification settings - Fork 253
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
chore: merge main into prod for v0.12.0 #730
Commits on Oct 25, 2022
-
feat: shuttle-serenity initial commit poc (shuttle-hq#429)
* feat: shuttle-serenity initial commit poc * remove shuttle-service * refactor: drop more shuttle_service stuff * refactor: drop default serenity framework * misc: add wasm32-wasi to nix shell * refactor: cargo sort * refactor: cargo fmt Co-authored-by: chesedo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a1c5fc5 - Browse repository at this point
Copy the full SHA a1c5fc5View commit details -
shuttle next wrapper POC (shuttle-hq#431)
* feat: runtime skeleton * feat: cleanup * feat: update cargo.lock, sort deps * fix: typo
Configuration menu - View commit details
-
Copy full SHA for f7e09b6 - Browse repository at this point
Copy the full SHA f7e09b6View commit details
Commits on Oct 26, 2022
-
refactor: create runtimes workspace (shuttle-hq#432)
* refactor: rename plugins to runtimes * refactor: drop serenity folder * refactor: rename runtime to shuttle-next * refactor: prepare shuttle-legacy runtime
Configuration menu - View commit details
-
Copy full SHA for f6e1766 - Browse repository at this point
Copy the full SHA f6e1766View commit details -
feat: add --provisioner-address arg to both runtimes (shuttle-hq#433)
* refactor: fix up dependencies * feat: add --provisioner-address to both runtimes
Configuration menu - View commit details
-
Copy full SHA for e773225 - Browse repository at this point
Copy the full SHA e773225View commit details
Commits on Oct 27, 2022
-
feat: create a control plane interface (part 1) (shuttle-hq#436)
* feat: add proto for runtimes * refactor: legacy move main to lib * feat: impl Runtime server for legacy * feat: impl Runtime server for next
Configuration menu - View commit details
-
Copy full SHA for 37ade4c - Browse repository at this point
Copy the full SHA 37ade4cView commit details -
refactor: combine runtimes into one (shuttle-hq#438)
* feat: add --legacy flag * refactor: merge next and legacy runtimes * refactor: merge proto crates * refactor: rename to runtime * refactor: promote runtime * refactor: update README.md * refactor: cargo sort
Configuration menu - View commit details
-
Copy full SHA for da46e60 - Browse repository at this point
Copy the full SHA da46e60View commit details
Commits on Oct 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 67a4e91 - Browse repository at this point
Copy the full SHA 67a4e91View commit details
Commits on Nov 1, 2022
-
feat: move factory to runtime (shuttle-hq#444)
* feat: initial commit of moving factory to runtime * feat: replace deployer factory with dummy, clean commented code * feat: update legacy runtime readme
Configuration menu - View commit details
-
Copy full SHA for 5546fb2 - Browse repository at this point
Copy the full SHA 5546fb2View commit details
Commits on Nov 4, 2022
-
WIP feat: start runtime from deployer (shuttle-hq#450)
* WIP feat: start runtime from deployer * feat: attempt to start runtime as a child process * fix: add current dir * feat: clean up, update readme * feat: use cargo manifest dir for runtime path * refactor: clean up, fmt * refactor: clippy warnings for Eq Co-authored-by: chesedo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e8ce8b - Browse repository at this point
Copy the full SHA 0e8ce8bView commit details
Commits on Nov 14, 2022
-
feat: get logs from runtime (shuttle-hq#459)
* feat: get logs from runtime * refactor: trim down deployer * refactor: start runtime earlier * refactor: connect to client earlier * refactor: hook runtime logs to persistence * bug: associate deployment id with logs * refactor: cleanup * feat: make sure grpc connection stays open
Configuration menu - View commit details
-
Copy full SHA for ee342e4 - Browse repository at this point
Copy the full SHA ee342e4View commit details
Commits on Nov 21, 2022
-
feat(shuttle-next): first edition of axum-wasm router (shuttle-hq#472)
* feat(shuttle-next): POC of axum wasm router * feat: use std mutex * feat: serialize/deserialize http requests to rmp this serializes/deserializes http requests across the ffi to the axum-wasm router, using the rust messagepack dataformat. sending the body is still a wip * feat: serialize the full HTTP req/res to rmp * fix: comment typo * feat: start hyper with tonic and serve wasm router * feat: clone inner router arc * feat: send request body without serialization * docs: todo comment * feat: write response body * fix: serialize response parts * feat: deserialize parts directly from reader this also adds a new fd to separate streaming of body and parts * feat: add axum-wasm to runtime cli * refactor: remove unused method * refactor: typo Co-authored-by: Pieter <[email protected]> * refactor: comments, clean up wrappers * refactor: move axum-wasm utils to shuttle-common * refactor: fmt * refactor: clippy Co-authored-by: Pieter <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 019764e - Browse repository at this point
Copy the full SHA 019764eView commit details
Commits on Nov 24, 2022
-
Feat(shuttle-next): stop runtime services (shuttle-hq#481)
* feat: add tonic endpoint to stop runtime services * refactor: use tracing * feat: implement stop method for serenity bot * feat: install protoc 21.9 in dockerfile * refactor: comment * feat: convert uuid bytes to string then uuid * docs: update readme * docs: update readme for serenity bot * feat: implement stop for axum-wasm and document it * ci: install newer protoc in CI * feat: remove axum-wasm feature in runtime for now we will come back to this later and likely split the runtime by features * docs: remove feature flags from readme * fix: clippy * fix: clippy * fix: clippy * feat: send kill signal without spawning task * feat: return error response on kill_tx err
Configuration menu - View commit details
-
Copy full SHA for f913b8a - Browse repository at this point
Copy the full SHA f913b8aView commit details -
feat(next): expand macro into axum routes (shuttle-hq#488)
* feat: app codegen model * refactor: qualify all namespaces * feat: low-level wasi export fn * refactor: restrict to supported axum methods
Configuration menu - View commit details
-
Copy full SHA for c2b0f63 - Browse repository at this point
Copy the full SHA c2b0f63View commit details
Commits on Dec 4, 2022
-
Feat: parse shuttle::endpoint macro (shuttle-hq#490)
* feat: parse params * feat: parse app * feat: add test for missing endpoint attribute * test: invalid args, params and syntax * feat: check for and test no params * feat: don't emit error for missing annotation this way users can create separate functions for their endpoint logic * fix: remove missing attribute error, not param * refactor: reword comment Co-authored-by: Pieter <[email protected]> * feat: duplicate param test, address review * feat: only strip endpoint attributes * feat: check for extra endpoint attributes * refactor: clearer error span for extra endpoints * feat: has_err variable to group param errors * refactor: remove optional hint Co-authored-by: Pieter <[email protected]> * docs: add TODO for multiple endpoint attributes Co-authored-by: Pieter <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 16abe40 - Browse repository at this point
Copy the full SHA 16abe40View commit details
Commits on Dec 21, 2022
-
feat: merge main into shuttle-next (shuttle-hq#543)
* feat(blog): add missing sqlx migration code to auth blog post (shuttle-hq#408) * feat(blog): add missing sqlx migration code * fix: nit * misc: 0.7.0 (shuttle-hq#407) * misc: drop patches * infra: pin postgres to version 14 * refactor: fix thruster example app name * infra: db_fqdn fix * tests: warp hello world * fix(cargo-shuttle): prevent crash when config owned by root (shuttle-hq#409) * fix: use correct timeout start point (shuttle-hq#410) * fix: use correct timeout start point * tweak health check frequency * fmt * feat(deployer): implement container memory limits (shuttle-hq#411) * feat(deployer): implement container memory limits * test: fix warp integration test * bug: `transport error` when trying to connect to provisioner (shuttle-hq#416) * bug: keep provisioner connections alive * refactor: reduce scope provisioner client is running * feat: gateway admin revive (shuttle-hq#412) * feat: gateway admin command (revive) * fmt * clippy * refactor: revive deployers using GatewayService * tests: add ContextArgs * refactor: simplify passing around of fqdn * tests: update test archive * refactor: remove stray exec.rs file * refactor: unused is_error() Co-authored-by: chesedo <[email protected]> * bug: timeout curl health check on deployer (shuttle-hq#415) * Article/beta article (shuttle-hq#420) * updated docs url * beta article w/ damiens corrections * Feat(www): shuttle beta signup (shuttle-hq#421) * feat(www): add beta signup form * feat: add formspree endpoint * feat: remove socials footer from beta page * feat: add dummy text above sign up form * feat: placeholder gif * feat: align dummy text left * feat: remove gif, add text * feat: update beta page text * feat: update the rest of the site * bug: Fix thruster postgres example (shuttle-hq#414) * feat: shell completions (shuttle-hq#343) * bug: package Secrets.toml (shuttle-hq#422) * bug: package Secrets.toml * refactor: clippy suggestion * bug: big archives being cut off at 32 768 bytes (shuttle-hq#423) * refactor: set chunked header * refactor: don't send stream across threads Doing this is causing us to loose everything after 32 768 bytes. Don't know the reason why 🤷 * refactor: fix health check * refactor: remove unused use * chore: v0.7.1 (shuttle-hq#424) * chore: v0.7.1 * chore: resources v0.7.1 * docs: v0.7.1 * tests: v0.7.1 * tests: fix warp test * tests: fix warp test * tests: fix secrets e2e test * ci: remove hard coded DD env * misc: unintended shell changes * refactor: cargo check suggestion * refactor: provide better context for errors (shuttle-hq#430) * refactor: do our own health checks on deployer containers (shuttle-hq#427) * refactor: do our own health checks on deployer containers We are doing this because the docker health checks eats up 25% of a single CPU core and we are spinning up many of these containers. https://www.reddit.com/r/docker/comments/b68r53/healtchecks_add_high_cpu_load/ moby/moby#39102 * refactor: clippy suggestion * bug: clear build folder before extracting (shuttle-hq#428) * refactor: make sure extract directory is created * tests: test build folder is cleared * bug: clear the build directory * added some images (shuttle-hq#435) * feat(www): beta blog updates (shuttle-hq#434) * feat: add captioned image component (shuttle-hq#440) * feat: add captioned image component * feat: update images * feat: add header caption * fix: quotes in header * www: post small tweaks (shuttle-hq#439) * a few tweaks to the article * feat: update gif Co-authored-by: oddgrd <[email protected]> * feat: replace cursed gif (shuttle-hq#441) * Feat/update contributing (shuttle-hq#426) * feat(docs): update contributing.md * feat(e2e): make e2e admin user unique * feat(e2e): clean up e2e test projects on test complete * feat(e2e): don't fail on superuser conflict * feat: add section about contributing to docs * feat: remove unwrap, add comment to drop impl * tests: update e2e test key Co-authored-by: chesedo <[email protected]> * chore: v0.7.2 (shuttle-hq#442) * chore: v0.7.2 * chore: resources v0.7.2 * docs: v0.7.2 * misc: v0.7.2 * misc: script to deploy all examples * misc: targets for publishing crates * misc: remove old scripts * misc: instructions for next steps * misc: get Cargo.lock changes * misc: update .PHONY * misc: show usage * feat: link the tracing spans between services (shuttle-hq#445) * ci: DD environments * refactor: try lowering broadcast channel for quicker feedback * refactor: propagate tracing across threads in deployer * refactor: propagate tracing between gateway and deployer * refactor: trace account name * refactor: associate project with each container * feat: trace and propagate proxy in gateway * feat: gateway record project * refactor: tracing use 'error' for errors * refactor: fix comment * refactor: drop recording unused field * Add docker-compose extra flags param in Makefile (shuttle-hq#446) * Add docker-compose extra flags param * rename to avoid confusion * misc: restructure repo (shuttle-hq#453) * misc: only run e2e on production * misc: move www to shuttle-hq/www repo * misc: move examples to shuttle-hq/examples repo * refactor: update links to examples repo * ci: remove checking fmt of examples * ci: checkout submodules * refactor: tf files have been moved to shuttle-hq/terraform-aws-shuttle * fix: wrap around common::ProjectName for parsing (shuttle-hq#451) * fix: gateway state drifts, health checks and project recreation (shuttle-hq#447) * misc: add more helpful flags to Makefile * misc: remove old migrator (shuttle-hq#463) * feat: add account_tier column (shuttle-hq#458) * feat: prefetch shuttle-service crates (shuttle-hq#461) * feat: prefetch shuttle-service crates * refactor: add comment to prepare.sh files * Feat: revive via gateway endpoint (shuttle-hq#460) * feat: revive via gateway api initial commit * feat: cleanup, document gateway testing * refactor: use post for revive endpoint Co-authored-by: Damien <[email protected]> * feat: send task to global queue Co-authored-by: Damien <[email protected]> * feat: create a new admin cli binary crate (shuttle-hq#462) * feat: init shuttle-admin * feat: add args * feat: simple client * feat: read api_key * refactor: hook it all together * refactor: switch to post * fix: broken link (shuttle-hq#467) * fix: add timeout to health checks (shuttle-hq#468) * fix: add timeout to health checks * Parameterise the timeout * rollback on inadvertent circleci change * misc: log out a warning when a task has been running for a long time * longer timeouts * Address review * Fmt * feat(gateway): add custom domains table and routing (shuttle-hq#465) * WIP feat: count recent start events before restart (shuttle-hq#469) * feat: count recent start events before restart * feat: try_collect and handle error in start counter * fix: clippy * refactor: gateway clippy * feat: make deployer only answer its own project (shuttle-hq#466) * feat: make deployer only answer its own project * bug: use correct project name * refactor: make backwards compatible * Fixed Links in Readme (shuttle-hq#477) * refactor: base client error off response status code (shuttle-hq#470) * refactor: base client error off response status code * Update common/src/models/error.rs Co-authored-by: Oddbjørn Grødem <[email protected]> * refactor: use tracing Co-authored-by: Oddbjørn Grødem <[email protected]> * feat: verify project exists before sending destroy task (shuttle-hq#474) * feat: add a custom domains admin route (shuttle-hq#473) Co-authored-by: Alex Krantz <[email protected]> * bug: deployer freezes (shuttle-hq#478) * bug: reduce spawning to have deployer lock up less * refactor: don't return cargo logs * ci: green (shuttle-hq#482) * tests: allow longer time for build * refactor: trim dependencies on persist * refactor: clippy suggestion * feat: TLS acceptor with SNI resolver (shuttle-hq#471) * fix: custom domain routing (shuttle-hq#484) * refactor: more metrics (shuttle-hq#475) * feat: add more metric dimensions to deployer * feat: add more metric dimensions to gateway * refactor: common metrics code * refactor: forward account name * refactor: add backend feature to deployer * refactor: standardize naming * refactor: cargo sort * misc: configurable deployment tags (shuttle-hq#486) * feat: gateway restores removed containers (shuttle-hq#485) * fix: backend bumps and hot fixes (shuttle-hq#487) * Feature/support actix web (shuttle-hq#491) * Support actix-web: impl Service * Support actix-web: cli + boilerplate code * Support actix-web: add framework to doc comment * Support actix-web: add e2e test * Support actix-web: fmt * Support actix-web: sorting toml deps * Support actix-web: add actix-web to ci * Support actix-web: formatted boilerplate code for actix-web hello world example * Support actix-web: formatted boilerplate code for actix-web hello world example Support actix-web: update cargo lock zstd dep * Support actix-web: simplify example * Support actix-web: add test, change example dependency * fix: e2e test assert, reset example module Co-authored-by: maksim <[email protected]> Co-authored-by: oddgrd <[email protected]> * Doc: Fix command to prime database with docker-compose (shuttle-hq#502) Signed-off-by: Federico Guerinoni <[email protected]> Signed-off-by: Federico Guerinoni <[email protected]> * Doc: Improve contributing documentation (shuttle-hq#499) In the doc it mentions to go to subfolder of examples but it was not there :). Signed-off-by: Federico Guerinoni <[email protected]> Signed-off-by: Federico Guerinoni <[email protected]> * feat: static file support for a single folder (shuttle-hq#501) * feat: static-folder resource * refactor: make local client work * refactor: make local deployer work * feat: storage_manager * refactor: comments * refactor: remove unwraps and expects * refactor: update tests * refactor: clippy suggestion * refactor: update version * refactor: update readme * refactor: update comment * refactor: change public to static * ci: add static-folder * refactor: code fixes * refactor: update tests * refactor: update description Co-authored-by: Damien <[email protected]> Co-authored-by: Damien <[email protected]> * ci: build binary (shuttle-hq#483) * ci: build binary * ci: make tar archive * ci: make GH draft release with artifacts * ci: add aarch64 * ci: get version from tag * ci: rename to linux builds * ci: add windows * ci: add macos * ci: test all * ci: put all the artifacts under a command * ci: only on tagged * ci: restore old * ci: fix windows * ci: put archive in separate folder * ci: switch to tar * ci: restore old * refactor: better `cargo-binstall` support Co-authored-by: Isaiah Gamble <[email protected]> * refactor: binary name Co-authored-by: Isaiah Gamble <[email protected]> Co-authored-by: Isaiah Gamble <[email protected]> * feat: bump rust to 1.64, bump dependencies (shuttle-hq#495) * feat: bump rust to 1.64, correct contributing.md bug * feat: bump service deps, change example branch * fix: pin chrono to 4.22 * chore: upgrade workspace dependencies * feat: remove aws-smithy-types ref: smithy-lang/smithy-rs#1760 * feat: upgrade axum to 0.6 in common * feat: upgrade to axum 0.6.0 in deployer * feat: upgrade gateway to axum 0.6.0 * feat: upgrde sqlx to 0.6.2 in gateway * feat: bump chrono to 0.4.23 * feat: replace deprecated chrono functions in deployer * feat: bump chrono in common * feat: ignore actix integration test * feat: implement new state extractor in gateway * feat: interactive project initialization (shuttle-hq#498) * feat: bump pinned rust version to 1.65 (shuttle-hq#504) * feat: bump pinned rust version to 1.65 lockfile update is from binary dist PR shuttle-hq#483 * ci: install newer protoc * fix: special module name warning * fix: clippy * feat: install newer protoc in dockerfile as well * misc: env updates (shuttle-hq#509) * ci: update toolchain for binaries * misc: update dev environment * misc: remove patches from Cargo.lock * feat: make the folder configurable (shuttle-hq#508) * feat: make the folder configurable * Update resources/static-folder/README.md Co-authored-by: Damien <[email protected]> Co-authored-by: Damien <[email protected]> * feat: implement workspace inheritance (shuttle-hq#506) * refactor: switch away from cargo package (shuttle-hq#507) * feat: add spinner wait for `project new` and `project status --follow` (shuttle-hq#503) Signed-off-by: Federico Guerinoni <[email protected]> Co-authored-by: oddgrd <[email protected]> * fix: capitalise correctly (shuttle-hq#511) * fix: make nice (shuttle-hq#512) * feat: find (soon to be) invalid project names (shuttle-hq#479) * feat: find (soon to be) invalid project names * refactor: move logic to admin client * refactor: missed axum 0.6 update (shuttle-hq#513) * feat: build tests in release profile, limit build workers (shuttle-hq#514) * feat: build tests in release profile, limit build workers * fix: typo in manifests * feat: create `init` project from correct dir (shuttle-hq#518) * misc: interactive init gif (shuttle-hq#519) * Feat/set examples submodule to main (shuttle-hq#520) * feat: revert examples submodule back to main * feat: un-ignore actix tests * chore: 0.8.0 (shuttle-hq#521) * chore: bump examples (shuttle-hq#522) * bug: hacking static folders (shuttle-hq#524) * fix: actix integration with state (shuttle-hq#523) * feat(gateway,deployer): add more tracing events (shuttle-hq#500) * feat(deployer): add more tracing events * feat(gateway): add more tracing events * feat: canonicalize before trace (shuttle-hq#531) * feat: 'clean' subcommand (shuttle-hq#530) * feat: 'clean' subcommand * refactor: output cleaning is done * Feat/set cpu limit (shuttle-hq#529) * feat: remove redundant actix worker limit * feat: remove redundant build job limit * feat: set cpu limit for deployer container * fix: limit actix worker and build jobs to 4 * feat: add panamax for mirroring crates.io (shuttle-hq#525) * feat: build queue (shuttle-hq#532) * feat: per-project parallelism (shuttle-hq#533) * feat: temp validation of project name in gateway (shuttle-hq#534) * fix(deployer): keep Cargo.lock between deployments (shuttle-hq#517) * ci: remove build and push req on build binaries (shuttle-hq#535) * refactor: don't crash when failing to release slot (shuttle-hq#536) * refactor: release build slot parse type correctly (shuttle-hq#538) * refactor: remove prefetch (shuttle-hq#539) * feat: add cron job for syncing mirror (shuttle-hq#537) * chore: bump cargo-shuttle to 0.8.1 (shuttle-hq#540) * chore: bump cargo-shuttle to 0.8.1 * chore: cargo.lock * refactor: update manifests and lockfile implement workspace inheritance for runtime, and remove default-features from shuttle-service * refactor: fmt * fix: unused imports, add runtime to deploymentmanager * feat: move storagemanager to common * fix: storage manager imports * fix: codegen test with outdated expected error * fix: service tests after removing service default features * fix: deployer tests after removing service default features * fix: typo * ci: attempt to fix protoc error * fix: deployer runtime client connection * refactor: remove redundant feature flags * refactor: remove storage_manager from deployer crate Signed-off-by: Federico Guerinoni <[email protected]> Co-authored-by: Pieter <[email protected]> Co-authored-by: Alexander Krantz <[email protected]> Co-authored-by: Damien <[email protected]> Co-authored-by: Ivan <[email protected]> Co-authored-by: Peter Mertz <[email protected]> Co-authored-by: XyLyXyRR <[email protected]> Co-authored-by: Damien <[email protected]> Co-authored-by: Nereuxofficial <[email protected]> Co-authored-by: Maxim <[email protected]> Co-authored-by: maksim <[email protected]> Co-authored-by: Federico Guerinoni <[email protected]> Co-authored-by: Isaiah Gamble <[email protected]> Co-authored-by: Stijn ("stain") Seghers <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b6e668b - Browse repository at this point
Copy the full SHA b6e668bView commit details
Commits on Dec 22, 2022
-
refactor: one store per request (shuttle-hq#510)
* refactor: read from file * refactor: make store for every request
Configuration menu - View commit details
-
Copy full SHA for a4ef6c3 - Browse repository at this point
Copy the full SHA a4ef6c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4dd391 - Browse repository at this point
Copy the full SHA c4dd391View commit details
Commits on Dec 28, 2022
-
Feat: shuttle next bump deps (shuttle-hq#551)
* fix: axum tests * feat: bump wasmtime crates
Configuration menu - View commit details
-
Copy full SHA for 1487ddf - Browse repository at this point
Copy the full SHA 1487ddfView commit details
Commits on Jan 4, 2023
-
feat: return streaming body from wasm router (shuttle-hq#558)
* feat: stream body to and from router * fix: reader to stream hack didn't work in wasm I added a post endpoint and test, which proved that my hacky stream from BufReader didn't work on the wasm side * refactor: test string * feat: update codegen with axum-wasm changes * refactor: clean up * refactor: typo * feat: guard against large request bodies
Configuration menu - View commit details
-
Copy full SHA for 9db7f90 - Browse repository at this point
Copy the full SHA 9db7f90View commit details
Commits on Jan 6, 2023
-
feat: embed runtime into client and deployer (shuttle-hq#559)
* refactor: runtime startup code * feat: hook cli to runtime * feat: hook up logs * feat: custom port * feat: start a next project with the local runner * feat: embed executable * refactor: axum update * refactor: tonic version from workspace * refactor: kill runtime correctly * feat: DB resources for local runs * feat: static folders for local runs * feat: secrets for local runner * refactor: cleanup logs and errors * refactor: rebuild runtime if it changed * refactor: more comments * feat: minimal axum logs * refactor: unneeded default features * refactor: fix rerun-if for runtime * bug: codegen handle_request * refactor: restore db error
Configuration menu - View commit details
-
Copy full SHA for c34d5e4 - Browse repository at this point
Copy the full SHA c34d5e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7ff85f - Browse repository at this point
Copy the full SHA d7ff85fView commit details -
feat: refactor router and router inner (shuttle-hq#566)
* refactor: clean up imports * refactor: remove RouterInner * feat: handle wasi errors * feat: handle_request error handling * docs: comments * refactor: make hyper dev-dep, better error message * fix: axum-wasm missed import and bracket
Configuration menu - View commit details
-
Copy full SHA for 8324824 - Browse repository at this point
Copy the full SHA 8324824View commit details
Commits on Jan 10, 2023
-
feat: hook in runtime logs (shuttle-hq#568)
* feat: simple wasm log to send over unix socket * feat: hook up logs subscription * refactor: extra comments * refactor: simpler interface * refactor: combine JsonVisitors * refactor: clippy suggestions * refactor: update tests * refactor: extra comment * refactor: increase channel for better performance * refactor: move off stderr
Configuration menu - View commit details
-
Copy full SHA for 5b033d0 - Browse repository at this point
Copy the full SHA 5b033d0View commit details
Commits on Jan 11, 2023
-
misc: merge main (shuttle-hq#572)
* Merge remote-tracking branch 'upstream/main' into shuttle-next * refactor: touch ups
Configuration menu - View commit details
-
Copy full SHA for 9697090 - Browse repository at this point
Copy the full SHA 9697090View commit details -
Configuration menu - View commit details
-
Copy full SHA for a660b15 - Browse repository at this point
Copy the full SHA a660b15View commit details
Commits on Jan 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 509e373 - Browse repository at this point
Copy the full SHA 509e373View commit details -
* feat: shuttle-next crate for better DX * refactor: trim dependencies * bug: fix next check * ci: add shuttle-runtime * refactor: activating missing features on dependencies * refactor: update to shuttle_next::endpoint
Configuration menu - View commit details
-
Copy full SHA for 39c9d1c - Browse repository at this point
Copy the full SHA 39c9d1cView commit details
Commits on Jan 16, 2023
-
feat: get runtime binary from cargo install (shuttle-hq#578)
* feat: get runtime binary from cargo install * refactor: remove build.rs * refactor: determine environment with debug assertions * ci: comment out cargo-sort installation * fix: clippy * feat: use cargo home dir, install runtime in prepare.sh * fix: unused import * refactor: build from local version in prepare.sh * fix: local debug run installing from incorrect path * feat: canonicalize path to debug runtime * feat: set release runtime install branch to prod * refactor: move secondary protoc install to common stage
Configuration menu - View commit details
-
Copy full SHA for b17b3a1 - Browse repository at this point
Copy the full SHA b17b3a1View commit details -
feat: deployer next (shuttle-hq#575)
* feat: propagate next runtime * feat: store is_next in DB * feat: runtime manager to allow deployer to start up both runtimes * feat: make sure tests run * refactor: better migration query * refactor: handle runtime errors better * feat: shutdown runtimes * bug: missing so * bug: stop services * bug: ffi and runtime manager not living long enough * bug: missing so error * refactor: run cleanups * refactor: clippy suggestions
Configuration menu - View commit details
-
Copy full SHA for cc072b2 - Browse repository at this point
Copy the full SHA cc072b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8414714 - Browse repository at this point
Copy the full SHA 8414714View commit details
Commits on Jan 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 05f7469 - Browse repository at this point
Copy the full SHA 05f7469View commit details -
refactor: proto fixups (shuttle-hq#585)
* refactor: comment * refactor: restore binding to external address
Configuration menu - View commit details
-
Copy full SHA for 325b90f - Browse repository at this point
Copy the full SHA 325b90fView commit details -
Feat: cleanup fds and tmp (shuttle-hq#586)
* feat: remove redundant body fd and /tmp * feat: update codegen * refactor: remove tmp from workspace exclude * ci: next patch and wasi target
Configuration menu - View commit details
-
Copy full SHA for 35c0660 - Browse repository at this point
Copy the full SHA 35c0660View commit details -
refactor: unwraps and mor (shuttle-hq#587)
* refactor: better error handling * refactor: trim mutexes * refactor: remove abstract factory * refactor: remove extension todo
Configuration menu - View commit details
-
Copy full SHA for a8b6166 - Browse repository at this point
Copy the full SHA a8b6166View commit details
Commits on Jan 23, 2023
-
feat: build our images with the release profile (shuttle-hq#583)
* feat: build our images with the release profile Currently our containerfile builds images with the default debug profile, which means when `get_runtime_executable` is called it will try to install from a checked out local version of `shuttle-runtime`. * feat: add build arg for cargo profile * refactor: update comment * fix: broken codegen/axum test * feat: install wasm32-wasi target in deploy.sh * feat: build deps in `CARGO_PROFILE` * feat: use closure to determine shuttle-runtime path * fix: path to runtime in docker deployer, clippy * fix: incorrect function for cargo home * refactor: always use cargo_home for path to runtime in deployer
Configuration menu - View commit details
-
Copy full SHA for d191d66 - Browse repository at this point
Copy the full SHA d191d66View commit details
Commits on Mar 3, 2023
-
Feature/eng 378 axum wasm multiple handlers per endpoint (shuttle-hq#588
) * refactor: clean up if let * feat: move method validation, add test for it * test: add test for chained endpoint handlers * feat: chain endpoints with the same address * feat: duplicate method error, handler chain bug fix chaining handlers with a full type path caused a bug where a `,` was inserted, I think the reason is that `path` types can't be followed by `.`. Importing all the routing methods in `app` works, but it is not ideal * refactor: remove some clones * refactor: remove unwrap Co-authored-by: Pieter <[email protected]> * feat: use BTreeMap for building endpoint chains * fix: only add namespace to first handler in chain * fix: skip rustfmt for quote in app_to_token test rustfmt will add a comma to the expected output, which will also be done in the expanded macro output, but not in the stringified output * refactor: revert btreemap change * docs: document why we sort the endpoint chains --------- Co-authored-by: Pieter <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3dc3ac7 - Browse repository at this point
Copy the full SHA 3dc3ac7View commit details -
refactor: find code to wrap legacy runtime (shuttle-hq#675)
* refactor: find code to wrap legacy runtime * misc: update README with test instructions
Configuration menu - View commit details
-
Copy full SHA for 91a9fdd - Browse repository at this point
Copy the full SHA 91a9fddView commit details -
feat: remove box self from services, remove syncwrapper from axum ser…
…vice (shuttle-hq#677) * feat: remove box self from all services * feat: remove syncwrapper from axum integration
Configuration menu - View commit details
-
Copy full SHA for 69b82e6 - Browse repository at this point
Copy the full SHA 69b82e6View commit details -
Fix/move docker profiles to dev (shuttle-hq#674)
* refactor: move docker profiles to dev.yml * docs: update comment in makefile
Configuration menu - View commit details
-
Copy full SHA for 91f12b4 - Browse repository at this point
Copy the full SHA 91f12b4View commit details
Commits on Mar 6, 2023
-
feat: extract next runtime into separate binary (shuttle-hq#679)
* feat: extract next runtime into separate binary * fix: remove startrequestsservice name
Configuration menu - View commit details
-
Copy full SHA for 52096fc - Browse repository at this point
Copy the full SHA 52096fcView commit details -
Feature: remove tokio runtime from all resources (shuttle-hq#680)
* feat: remove runtime from resources * fix: compile errors, comments * fix: remove comment
Configuration menu - View commit details
-
Copy full SHA for 3489e83 - Browse repository at this point
Copy the full SHA 3489e83View commit details -
feat: trim the service loader, unpin tokio (shuttle-hq#681)
* feat: trim the serviceloader, unpin tokio * fix: tokio sync is needed * feat: unpin tokio in runtime as well * fix: static folder tests need tokio rt * feat: rename loader, build_crate return bin path * fix: build_Crate invalid args
Configuration menu - View commit details
-
Copy full SHA for 8be4742 - Browse repository at this point
Copy the full SHA 8be4742View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6279c6 - Browse repository at this point
Copy the full SHA a6279c6View commit details
Commits on Mar 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0fecace - Browse repository at this point
Copy the full SHA 0fecaceView commit details -
Feature/eng 477 make wasm dependencies optional (shuttle-hq#688)
* feat: make wasm runtime dependencies optional * feat: feature gate next lib, update readme * ci: rename loader feature in ci * refactor: hyper with server feature in next features
Configuration menu - View commit details
-
Copy full SHA for a93ba51 - Browse repository at this point
Copy the full SHA a93ba51View commit details -
Feature: eng 465 update all the codegens (shuttle-hq#686)
* feat: initial commit of codegen rewrite * refactor: wrapper to loader * tests: update the unit tests * fix: don't unwrap return type * feat: setup tracing in loader codegen * fix: pass inn logger to loader * feat: mvp of shuttle-next local run * refactor: move logger to runtime * refactor: move storagemanager export to runtime
Configuration menu - View commit details
-
Copy full SHA for 3699f7f - Browse repository at this point
Copy the full SHA 3699f7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67cf6bd - Browse repository at this point
Copy the full SHA 67cf6bdView commit details
Commits on Mar 8, 2023
-
bug: idle static folder (shuttle-hq#692)
* misc: add more logs * bug: copy static folder * bug: extra subdirectory
Configuration menu - View commit details
-
Copy full SHA for 9fa862e - Browse repository at this point
Copy the full SHA 9fa862eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 349f578 - Browse repository at this point
Copy the full SHA 349f578View commit details
Commits on Mar 9, 2023
-
Feature: eng 483 trim and fix the tests in shuttle-service (shuttle-h…
…q#693) * tests: update build_crate tests * tests: remove loader tests * feat: cleanup service deps * feat: setup integration tests in runtime * feat: expected panic message for not_shuttle * refactor: simplify dummy provisioner * feat: re-export main and service from runtime
Configuration menu - View commit details
-
Copy full SHA for 4e1690d - Browse repository at this point
Copy the full SHA 4e1690dView commit details
Commits on Mar 10, 2023
-
fix: Respect
Cargo.lock
when building containers (shuttle-hq#700)Building the shuttle containers was failing during the `cargo chef cook` step because of a cyclic dependency introduced by an upstream crate. This did not happen when building outside of a container, because the versions pinned by `Cargo.lock` did not contain any cycles. See tkaitchuck/aHash#95
Configuration menu - View commit details
-
Copy full SHA for 9f7a482 - Browse repository at this point
Copy the full SHA 9f7a482View commit details -
ci: resolve CI errors in shuttle-next (shuttle-hq#580)
* test: compile wasm module in axum runtime test setup * ci: add next patch override to CI * ci: include wasm32-wasi target in rust install * fix: deployer tests where runtime fails to start * fix: incorrect provisioner address * feat: log service state changes in runtime * feat: don't send stop req on startup failure * refactor: unused imports * refactor: handling legacy panics * tests: deadlock less * refactor: fixups * refactor: clippy suggestions * tests: mock provisioner * refactor: restore capture from 'log' and colors * refactor: clippy suggestions * tests: longer wait * tests: don't panic while holding lock * tests: don't panic on stream closed * tests: don't filter out state logs * tests: bigger timeout * ci: remove duplicate patch * refactor: comments --------- Co-authored-by: chesedo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for adf8926 - Browse repository at this point
Copy the full SHA adf8926View commit details
Commits on Mar 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 60be73d - Browse repository at this point
Copy the full SHA 60be73dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e88558 - Browse repository at this point
Copy the full SHA 4e88558View commit details -
Feature/eng 486 update deployer with runtime changes (shuttle-hq#696)
* feat: update deployer to work with runtime changes * feat: pass next feature flag to runtime installs * fix: revert this change, the error is a rust-analyzer bug * tests: make deployer test resources bins * ci: add shuttle-runtime patch to CI * refactor: consistent naming * fix: redundant clone of runtime manager * feat: delete rocket bin from runtime * feat: make storagemanager a trait object * docs: add comment about why we use arc * refactor: use &str in storagemanager * feat: add runtime patch to deployer * fix: deployer logic bug, add debug logs
Configuration menu - View commit details
-
Copy full SHA for 66ba530 - Browse repository at this point
Copy the full SHA 66ba530View commit details -
feat: extract service integrations into separate crates (shuttle-hq#702)
* feat: draft of extracting service integrations * refactor: revert codegen changes * refactor: depend on shuttle_runtime & service integration * feat: remove rocket bin, comment out version check * feat: impl from for integration wrapper * feat: cleanup shuttle-axum docs, remove version check * feat: actix-web service integration * feat: extract poem service integration * feat: extract poise service integration * feat: extract rocket service integration * feat: extract salvo service integration * feat: extract the serenity service integration * feat: extract the thruster service integration * feat: extract warp service integration * feat: extract the tower service integration * feat: delete persist from service * feat: extract tide service integration * feat: update cargo.lock * feat: make service integration inner pub * fix: merge fixes * refactor: rename integrations, remove comment * ci: run check-standalone on services * feat: update test resources * ci: refactor workspace-clippy job * fix: add tokio dev dep to services * fix: remaining services tests
Configuration menu - View commit details
-
Copy full SHA for c6061be - Browse repository at this point
Copy the full SHA c6061beView commit details
Commits on Mar 14, 2023
-
[next] tests: CI go green (shuttle-hq#704)
* tests: thread local tracing * tests: bind panic in runtime * tests: post create project params * tests: fix cargo-shuttle * misc: std missing from tracing * tests: update main test for shuttle runtime * ci: merge workspace jobs * ci: move service to platform tests * ci: better names * refactor: trim dependencies Trim dependencies to minimize the build times of user projects. * refactor: catch error and panics in main * tests: trim cargo-shuttle tests Make sure there is only one main test for each major vector / feature. * refactor: missing serde derive * refactor: missing serde std * ci: balance machines * tests: give more time * ci: bump images more * ci: bump workspace image * ci: 2xlarge not available '/
Configuration menu - View commit details
-
Copy full SHA for 69819c9 - Browse repository at this point
Copy the full SHA 69819c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f80ee8 - Browse repository at this point
Copy the full SHA 9f80ee8View commit details -
Feature: eng 484 update init with codegen changes (shuttle-hq#706)
* feat: update init boilerplate with shuttle-next changes * tests: update shuttle_init_tests * tests: ignore broken integration tests * feat: refactor init to create bin * fix: bug when passing path to init
Configuration menu - View commit details
-
Copy full SHA for 918829b - Browse repository at this point
Copy the full SHA 918829bView commit details -
fix: codegen clippy (shuttle-hq#709)
* fix: codegen clippy * fix: clippy
Configuration menu - View commit details
-
Copy full SHA for db09323 - Browse repository at this point
Copy the full SHA db09323View commit details -
misc: v0.12.0-rc1 (shuttle-hq#708)
* misc: v0.12.0-rc1 * misc: publish proto * refactor: remove relative from build.rs * refactor: add description to proto * refactor: make runtime publishable * refactor: make actix publishable * feat: make shuttle-axum publishable * feat: make poem publishable * feat: make poise publishable * feat: make shuttle-rocket publishable * refactor: make warp publishable * refactor: make tower publishable * refactor: make tide publishable * refactor: make thruster publishable * refactor: make serenity publishable * refactor: make salvo publishable --------- Co-authored-by: oddgrd <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f73d61 - Browse repository at this point
Copy the full SHA 9f73d61View commit details -
[next] refactor: update runtime manager (shuttle-hq#711)
* refactor: allow multiple runtimes to run at the same time This is needed so that a new deployment can enter the loading state without killing currently running runtimes. * refactor: extra comment
Configuration menu - View commit details
-
Copy full SHA for add6a8e - Browse repository at this point
Copy the full SHA add6a8eView commit details -
Feature: eng 497 update or remove the docs in shuttle (shuttle-hq#710)
* docs: update service docs * docs: move service crate-docs to runtime * docs: update main readme * tests: fix init test
Configuration menu - View commit details
-
Copy full SHA for f21d0dd - Browse repository at this point
Copy the full SHA f21d0ddView commit details -
refactor: rename legacy runtime to alpha (shuttle-hq#713)
* refactor: rename legacy runtime to alpha
Configuration menu - View commit details
-
Copy full SHA for ff2ba8a - Browse repository at this point
Copy the full SHA ff2ba8aView commit details
Commits on Mar 15, 2023
-
refactor: move next to services (shuttle-hq#714)
* refactor: move next to services * ci: correct next * refactor: align folder
Configuration menu - View commit details
-
Copy full SHA for 95fe7ad - Browse repository at this point
Copy the full SHA 95fe7adView commit details -
[next] refactor: remove ids from runtime (shuttle-hq#712)
* refactor: remove deployment id * refactor: create proto LogItem directly * refactor: more tracing for local binary * misc: add kondo to env * refactor: clippy suggestion * tests: update
Configuration menu - View commit details
-
Copy full SHA for 2ea253a - Browse repository at this point
Copy the full SHA 2ea253aView commit details -
feat: embed protoc in shuttle-proto (shuttle-hq#715)
* feat: embed protoc in shuttle-proto * fix: path to shuttle-next in runtime next-resource
Configuration menu - View commit details
-
Copy full SHA for a588e25 - Browse repository at this point
Copy the full SHA a588e25View commit details
Commits on Mar 16, 2023
-
[next] bug: communicating resources (shuttle-hq#716)
* refactor: send claim to provisioner * feat: recording of provisioned resources This returns provisioned resources from runtime so that they can be recorded by deployer. Closes #ENG-252. * refactor: restore resources for idle containers waking up * tests: next tests using wrong folder * tests: swap rocket for the more stable poem * refactor: pass auth_uri to runtime * misc: update all patches
Configuration menu - View commit details
-
Copy full SHA for 6c02135 - Browse repository at this point
Copy the full SHA 6c02135View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ea3159 - Browse repository at this point
Copy the full SHA 5ea3159View commit details -
fix: static folder local run clearing file contents, add missing test…
…s in cargo-shuttle (shuttle-hq#717) * fix: static folder local run clearing file contents * fix: clippy * fix: cargo shuttle init tests not logging in * fix: bail if non-interactive and --new without api-key * fix: update codegen tests
Configuration menu - View commit details
-
Copy full SHA for 3cff60d - Browse repository at this point
Copy the full SHA 3cff60dView commit details -
[next] refactor: tracing (shuttle-hq#719)
* refactor: use tracing setup helper * refactor: better trace propagation * refactor: clippy suggestion
Configuration menu - View commit details
-
Copy full SHA for 9471ed5 - Browse repository at this point
Copy the full SHA 9471ed5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d7b126 - Browse repository at this point
Copy the full SHA 2d7b126View commit details
Commits on Mar 17, 2023
-
refactor: pull out vendored protoc from shuttle-proto (shuttle-hq#726)
* feat: use grpcio to avoid needing protoc * refactor: remove vendored protoc, revert to tonic otlp
Configuration menu - View commit details
-
Copy full SHA for 5e1e527 - Browse repository at this point
Copy the full SHA 5e1e527View commit details -
[next] bug: misc fixes (shuttle-hq#725)
* bug: thread local logging breaking serenity * refactor: patch all crates * refactor: extend tokens to 15 minutes
Configuration menu - View commit details
-
Copy full SHA for ee04376 - Browse repository at this point
Copy the full SHA ee04376View commit details
Commits on Mar 20, 2023
-
bug: next runtime not sending stop signal (shuttle-hq#728)
* bug: next runtime not sending stop signal * refactor: better unwrap
Configuration menu - View commit details
-
Copy full SHA for ba66b33 - Browse repository at this point
Copy the full SHA ba66b33View commit details -
chore: v0.12.0 (shuttle-hq#727)
* chore: v0.12.0 * chore: bump examples
Configuration menu - View commit details
-
Copy full SHA for 72ce9b4 - Browse repository at this point
Copy the full SHA 72ce9b4View commit details -
Merge pull request shuttle-hq#579 from shuttle-hq/shuttle-next
feat: shuttle-next
Configuration menu - View commit details
-
Copy full SHA for b6d7b6f - Browse repository at this point
Copy the full SHA b6d7b6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c30a893 - Browse repository at this point
Copy the full SHA c30a893View commit details