Skip to content

Conversation

@abhishekmadan30
Copy link
Contributor

@abhishekmadan30 abhishekmadan30 commented Jul 28, 2025

Closes #21

Copy link
Collaborator

@ahal ahal left a comment

Choose a reason for hiding this comment

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

Nice, I like it!

The CI is broken though due to the dash vs underscore mismatch. You can likely reproduce locally with taskgraph full

Required("trust-domain"): str,
Optional(
"docker-image-kind",
description="What kind of docker image to use for the task.",
Copy link
Collaborator

Choose a reason for hiding this comment

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

How about:

Name of the docker image kind (default: docker-image)

@abhishekmadan30 abhishekmadan30 marked this pull request as ready for review July 28, 2025 23:14
@abhishekmadan30 abhishekmadan30 requested a review from a team as a code owner July 28, 2025 23:14
@abhishekmadan30 abhishekmadan30 requested a review from bhearsum July 28, 2025 23:14
@abhishekmadan30 abhishekmadan30 marked this pull request as draft July 29, 2025 12:59
Copy link
Collaborator

@ahal ahal left a comment

Choose a reason for hiding this comment

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

This looks good!

There are some test failures though, probably just need to update some of them for the new function signature. You should be able to reproduce locally with uv run pytest


task-priority: low

docker-image-kind: docker-image
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would lean towards not defining this unless we actually want to use a non-default name, but doesn't really matter I guess.

@abhishekmadan30 abhishekmadan30 marked this pull request as ready for review July 29, 2025 13:26
@ahal ahal self-requested a review July 29, 2025 14:03
@abhishekmadan30
Copy link
Contributor Author

I updated the where the default - docker-image-kind is decide as the optional + default combinations doesn't work as schema(obj) is not called on the graph config schema so the fix I had was to add a try catch field in images_path as that is only place it would be called

Copy link
Collaborator

@ahal ahal left a comment

Choose a reason for hiding this comment

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

Thanks. A couple minor suggestions, but looks good!

@ahal ahal merged commit d2dee6a into taskcluster:main Jul 29, 2025
17 checks passed
@abhishekmadan30 abhishekmadan30 deleted the issue-21 branch July 29, 2025 18:49
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.

Fix false assumptions in 'build_docker_worker_payload'

2 participants