Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide option to receive info regarding if a task can be run inside a package #28

Open
amang034 opened this issue Apr 9, 2021 · 0 comments · May be fixed by #29
Open

Provide option to receive info regarding if a task can be run inside a package #28

amang034 opened this issue Apr 9, 2021 · 0 comments · May be fixed by #29

Comments

@amang034
Copy link

amang034 commented Apr 9, 2021

This task is linked to microsoft/lage#104.

Currently lage only gives a package graph and task graph separately, so task-scheduler doesn't know when some packages do not contain the tasks in the package.json.

Because of how the final combined package-task is generated, we might over-aggressively run tasks because of this missing info.

For example, if A depends on B and B depends on C:

A -> B -> C

and if only C has the task of special-C-build, when this following is called:

lage special-C-build --scope A

Nothing should be run because "A" doesn't have that task. The expected result is that nothing is run.

This task is to modify the api to accept the info for if a task can be run inside package

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 a pull request may close this issue.

1 participant