Skip to content

chore: release - merge dev into main#440

Merged
zbigniewsobiecki merged 13 commits intomainfrom
dev
Feb 20, 2026
Merged

chore: release - merge dev into main#440
zbigniewsobiecki merged 13 commits intomainfrom
dev

Conversation

@zbigniewsobiecki
Copy link
Copy Markdown
Member

Automated release PR created by the release workflow.

Commits (13):

934a715 refactor: replace project_credential_overrides with integration credential model (#439)
b37630e fix(docker): include dist/trello in router image (#436)
481f148 fix(reactions): fix Trello reaction payload format and use trelloClient (#432)
2d7f0c3 fix(webhooks): align callback URLs with router routes (#435)
31e4fab fix(ci): auto-create Cloudflare Pages project in deploy-dev (#434)
f46acd0 ci: add deploy-dev.yml for dev branch deployment (#433)
d6fc0e1 Merge pull request #431 from zbigniewsobiecki/feature/trigger-config-options
369f36a fix(triggers): use 'review-requested' triggerType and add GitHub trigger toggles UI
9ef1905 feat(triggers): configurable trigger options + review-requested trigger
b1a7b96 Merge pull request #430 from zbigniewsobiecki/feature/test-coverage-improvements
39274fe test: add coverage for router, gadgets, agents, utils, and API clients
114567a Merge pull request #429 from zbigniewsobiecki/refactor/dual-backend-architecture
1e48d96 refactor(agents): unify dual-backend gadget builders and prompt functions

Cascade Bot and others added 13 commits February 20, 2026 08:05
…mprovements

test: add coverage for router, gadgets, agents, utils, and API clients
…ger toggles UI

- Add 'review-requested' to triggerType union in src/types/index.ts
- Update ReviewRequestedTrigger to use 'review-requested' instead of 'ci-success'
- Add TriggerToggles component to GitHubForm for UI control of GitHub triggers
- Update test expectations to match new triggerType value

This fixes semantic incorrectness where review-requested runs were
indistinguishable from ci-success runs in the database and dashboard.
Users can now enable/disable GitHub triggers (including reviewRequested
and prOpened) from the dashboard UI.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…options

feat(triggers): configurable trigger options + review-requested trigger
Mirrors deploy.yml with :dev image tags, dev container targets,
and Cloudflare Pages project cascade-dashboard-dev.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
The webhook creation/deletion code constructed callback URLs as
`${baseUrl}/webhook/{service}` but the router handles `/{service}/webhook`.
This caused 404s during Trello's HEAD verification on path-based routing
setups (e.g. dev environment).

- Change all callback URLs to `${baseUrl}/{service}/webhook`
- Add backwards-compat matching for the old `/webhook/{service}` format
  in duplicate detection and deletion
- Update tests to use the new URL format

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…nt (#432)

Co-authored-by: Cascade Bot <bot@cascade.dev>
PR #432 added a dependency on trello/client.js from router/reactions.js
but the Dockerfile didn't copy dist/trello into the production image.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…ntial model (#439)

Replace the flat project_credential_overrides table with a normalized
integration credential model: project_integrations now carry category
(pm/scm), provider (trello/jira/github), config JSONB, and triggers
JSONB. Credentials are linked per-integration via the
integration_credentials join table with provider-defined roles
(e.g. trello has api_key/token, github has implementer_token/reviewer_token).

Key changes:
- New integration_credentials schema + migration (0013)
- New integrationRoles.ts defining PROVIDER_CREDENTIAL_ROLES with
  role→envVarKey mappings per provider
- credentialsRepository: replace resolveAllCredentials/listProjectOverrides
  with resolveAllIntegrationCredentials/resolveAllOrgCredentials
- settingsRepository: add integration credential CRUD (set/remove/list)
- configRepository: update findProjectByIdFromDb for category/provider
- provider.ts: rewrite loadProjectConfigById for new model
- All trigger handlers, router modules, personas, and worker-manager
  updated to use new credential resolution
- tRPC projects router: add integration credential endpoints
- CLI: update integration-set/overrides commands for category/provider,
  repurpose override-set/override-rm for integration credentials
- Dashboard: rewrite integration-form.tsx for new model, remove
  credential-overrides.tsx
- tools/resolve-config.ts: rewrite for new credential model, fix
  broken imports, remove non-existent schema fields
- tools/manage-secrets.ts, setup-webhooks.ts, debug-run.ts updated

Post-refactor cleanup:
- Fix runs list CLI crash (was passing {data,total} to outputTable)
- Remove dead GITHUB_TOKEN fallback in webhooks router
- Remove dead mocks in access-control.test.ts
- Fix stale comment in envScrub.ts
- Add regression test for GITHUB_TOKEN_IMPLEMENTER-only resolution
- Update CLAUDE.md documentation

All 2372 tests pass, typecheck clean, lint clean (same 2 pre-existing
complexity warnings).

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@zbigniewsobiecki zbigniewsobiecki merged commit 77a8c60 into main Feb 20, 2026
7 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