Skip to content

Conversation

@bhearsum
Copy link
Contributor

Taskgraph already passes this information along to transforms, and over in https://bugzilla.mozilla.org/show_bug.cgi?id=1989038 we have a use case to have loaders know about it too: we need to write out an artifact whose contents are only known after all tasks for a specific kind have been loaded and transformed.

(Technically we could avoid passing this along, but it would mean we have no reasonable way to switch off the writing of this artifact outside of decision tasks...)

@bhearsum bhearsum requested a review from a team as a code owner September 18, 2025 20:03
@bhearsum bhearsum force-pushed the push-pqoxwnnryorv branch 3 times, most recently from 5dddf21 to bc806ee Compare September 19, 2025 13:22
@bhearsum bhearsum requested a review from jcristau September 19, 2025 13:36
)


def test_loader_backwards_compat_interface(graph_config):
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for adding this test :)

Taskgraph already passes this information along to transforms, and over in https://bugzilla.mozilla.org/show_bug.cgi?id=1989038 we have a use case to have loaders know about it too: we need to write out an artifact whose contents are only known after all tasks for a specific kind have been loaded and transformed.

(Technically we could avoid passing this along, but it would mean we have no reasonable way to switch off the writing of this artifact outside of decision tasks...)

Co-Authored-By: jcristau@mozilla.com
@bhearsum bhearsum merged commit 8ecf249 into taskcluster:main Sep 19, 2025
16 checks passed
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