Skip to content

Commit 85c8a61

Browse files
sbp-bvanbclaude
andauthored
chore: omit TASK_X_REMOTE_TASKFILES as the experiment has been released (#454)
Remote Taskfiles are no longer experimental, so the flag no longer has to be enabled. Remove it from the self-testing workflow, the task.yml header comment and all documented examples. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 8247390 commit 85c8a61

4 files changed

Lines changed: 1 addition & 19 deletions

File tree

.github/workflows/golang.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ jobs:
1313
- testing-type: security-golang-modules
1414
- testing-type: security-grype
1515
runs-on: ubuntu-24.04
16-
env:
17-
TASK_X_REMOTE_TASKFILES: 1
1816
steps:
1917
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2018
with:

CLAUDE.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ includes:
8080
Then run tasks with:
8181
8282
```bash
83-
# Required: enable experimental remote taskfiles support
84-
export TASK_X_REMOTE_TASKFILES=1
85-
8683
# Run unit tests
8784
task remote:test --yes
8885

@@ -183,8 +180,6 @@ jobs:
183180
- testing-type: "coverage"
184181
- testing-type: "security-golang-modules"
185182
runs-on: ubuntu-24.04
186-
env:
187-
TASK_X_REMOTE_TASKFILES: 1
188183
steps:
189184
- uses: actions/checkout@v4.1.1
190185
- uses: schubergphilis/mcvs-golang-action@v3 # Use @v3 for latest v3.x.x

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,9 @@ includes:
104104
and run:
105105
106106
```zsh
107-
TASK_X_REMOTE_TASKFILES=1 \
108107
task remote:test
109108
```
110109

111-
Note that the `TASK_X_REMOTE_TASKFILES` variable is required as long as the
112-
remote Taskfiles are still experimental. (See [issue
113-
1317](https://github.com/go-task/task/issues/1317) for more information.)
114-
115110
You can use `task --list-all` to get a list of all available tasks.
116111
Alternatively, if you have [configured
117112
completions](https://taskfile.dev/installation/#setup-completions) in your
@@ -122,7 +117,6 @@ shell, you can tab to get a list of available tasks.
122117
When golangci-lint reports issues that can be automatically fixed, you can use the `fix-linting-issues` task:
123118

124119
```zsh
125-
TASK_X_REMOTE_TASKFILES=1 \
126120
task remote:fix-linting-issues --yes
127121
```
128122

@@ -202,8 +196,6 @@ jobs:
202196
- testing-type: "coverage"
203197
- testing-type: "security-golang-modules"
204198
runs-on: ubuntu-24.04
205-
env:
206-
TASK_X_REMOTE_TASKFILES: 1
207199
steps:
208200
- uses: actions/checkout@v4.1.1
209201
- uses: schubergphilis/mcvs-golang-action@v3
@@ -253,7 +245,6 @@ jobs:
253245
- testing-type: "unit"
254246
runs-on: ubuntu-24.04
255247
env:
256-
TASK_X_REMOTE_TASKFILES: 1
257248
test-timeout: 10m0s
258249
steps:
259250
- uses: actions/checkout@v4.1.1
@@ -340,8 +331,6 @@ jobs:
340331
release-os: darwin
341332
release-type: binary
342333
runs-on: ubuntu-24.04
343-
env:
344-
TASK_X_REMOTE_TASKFILES: 1
345334
steps:
346335
- uses: actions/checkout@v4.2.2
347336
- uses: schubergphilis/mcvs-golang-action@v3.4.2

build/task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# TASK_X_REMOTE_TASKFILES=1 task remote:lint
1+
# task remote:lint
22
# - cmd: steps that will be run sequentially.
33
# - deps: tasks that will be run in parallel.
44
#

0 commit comments

Comments
 (0)