Skip to content

Conversation

@bokelley
Copy link
Contributor

Summary

Only create AuthorizedProperty and PropertyTag records for mock adapters, not for development environment with real adapters. This prevents polluting real adapter configurations with mock data when syncing publishers in dev mode.

Also fixed env var handling in schedulers to properly handle empty string values.

Test plan

  • Unit tests pass (1211 passed)
  • Integration tests pass (35 passed)
  • Existing mock adapter publisher sync tests cover the new behavior

bokelley and others added 4 commits December 20, 2025 07:02
Only create AuthorizedProperty and PropertyTag records for mock adapters,
not for development environment with real adapters. This prevents polluting
real adapter configurations with mock data.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
AdapterConfig doesn't have 'enabled' or 'config' fields - only
'tenant_id' and 'adapter_type' are required for mock adapters.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The config module exports AppConfig, not Config.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
sync_publisher_partners returns Response directly on success (not a tuple),
so use response.get_json() instead of response[0].get_json().

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit efdcfca into main Dec 20, 2025
9 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