Skip to content

Conversation

@suisuss
Copy link

@suisuss suisuss commented Feb 11, 2026

Summary

  • Re-declares status and step_status pgEnum types in the Drizzle schema to prevent drizzle-kit push from attempting to drop them
  • These enums are created by @workflow/world-postgres and referenced by workflow.workflow_runs / workflow.workflow_steps
  • The declarations were previously added in chore(deps): KEEP-1371 bump next from 16.0.10 to 16.1.5 #229 but accidentally reverted when that PR was rolled back

Test plan

  • pnpm db:push succeeds without 2BP01 error
  • pnpm check passes
  • pnpm type-check passes
  • Verify on staging after merge

taitsengstock and others added 23 commits February 10, 2026 13:52
…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
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.
@suisuss suisuss marked this pull request as draft February 11, 2026 02:28
@suisuss suisuss changed the base branch from staging to revert-revert-229-next-upgrade February 11, 2026 03:56
@suisuss suisuss marked this pull request as ready for review February 11, 2026 03:57
@suisuss suisuss merged commit b05e218 into revert-revert-229-next-upgrade Feb 11, 2026
4 checks passed
@suisuss suisuss deleted the feat/KEEP-1416-postgres-error-2bp01 branch February 11, 2026 03:57
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