Skip to content

chore: Compatibility fix to compensate for moving _hash_attachments into the Job Attachments code#868

Draft
evanspearman-a wants to merge 1 commit intoaws-deadline:mainlinefrom
evanspearman-a:move_hash_attachments
Draft

chore: Compatibility fix to compensate for moving _hash_attachments into the Job Attachments code#868
evanspearman-a wants to merge 1 commit intoaws-deadline:mainlinefrom
evanspearman-a:move_hash_attachments

Conversation

@evanspearman-a
Copy link
Copy Markdown
Contributor

NOTE: This should be merged at the same time as updating to the version of deadline-cloud (deadline) that releases this change: aws-deadline/deadline-cloud#966

What was the problem/requirement? (What/Why)

The worker agent calls a non-public function (_manifest_snapshot) in the client/job attachments code which had its signature changed as part of an effort to decouple job attachments and the rest of the client.

What was the solution? (How)

Update calls to this function to use the new signature. This includes querying the config ourself to get the hash cache directory and providing a telemetry callback. Config querying and telemetry were previously done by a function called by the modified function, but are no longer as this is a library function and config and telemetry are application responsibilities.

What is the impact of this change?

This will be used to fix compatibility with the deadline package when it is updated.

How was this change tested?

I ran the unit tests and e2e tests.

Was this change documented?

N/A

Is this a breaking change?

No.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@github-actions github-actions bot added the waiting-on-maintainers Waiting on the maintainers to review. label Jan 19, 2026
…nto the Job Attachments code

Signed-off-by: Evan Spearman <evans@amazon.com>
@sonarqubecloud
Copy link
Copy Markdown

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

Labels

waiting-on-maintainers Waiting on the maintainers to review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants