forked from vercel-labs/workflow-builder-template
-
Notifications
You must be signed in to change notification settings - Fork 0
fix: KEEP-1416 Postgres Error 2BP01 #308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
suisuss
merged 23 commits into
revert-revert-229-next-upgrade
from
feat/KEEP-1416-postgres-error-2bp01
Feb 11, 2026
Merged
fix: KEEP-1416 Postgres Error 2BP01 #308
suisuss
merged 23 commits into
revert-revert-229-next-upgrade
from
feat/KEEP-1416-postgres-error-2bp01
Feb 11, 2026
Conversation
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
…zation-state-persistence hotfix: KEEP-1402 Org switcher state fix
Add two new GitHub Actions workflows: - release.yml: Auto-creates GitHub Releases with categorized PR notes and Discord notifications on merge to prod. Uses semantic versioning based on PR title prefixes (feat:/fix:/breaking:) with zero external action dependencies (gh CLI + bash only). - docs-sync.yml: Triggers after releases to detect code changes and sync documentation using claude-code-action v1. Creates PRs with doc updates targeting staging. Supports manual workflow_dispatch. Also adds .prompts and .planning to .gitignore.
…-docs-sync feat: add automated release and docs sync GHA workflows
track_progress is only supported for PR/issue events, not workflow_run. Removing it fixes the action failure on workflow_run triggers.
- Change release.yml PR discovery from --base prod to --base staging so release notes show actual feature PRs instead of "To Prod" merges - Add UNTIL upper bound to prevent including staging PRs merged after the prod push - Add hotfix: as recognized prefix in release note classification - Add pr-title-check.yml to enforce conventional commit prefixes on PRs targeting staging - Add keeperhub/scripts/test-release.sh for local release note testing
…-docs-sync fix: improve release workflow PR discovery and add PR title enforcement
The docs-sync workflow was failing because claude-code-action@v1 requires id-token: write permission to fetch OIDC tokens.
…-docs-sync feat: automated release and docs sync GHA workflows
The claude-code-action@v1 SDK crashes during initialization with an AJV schema validation error (anthropics/claude-code-action#892). Pre-install Claude Code v2.1.18 and use path_to_claude_code_executable to bypass the broken bundled CLI. Also move model config to env var.
…-docs-sync fix: work around claude-code-action AJV crash in docs-sync
Temporarily enable full output logging to reveal the actual error behind the AJV schema validation crash.
…-docs-sync fix: debug docs-sync with staging push trigger
claude-code-action doesn't support push events. Use workflow_dispatch to test manually instead.
…-docs-sync fix: use workflow_dispatch for docs-sync testing
The docs-sync failures were caused by depleted API credits, not the AJV SDK bug. The cryptic error was only visible with show_full_output. Add a pre-flight validation step that makes a minimal API call before running claude-code-action. This catches auth errors, credit issues, and invalid keys early with a clear error message. Reverts unnecessary workarounds: custom CLI install, custom executable path, show_full_output, and ANTHROPIC_MODEL env var.
…-docs-sync fix: add API key pre-flight check for docs-sync
- Replace always-on completed/failed/skipped notifications with conditional notification that only fires when Claude creates a docs update PR - Include PR body summary and link in Discord message - Rename branch prefix from claude/docs-sync- to docs-sync-
…-docs-sync fix: docs-sync Discord notification only on PR creation
- Add password management and account deactivation to user docs - Add address book documentation (new page + API endpoints) - Add EIP-2535 diamond proxy support to keeper configuration - Add leave organization flow to org docs and API reference - Add workflow duplication and Hub import to workflow creation guide - Add organizations API page with leave endpoint - Add hub/featured, taxonomy, and claim endpoints to workflow API
docs: sync documentation with v0.1.0
The status and step_status enums are created by @workflow/world-postgres but were missing from the Drizzle schema, causing drizzle-kit push to attempt dropping them and failing with Postgres error 2BP01.
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.
Summary
statusandstep_statuspgEnum types in the Drizzle schema to preventdrizzle-kit pushfrom attempting to drop them@workflow/world-postgresand referenced byworkflow.workflow_runs/workflow.workflow_stepsTest plan
pnpm db:pushsucceeds without 2BP01 errorpnpm checkpassespnpm type-checkpasses