Repository navigation
feat: add debug logs and quick examples to creative testing - #56
Merged
Merged
Conversation
- Add debug logs display to creative testing UI - Add one-click example creatives (Nike, Coffee, Tech, Fashion) - Fix Build Creative button visibility for generative formats - Improve error messages and debug output - Fix brand_manifest validation for non-URL strings 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
The CI workflows were failing due to transient npm registry errors (503 Service Unavailable, 502 Bad Gateway). Added retry logic with up to 3 attempts for npm install commands. Changes: - Add triple-retry with fallback for npm ci in main CI pipeline - Add triple-retry for commitlint dependency installation - Use --prefer-offline and --no-audit flags to reduce network issues Fixes intermittent CI failures caused by npm registry instability. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
The npm registry is experiencing severe outages (503/504/502 errors). Added delays between retry attempts to give the registry time to recover: - Retry 1: immediate - Retry 2: 30 second delay - Retry 3: 60 second delay This prevents all 3 retries from hitting the same outage window. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
This reverts commit 92207c0.
This reverts commit 8d67b49.
bokelley
force-pushed
the
bokelley/creative-testing-improvements
branch
from
October 20, 2025 10:44
ca92c4a to
aeb4861
Compare
- Update sync-schemas.ts to include creative namespace tasks - Generate types for build_creative and preview_creative - Update creative-testing.html to handle new schema structure: - Change output_format_id → output_format_ids (array) - Support new preview response format with previews[].renders[] - Display multiple renders with dimensions and roles - Support companion ads and multi-placement formats Schema changes (v2.0.0): - Added renders array to Format with role and dimensions - Preview response: outputs → renders, output_id → render_id - Removed format_id and hints from preview renders - Changed output_format_id to output_format_ids (array) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
- Add changeset-check job that runs on PRs - Validates that changesets exist when library code is modified - Checks src/lib/, package.json, and schema generation scripts - Blocks PRs without changesets from being merged - Publish dry run now depends on changeset check passing This ensures proper version management and prevents releasing changes without documented version bumps. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Update generated version file to match package.json version. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Resolve version conflict - accept main branch version 2.2.0 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
Users were experiencing unclear error messages and a lack of guidance when using the creative testing feature. Specifically, validation errors were opaque and there was no easy way to populate fields for quick testing.
Changes
creative-testing.html: This section displays request/response details, including protocol-level communication, timestamps, and formatted JSON.creative-testing.html: Error messages are now more visible, displayed for 10 seconds, and logged to the browser console. Synthetic debug log entries are created for errors where no logs are returned.creative-testing.html: Provides pre-filled asset data for scenarios like "Nike Air Max Shoes" and "Coffee Brand Campaign", simplifying testing.collectAssets()increative-testing.html: Ensures assets are formatted correctly according to AdCP schema (e.g., wrapping text content in{"content": "..."}).creative-testing.html: Button is now hidden for non-generative formats (those withoutoutput_format_idor ageneration_promptasset).src/server/server.ts):/api/creative/list-formatsnow retrieves and returns debug logs from the ADCPClient./api/creative/preview-creativeand/api/creative/build-creativenow includedebug_logsand timestamps.index.html): Ensuresbrand_manifestis sent as a properly formatted object or URL to prevent validation errors.Testing
https://creative.adcontextprotocol.org/mcpand verify debug logs appear.https://api.openads.ai) and verify the error message and debug logs are displayed.brand_manifesthandling in Media Buy testing by using plain text and ensuring it's correctly wrapped.