Skip to content

Fix Pond5 provider contract - #653

Merged
1 commit merged into
OpenMontageInc:mainfrom
abuashiks22-crypto:abuashiks22-crypto-fix-pond5-provider-contract
Nov 8, 2026
Merged

1 commit merged into
OpenMontageInc:mainfrom
abuashiks22-crypto:abuashiks22-crypto-fix-pond5-provider-contract

Conversation

@abuashiks22-crypto

Copy link
Copy Markdown

Summary

  • Require POND5_API_KEY before advertising Pond5 Public Domain availability.
  • Send configured Pond5 credentials as Bearer authentication.
  • Propagate Pond5 transport/status/JSON failures through the StockSource.search contract instead of falling through to an empty web-scraper stub.
  • Update documentary-montage documentation and add focused regression coverage.

Validation

  • python -m pytest -q tests/tools/test_stock_source_adapters.py tests/tools/test_corpus_builder_total_failure.py — 43 passed, 2 pre-existing xfailed (Archive.org/Wikimedia)
  • python -m py_compile tools/video/stock_sources/pond5_pd.py tests/tools/test_stock_source_adapters.py
  • git diff --check

No secrets or .env files are included.

Require Pond5 credentials, propagate API failures, and document the authenticated-only source accurately. Add regression coverage for availability, credentials, and status errors.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

@calesthio calesthio left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you for making Pond5 availability and failures honest. Reviewed the complete diff against main 63d1087a: missing credentials no longer advertise availability, configured credentials stay on the API request, and failed searches propagate instead of returning a fabricated empty fallback. Pond5's official API page describes partner API access (https://www.pond5.com/api). Validation: adapter suite 39 passed, 2 expected failures for unrelated adapters. Transport is mocked; partner endpoint/authentication was not exercised with a live account, and this review does not claim it was.

@calesthio calesthio closed this Nov 7, 2026
@calesthio calesthio reopened this Nov 7, 2026
calesthio pushed a commit to manish511-github/OpenMontage that referenced this pull request Nov 8, 2026
# Conflicts:
#	tests/tools/test_stock_source_adapters.py
calesthio pushed a commit to manish511-github/OpenMontage that referenced this pull request Nov 8, 2026
…c#815

Adapted from PR OpenMontageInc#815 by @serdarucel: retain deterministic shape and PYTHONHASHSEED subprocess coverage with canonical PR OpenMontageInc#597 stable_url_id (16 hexadecimal characters). The cohort preserves the original reviewed heads for OpenMontageInc#594, OpenMontageInc#595, OpenMontageInc#597, OpenMontageInc#639, OpenMontageInc#652, OpenMontageInc#653, OpenMontageInc#779 and OpenMontageInc#857. No audio or Pixabay retry implementations are included.
@calesthio calesthio closed this pull request by merging all changes into OpenMontageInc:main in 82d2601 Nov 8, 2026
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.

3 participants