Open Bug 1605232 Opened 4 years ago Updated 2 years ago

Improve workflow when running taskcluster jobs locally

Categories

(Firefox Build System :: Task Configuration, enhancement, P3)

enhancement

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: sfink, Assigned: sfink, NeedInfo)

Details

Attachments

(2 files)

I have been experimenting with running tasks locally with mach taskcluster-load-image, and I cobbled together a workflow that is much nicer with a couple of additional options to run-task.

Summary: Improve workflow when taskcluster jobs locally → Improve workflow when running taskcluster jobs locally

For the first one, the removal of fetches is a workaround, not a feature. See bug 1492362.

(In reply to Mike Hommey [:glandium] [out until Jan 7] (high latency) from comment #3)

For the first one, the removal of fetches is a workaround, not a feature. See bug 1492362.

Oh yeah, thanks for the pointer! I wasn't sure from that bug what the desired outcome is, though -- now that it appears that the source checkout is separate from the fetches dir, that's no longer a problem. But I assume something still wants to do this cleanup, to avoid having stale versions of fetches lying around? It seems like something like --keep is still desirable for local runs, and perhaps for interactive jobs if it can somehow be told that it's interactive (I'm not sure why Windows interactive jobs don't have the interactive feature set, even if they don't need or want the env var setting.)

I should also mention that I pointed to this bug from http://blog.mozilla.org/sfink/2019/12/20/running-taskcluster-tasks-locally/

The following patches are waiting for review from an inactive reviewer:

ID Title Author Reviewer Status
D57876 Bug 1605232 - Add run-task --keep option to allow rerunning tasks locally without re-downloading compilers sfink tomprince: Inactive
D57881 Bug 1605232 - Add run-task --existing-gecko-checkout option for running taskcluster job locally using host directory mounted into container sfink tomprince: Inactive

:sfink, could you please find another reviewer or abandon the patch if it is no longer relevant?

For more information, please visit auto_nag documentation.

Flags: needinfo?(sphink)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: