npm i @cloudflare/wrangler@1.8.0-rc.0 -g
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error: internal compiler error: encountered incremental compilation error with mir_built(f7969781c554dfb1-7eef3987a206662) | |
| | |
= help: This is a known issue with the compiler. Run `cargo clean -p apollo_router` or `cargo clean` to allow your project to compile | |
= note: Please follow the instructions below to create a bug report with the provided information | |
= note: See <https://github.com/rust-lang/rust/issues/84970> for more information | |
thread 'rustc' panicked at 'Found unstable fingerprints for mir_built(f7969781c554dfb1-7eef3987a206662): Steal { value: RwLock(RefCell { value: Some(Body { basic_blocks: BasicBlocks { basic_blocks: [BasicBlockData { statements: [StorageLive(_3), StorageLive(_4), StorageLive(_5), _5 = &((*_1).0: std::sync::Mutex<plugin::test::service::__mock_MockRouterService::__call::Matcher>)], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[0] }, kind: _4 = std::sync::Mutex::<__mock_MockRouterSer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# This script performs a subgraph check and generates a markdown file from Rover's JSON output | |
# Change the following line to refer to your graph ref, schema, and subgraph name | |
CHECK_OUTPUT=$(rover subgraph check my-graph --schema ./products.graphql --name products --output json) | |
CHECK_SUCCESS=$(echo $CHECK_OUTPUT | jq '.data.success') | |
if [ $CHECK_SUCCESS = "true" ]; then | |
echo "### Check Success" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"changelog": { | |
"prefix": "changelog", | |
"body": [ | |
"- **${1:Summary} - [${2:Author}], [issue/${3:Issue #}] [pull/${4:PR #}]**\n\n ${5:Detailed description}\n\n [$2]: https://github.com/$2\n [pull/$4]: https://github.com/EverlastingBugstopper/chrome-devtools-rs/pull/$4\n [issue/$3]: https://github.com/EverlastingBugstopper/chrome-devtools-rs/issues/$3" | |
], | |
"description": "changelog boilerplate" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-08-11T20:35:50.912Z","extensionVersion":"v3.4.3"} |
Note: This how-to was made for use on a Macbook. I believe it should work as intended on Linux as well, but some changes will need to be made - especially with regard to opening Firefox automatically.
If you're not familiar with cargo-flamegraph
, or flamegraphs in general, I'd recommend taking a look at this documentation.
- You must have cargo installed
- You must have Google Chrome installed
Thanks for trying this out! We're really excited about this feature and hope you are too :)
If you haven't used Wrangler to build/publish your worker projects yet, we recommend checking out our Workers Quickstart before going any further.
This feature is in alpha and it almost definitely has bugs and the way you use wrangler dev
in the future may be slightly different than you use it today. Proceed with caution!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"changelog": { | |
"prefix": "changelog", | |
"body": [ | |
" - **${1:Summary} - [${2:Author}], [issue/${3:Issue #}] [pull/${4:PR #}]**\n\n ${5:Detailed description}\n\n [$2]: https://github.com/$2\n [pull/$4]: https://github.com/apollographql/router/pull/$4\n [issue/$3]: https://github.com/apollographql/router/issues/$3" | |
], | |
"description": "changelog boilerplate" | |
} | |
} |
$ wrangler publish --env staging
Error: ⚠️ Your environment should only include `workers_dot_dev` or `route`. If you are trying to publish to workers.dev, remove `route` from your wrangler.toml, if you are trying to publish to your own domain, remove `workers_dot_dev`.
$ wrangler publish --env staging
Error: ⚠️ Your environment should only include `workers_dot_dev` or `route`. If you are trying to publish to workers.dev, remove `route` from your wrangler.toml, if you are trying to publish to your own domain, remove `workers_dot_dev`.