Use shallow clones for workflows that don't need full history
- labeler.yml: fetch-depth 1 (no git history needed)
- agents-md-update.yml: fetch-depth 2 (only diffs previous commit)
- prefect-{aws,azure,gcp}-docker-test.yaml: fetch-tags only (just
need `git tag --list`)
- docker-images.yaml: fetch-tags only for the 3 get-version jobs
(publish job keeps blobless clone for versioningit)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Validate exception types in JSON object decoder
Add type checking in prefect_json_object_decoder to ensure __exc_type__
resolves to a BaseException subclass before instantiation. Also handle
unimportable classes gracefully in the __class__ branch.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>