From 90f595792ba5fc1820d693c7648db4e7352b7b0c Mon Sep 17 00:00:00 2001 From: Sam Browning <106113886+sabrowning1@users.noreply.github.com> Date: Wed, 14 Sep 2022 13:34:39 -0400 Subject: [PATCH 1/3] Adds information and links about automatic deletion of inactive codespaces --- .../developing-in-codespaces/codespaces-lifecycle.md | 2 ++ .../developing-in-codespaces/deleting-a-codespace.md | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/content/codespaces/developing-in-codespaces/codespaces-lifecycle.md b/content/codespaces/developing-in-codespaces/codespaces-lifecycle.md index 6dfc8e8970..38aaf02c1a 100644 --- a/content/codespaces/developing-in-codespaces/codespaces-lifecycle.md +++ b/content/codespaces/developing-in-codespaces/codespaces-lifecycle.md @@ -69,6 +69,8 @@ You can create a codespace for a particular task and then safely delete the code If you try to delete a codespace with unpushed git commits, your editor will notify you that you have changes that have not been pushed to a remote branch. You can push any desired changes and then delete your codespace, or continue to delete your codespace and any uncommitted changes. You can also export your code to a new branch without creating a new codespace. For more information, see "[Exporting changes to a branch](/codespaces/troubleshooting/exporting-changes-to-a-branch)." +Codespaces that remain unused for a specified period of time will be deleted automatically. By default, an unused codespace will be deleted after 30 days, but you can customize your codespace retention period. For more information, see "[Configuring automatic deletion of your codespaces](/codespaces/customizing-your-codespace/configuring-automatic-deletion-of-your-codespaces)." + You will be charged for the storage of all your codespaces. When you delete a codespace, you will no longer be charged. For more information on deleting a codespace, see "[Deleting a codespace](/codespaces/developing-in-codespaces/deleting-a-codespace)." diff --git a/content/codespaces/developing-in-codespaces/deleting-a-codespace.md b/content/codespaces/developing-in-codespaces/deleting-a-codespace.md index a3297c9082..5a9bb4271a 100644 --- a/content/codespaces/developing-in-codespaces/deleting-a-codespace.md +++ b/content/codespaces/developing-in-codespaces/deleting-a-codespace.md @@ -123,4 +123,5 @@ For more information, click the "{% data variables.product.prodname_cli %}" tab You can also use the REST API to delete codespaces for your organization. For more information, see "[Codespaces organizations](/rest/codespaces/organizations#delete-a-codespace-from-the-organization)." ## Further reading -- "[Codespaces lifecycle](/codespaces/developing-in-codespaces/codespaces-lifecycle)" \ No newline at end of file +- "[Codespaces lifecycle](/codespaces/developing-in-codespaces/codespaces-lifecycle)" +- "[Configuring automatic deletion of your codespaces](/codespaces/customizing-your-codespace/configuring-automatic-deletion-of-your-codespaces)" \ No newline at end of file From f7ea4e310cf927df594bd228bedcfd262c500b8a Mon Sep 17 00:00:00 2001 From: Sam Browning <106113886+sabrowning1@users.noreply.github.com> Date: Thu, 15 Sep 2022 08:21:50 -0400 Subject: [PATCH 2/3] Update "unused" to "inactive" Co-authored-by: hubwriter --- .../codespaces/developing-in-codespaces/codespaces-lifecycle.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/codespaces/developing-in-codespaces/codespaces-lifecycle.md b/content/codespaces/developing-in-codespaces/codespaces-lifecycle.md index 38aaf02c1a..c25339d791 100644 --- a/content/codespaces/developing-in-codespaces/codespaces-lifecycle.md +++ b/content/codespaces/developing-in-codespaces/codespaces-lifecycle.md @@ -69,7 +69,7 @@ You can create a codespace for a particular task and then safely delete the code If you try to delete a codespace with unpushed git commits, your editor will notify you that you have changes that have not been pushed to a remote branch. You can push any desired changes and then delete your codespace, or continue to delete your codespace and any uncommitted changes. You can also export your code to a new branch without creating a new codespace. For more information, see "[Exporting changes to a branch](/codespaces/troubleshooting/exporting-changes-to-a-branch)." -Codespaces that remain unused for a specified period of time will be deleted automatically. By default, an unused codespace will be deleted after 30 days, but you can customize your codespace retention period. For more information, see "[Configuring automatic deletion of your codespaces](/codespaces/customizing-your-codespace/configuring-automatic-deletion-of-your-codespaces)." +Codespaces that have been stopped and remain inactive for a specified period of time will be deleted automatically. By default, inactive codespaces are deleted after 30 days, but you can customize your codespace retention period. For more information, see "[Configuring automatic deletion of your codespaces](/codespaces/customizing-your-codespace/configuring-automatic-deletion-of-your-codespaces)." You will be charged for the storage of all your codespaces. When you delete a codespace, you will no longer be charged. From 21d7fcf04fdc1a95d1346ed7b8733ff8af775f8c Mon Sep 17 00:00:00 2001 From: Sam Browning <106113886+sabrowning1@users.noreply.github.com> Date: Thu, 15 Sep 2022 08:37:54 -0400 Subject: [PATCH 3/3] Change unused language to inactive --- .../configuring-automatic-deletion-of-your-codespaces.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/codespaces/customizing-your-codespace/configuring-automatic-deletion-of-your-codespaces.md b/content/codespaces/customizing-your-codespace/configuring-automatic-deletion-of-your-codespaces.md index b420b36fbb..2eaf34a3a3 100644 --- a/content/codespaces/customizing-your-codespace/configuring-automatic-deletion-of-your-codespaces.md +++ b/content/codespaces/customizing-your-codespace/configuring-automatic-deletion-of-your-codespaces.md @@ -1,7 +1,7 @@ --- title: Configuring automatic deletion of your codespaces shortTitle: Configure automatic deletion -intro: 'Unused codespaces are automatically deleted. You can choose how long your stopped codespaces are retained, up to a maximum of 30 days.' +intro: 'Inactive codespaces are automatically deleted. You can choose how long your stopped codespaces are retained, up to a maximum of 30 days.' product: '{% data reusables.gated-features.codespaces %}' versions: fpt: '*'