Skip to content

Add an opt-in publishing failure fixture - #227

Merged
haltakov merged 2 commits into
mainfrom
codex/zapier-qa-failure
Nov 25, 2026
Merged

haltakov merged 2 commits into
mainfrom
codex/zapier-qa-failure

Conversation

@haltakov

@haltakov haltakov commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add a publishing failure fixture that matches one configured connected-account ID and the exact message SimplePost QA failure test. The fixture is off when the account ID is unset.
  • Return QA_PUBLISH_FAILURE with the platform-neutral message “Intentional test publish failure.” The existing failure handler records the post and emits its normal post.failed webhook.
  • Cover the matching case and verify normal publishing when the account ID is unset, the account differs, or the message differs.

Running the fixture

  1. Set QA_PUBLISH_FAILURE_ACCOUNT_ID to the connected-account ID of the designated test profile and verify the runtime loaded it.
  2. Target only that profile and publish SimplePost QA failure test. SimplePost should record a failed post before calling the platform publisher.
  3. Verify the failure in the downstream integration, then unset QA_PUBLISH_FAILURE_ACCOUNT_ID.

Verification

  • 64 publishing, scheduler, and webhook tests passed after the wording update.
  • The full Scheduler suite (1,359 tests) and type checking passed before the wording update.

@haltakov haltakov changed the title Add an opt-in failed-post fixture for Zapier QA Add an opt-in publishing failure fixture Nov 25, 2026
@haltakov
haltakov merged commit 26ff1a1 into main Nov 25, 2026
10 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.

1 participant