Skip to content

Remove Makefile (use ./task directly)#5167

Open
shreyas-goenka wants to merge 1 commit intomainfrom
fix-makefile-integration-target
Open

Remove Makefile (use ./task directly)#5167
shreyas-goenka wants to merge 1 commit intomainfrom
fix-makefile-integration-target

Conversation

@shreyas-goenka
Copy link
Copy Markdown
Contributor

@shreyas-goenka shreyas-goenka commented May 4, 2026

Drop the Makefile and route every remaining caller through `./task` directly.

#5050 introduced `./task` and kept the Makefile as a thin shim. eng-dev-ecosystem #1273 was the last external consumer; it now calls `go tool task` directly, so the shim has no callers left and can go.

The shim was also broken: `make integration` was silently exiting 0 because `integration/` is a real directory (`.DEFAULT` doesn't apply when the target name matches a file/directory). That's how cli-isolated-nightly stopped producing `output.json` for ~5 days.

Diff

  • Delete `Makefile`.
  • `integration/README.md`: `make integration` → `./task integration`.
  • `experimental/ssh/README.md`: `make build snapshot-release` → `./task build snapshot-release`.
  • `tools/bench_parse.py`: docstring example.

No CI changes needed — `.github/workflows/` already calls `./task`.

This pull request was AI-assisted by Isaac.

@shreyas-goenka shreyas-goenka marked this pull request as ready for review May 4, 2026 12:56
@shreyas-goenka shreyas-goenka requested a review from denik May 4, 2026 12:56
The Makefile was a back-compat wrapper kept after #5050 for callers like
`make integration`. It silently regressed (`make integration` reported
"is up to date" because integration/ is a real directory) and broke the
nightly cli-isolated-nightly workflow for ~5 days.

Rather than patch the wrapper, drop it entirely and route every caller
through ./task directly:

- integration/README.md: make integration → ./task integration
- experimental/ssh/README.md: make build snapshot-release → ./task ...
- tools/bench_parse.py: docstring example updated

Note: databricks-eng/eng-dev-ecosystem cli-isolated-tests.yml still calls
`make integration|integration-short|dbr-integration`. That repo needs a
parallel PR converting those to ./task before this lands, otherwise the
nightly will fail with "make: No rule to make target".

Co-authored-by: Isaac
@shreyas-goenka shreyas-goenka force-pushed the fix-makefile-integration-target branch from e5a3cd3 to 50a9b28 Compare May 4, 2026 14:34
@shreyas-goenka shreyas-goenka changed the title Makefile: fix make integration silently skipping when integration/ exists Remove Makefile; everything now goes through ./task May 4, 2026
@shreyas-goenka shreyas-goenka changed the title Remove Makefile; everything now goes through ./task Remove Makefile (use ./task directly) May 4, 2026
Copy link
Copy Markdown
Contributor

@denik denik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small FYI: ./task does not work on Windows, one need to use go tool for cross-platform. But I think it's fine for docs to refer to ./task since we don't develop on Windows and tests do use "go tool"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants