From f4222c144bcde8e27ee93786bfd1ea316a6432ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heath=20Dutton=F0=9F=95=B4=EF=B8=8F?= Date: Sat, 17 Jan 2026 12:44:25 -0500 Subject: [PATCH 1/2] Enhance troubleshooting instructions for Spark deployment Added additional troubleshooting steps for deploying Spark. --- content/copilot/tutorials/spark/deploy-from-cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/copilot/tutorials/spark/deploy-from-cli.md b/content/copilot/tutorials/spark/deploy-from-cli.md index b164bc8b22a3..4bb901e6b58a 100644 --- a/content/copilot/tutorials/spark/deploy-from-cli.md +++ b/content/copilot/tutorials/spark/deploy-from-cli.md @@ -68,4 +68,4 @@ The {% data variables.product.prodname_spark_short %} CLI currently only works w ## Troubleshooting -If you're being asked to supply the `--app` parameter when deploying your spark, update to the latest version of the {% data variables.product.prodname_spark_short %} SDK by following step 1 in [Build your spark](#build-your-spark). +If you're being asked to supply the `--app` parameter when deploying your spark, update to the latest version of the {% data variables.product.prodname_spark_short %} SDK by following step 1 in [Build your spark](#build-your-spark). If that does not work, ensure you have a `runtime.config.json` file containing `{"app": ""}` and you can then use `--app ` to deploy. From 48de77cdc8e024821661b3c769c1ad89c1784b7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heath=20Dutton=F0=9F=95=B4=EF=B8=8F?= Date: Sat, 17 Jan 2026 13:00:01 -0500 Subject: [PATCH 2/2] Improve troubleshooting section formatting and clarity Address review feedback: - Format as numbered list for better readability - Add JSON code block for runtime.config.json content - Specify file location (project root alongside package.json) - Explain that app name is typically the repository name - Add example command showing --app parameter usage --- .../copilot/tutorials/spark/deploy-from-cli.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/content/copilot/tutorials/spark/deploy-from-cli.md b/content/copilot/tutorials/spark/deploy-from-cli.md index 4bb901e6b58a..d212dc347f13 100644 --- a/content/copilot/tutorials/spark/deploy-from-cli.md +++ b/content/copilot/tutorials/spark/deploy-from-cli.md @@ -68,4 +68,18 @@ The {% data variables.product.prodname_spark_short %} CLI currently only works w ## Troubleshooting -If you're being asked to supply the `--app` parameter when deploying your spark, update to the latest version of the {% data variables.product.prodname_spark_short %} SDK by following step 1 in [Build your spark](#build-your-spark). If that does not work, ensure you have a `runtime.config.json` file containing `{"app": ""}` and you can then use `--app ` to deploy. +If you're being asked to supply the `--app` parameter when deploying your spark, try the following steps: + +1. Update to the latest version of the {% data variables.product.prodname_spark_short %} SDK by following step 1 in [Build your spark](#build-your-spark). +1. If that does not work, create a `runtime.config.json` file in the root of your project (the same directory as your `package.json` file) with the following content: + + ```json copy + {"app": "YOUR-APP-NAME"} + ``` + + Replace `YOUR-APP-NAME` with the name of your {% data variables.product.prodname_spark_short %} app, which is usually the same as your repository name. +1. Alternatively, specify your app name directly by using the `--app` parameter when you deploy: + + ```bash copy + gh runtime-cli deploy --dir ./dist --app YOUR-APP-NAME + ```