Skip to content

fix(skills): support Skill Space sharing signed URL fallback - #1214

Merged
Rhosmarie merged 2 commits into
volcengine:mainfrom
Rhosmarie:fix/tos-signed-url-skill-download
Nov 6, 2026
Merged

Rhosmarie merged 2 commits into
volcengine:mainfrom
Rhosmarie:fix/tos-signed-url-skill-download

Conversation

@Rhosmarie

Copy link
Copy Markdown
Collaborator

Summary

Fix Skill Space skill materialization when legacy TosPath points to a sharing-bucket object key that cannot be read directly with TOS SDK credentials.

This change now supports both cases:

  • TosPath is already an HTTPS signed TOS ZIP URL: download it directly.
  • TosPath is an object key and direct TOS download is denied: call GenTempTosObjectDownloadUrlSharing, read Result.SignedUrl, and reuse the signed URL ZIP downloader.

Verification

  • uv run --extra dev pytest tests/skills/test_adk_skill_materializer.py tests/skills/test_skill_space_policy.py tests/skills/test_adk_skill_registry.py -q
    • 52 passed
  • uv run --extra dev pre-commit run --all-files
    • passed
  • Real Skill Space validation with ss-yey3lbgruoq7vcs7xlp4
    • pdf: download and ADK load passed
    • pptx: download and ADK load passed
    • code-review-and-quality: download and ADK load passed
    • humanizer: zip download passed, ADK frontmatter validation failed; separate skill metadata issue

@Rhosmarie
Rhosmarie merged commit 38d3c6e into volcengine:main Nov 6, 2026
14 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