ci: migrate to canonical hanzoai/.github/docker-build.yml reusable workflow#560
Closed
hanzo-dev wants to merge 1489 commits intocaptableinc:mainfrom
Closed
ci: migrate to canonical hanzoai/.github/docker-build.yml reusable workflow#560hanzo-dev wants to merge 1489 commits intocaptableinc:mainfrom
hanzo-dev wants to merge 1489 commits intocaptableinc:mainfrom
Conversation
Bumps [@radix-ui/react-checkbox](https://github.com/radix-ui/primitives) from 1.0.4 to 1.1.1. - [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md) - [Commits](https://github.com/radix-ui/primitives/commits) --- updated-dependencies: - dependency-name: "@radix-ui/react-checkbox" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@hookform/resolvers](https://github.com/react-hook-form/resolvers) from 3.6.0 to 3.9.0. - [Release notes](https://github.com/react-hook-form/resolvers/releases) - [Commits](react-hook-form/resolvers@v3.6.0...v3.9.0) --- updated-dependencies: - dependency-name: "@hookform/resolvers" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@tremor/react](https://github.com/tremorlabs/tremor) from 3.17.2 to 3.17.4. - [Release notes](https://github.com/tremorlabs/tremor/releases) - [Commits](tremorlabs/tremor@v3.17.2...v3.17.4) --- updated-dependencies: - dependency-name: "@tremor/react" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…d_yarn/tremor/react-3.17.4 chore(deps): bump @tremor/react from 3.17.2 to 3.17.4
…d_yarn/hookform/resolvers-3.9.0 chore(deps): bump @hookform/resolvers from 3.6.0 to 3.9.0
…d_yarn/radix-ui/react-checkbox-1.1.1 chore(deps): bump @radix-ui/react-checkbox from 1.0.4 to 1.1.1
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.51.5 to 7.52.1. - [Release notes](https://github.com/react-hook-form/react-hook-form/releases) - [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md) - [Commits](react-hook-form/react-hook-form@v7.51.5...v7.52.1) --- updated-dependencies: - dependency-name: react-hook-form dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
…d_yarn/react-hook-form-7.52.1 chore(deps): bump react-hook-form from 7.51.5 to 7.52.1
…d_yarn/sonner-1.5.0 chore(deps): bump sonner from 1.4.41 to 1.5.0
…d_yarn/postcss-8.4.40 chore(deps-dev): bump postcss from 8.4.38 to 8.4.40
…tableinc#470) Bumps [@prisma/generator-helper](https://github.com/prisma/prisma/tree/HEAD/packages/generator-helper) from 5.14.0 to 5.17.0. - [Release notes](https://github.com/prisma/prisma/releases) - [Commits](https://github.com/prisma/prisma/commits/5.17.0/packages/generator-helper) --- updated-dependencies: - dependency-name: "@prisma/generator-helper" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Puru Dahal <dahal@users.noreply.github.com>
* feat: add api key generator * feat: add basic middleware * feat: fix schema * feat: change api * feat: add api key method * feat: add basic middleware * chore: rename variables * chore: remove console log * feat: add auth * chore: fix logic * chore: fix import * feat: add example api * feat: make optional * feat: add session cookie auth * feat: add migration * feat: fix build error * chore: remove session route * feat: add name and email to session * feat: add audit to services * style: fix type * chore: fix auth middleware * feat: add info to context * chore: fix schema * feat: add ip util * feat: add new create endpoint * feat: add delete endpoint * feat: add update endpoint * chore: remove try catch * feat: add get one endpoint * feat: register routes * chore: fix param * feat: add patch method * feat: add get many routes and register * chore: fix import * feat: init share route * chore: fix name * feat: add delete share endpoint * feat: add get one * feat: add get many route * fix: types and schema * feat: add create handler * feat: add update route * feat: delete existing routes * refactor: remove services * chore: add prisma pagination extension * feat: add pagination * chore: remove import * feat: add pagination * chore: fix type * chore: fix types * refactor: remove pagination and service * chore: add expect error comment * chore: fix type * feat: add summary and description * feat: fix type * feat: fix types * feat: add error registry map * style: naming changes * chore: fix description and summary * chore: rename * feat: use function * feat: add company id to path * feat: add company id to schema * feat: add base-x * feat: add base 58 encoding * feat: use new strategy * feat: fix schema * feat: add user access token * feat: add tokens utility * feat: add access token schema * feat: refactor lib * refactor: utils * refactor: session cookie auth middleware * feat: add secure hash * feat: use secure hash * fix: companyId in cookie * refactor: func * feat: add access token middleware * feat: remove default middlewares * feat: add utils for tokens * chore: upgrade packages * chore: remove auth middleware function * feat: add helper middleware * feat: add new middleware * feat: use hono helpers * chore: remove utils * chore: remove type * feat: add migration for access token * feat: access token * feat: add without membership option * refactor: utils * fix: verify util * refactor: change route * chore: fix sidenav * chore: rename wordings * chore: rename router * chore: update file name * core: rename policies * chore: rename apiKey to accessToken and change accessToken route to developer * chore: working with middleware * fix: error messages * feat: keeping it lean and dry * chore: remove un-used files * chore: fix build error * feat: some minor cleanups * feat: return bearer token error if its invalid instead of returning session error --------- Co-authored-by: Puru D <puru@dahal.me>
* feat: replace jsx-email * feat: add pdf libs to external packages * feat: add aws sdk * chore: remove duplicate * chore: fix type error --------- Co-authored-by: Puru D <puru@dahal.me>
* chore(deps): bump @radix-ui/react-accordion from 1.1.2 to 1.2.0 (captableinc#472) Bumps [@radix-ui/react-accordion](https://github.com/radix-ui/primitives) from 1.1.2 to 1.2.0. - [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md) - [Commits](https://github.com/radix-ui/primitives/commits) --- updated-dependencies: - dependency-name: "@radix-ui/react-accordion" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @flydotio/dockerfile from 0.5.7 to 0.5.8 (captableinc#473) Bumps [@flydotio/dockerfile](https://github.com/fly-apps/dockerfile-node) from 0.5.7 to 0.5.8. - [Commits](https://github.com/fly-apps/dockerfile-node/commits) --- updated-dependencies: - dependency-name: "@flydotio/dockerfile" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Puru Dahal <dahal@users.noreply.github.com> * chore(deps): bump @tanstack/react-table from 8.19.2 to 8.20.1 (captableinc#474) Bumps [@tanstack/react-table](https://github.com/TanStack/table/tree/HEAD/packages/react-table) from 8.19.2 to 8.20.1. - [Release notes](https://github.com/TanStack/table/releases) - [Commits](https://github.com/TanStack/table/commits/v8.20.1/packages/react-table) --- updated-dependencies: - dependency-name: "@tanstack/react-table" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Puru Dahal <dahal@users.noreply.github.com> * chore(deps): bump pino-pretty from 11.2.1 to 11.2.2 (captableinc#471) Bumps [pino-pretty](https://github.com/pinojs/pino-pretty) from 11.2.1 to 11.2.2. - [Release notes](https://github.com/pinojs/pino-pretty/releases) - [Commits](pinojs/pino-pretty@v11.2.1...v11.2.2) --- updated-dependencies: - dependency-name: pino-pretty dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Puru Dahal <dahal@users.noreply.github.com> * chore: update pnpm-lock.yml --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [hono](https://github.com/honojs/hono) from 4.5.3 to 4.5.8. - [Release notes](https://github.com/honojs/hono/releases) - [Commits](honojs/hono@v4.5.3...v4.5.8) --- updated-dependencies: - dependency-name: hono dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…nc#490) Bumps [next-nprogress-bar](https://github.com/Skyleen77/next-nprogress-bar) from 2.3.12 to 2.3.13. - [Release notes](https://github.com/Skyleen77/next-nprogress-bar/releases) - [Commits](imskyleen/bprogress@2.3.12...2.3.13) --- updated-dependencies: - dependency-name: next-nprogress-bar dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…einc#489) Bumps [@radix-ui/react-avatar](https://github.com/radix-ui/primitives) from 1.0.4 to 1.1.0. - [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md) - [Commits](https://github.com/radix-ui/primitives/commits) --- updated-dependencies: - dependency-name: "@radix-ui/react-avatar" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [ts-pattern](https://github.com/gvergnaud/ts-pattern) from 5.1.1 to 5.3.1. - [Release notes](https://github.com/gvergnaud/ts-pattern/releases) - [Commits](gvergnaud/ts-pattern@v5.1.1...v5.3.1) --- updated-dependencies: - dependency-name: ts-pattern dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Puru Dahal <dahal@users.noreply.github.com>
* feat: add to config * feat: update template * fix: template
* feat: add queue utility * feat: add QUEUE_DATABASE_URL * feat: update member invite email * feat: update password reset email * feat: update share update email * feat: update data room email job * feat: update reinvite job * feat: register jobs * feat: add eSignNotificationWorker * feat: add authVerificationEmailWorker * feat: add esign confirmation job * feat: add esign pdf worker * feat: refactor name * refactor: move lib * feat: update * feat: use singleton * feat: split and register * chore: fix connection * fix: type * chore: fix type * chore: upgrade pg-boss * chore: fix type * fix: types * feat: move audit inside handler * feat: refactor sign-template * fix: remove sent status * feat: add status complete * feat: add new enums * fix: status map * fix: status * fix: job * feat: refactor esign * fix: status enum * feat: changes * chore: upgrade react email * feat: use render method
- Add HanzoIAMProvider to NextAuth config (OIDC with userinfo endpoint) - Add "Sign in with Hanzo" button to login page (above passkey/Google) - Add IS_HANZO_IAM_ENABLED constant - Env vars: HANZO_IAM_URL, HANZO_IAM_CLIENT_ID, HANZO_IAM_CLIENT_SECRET - IAM app registered as app-captable in init_data.json
- next: 14.2.4 → 15.1.0 - typescript: 5.4.5 → 5.9.3 - prisma: 5.13.0 → 5.22.0 - @next/bundle-analyzer: 14.2.3 → 15.1.0 React 18, next-auth 4.x, and tailwindcss 3.x kept as-is (React 19 upgrade blocked by tremor, react-pdf, react-email peer deps).
- Remove misused "use server" directives from page components - Extract dynamic import with ssr:false to client component - Make deleteBucketFile async with await (server action requirement) - Fix unsafe optional chaining and unused variable lint errors
InvestorDetails was using server-only tRPC import inside a "use client" modal, causing webpack build failure. Switch to React Query-based client API.
Next.js 15 requires async params/searchParams across 20+ pages. Ignoring TS build errors temporarily to unblock deployment.
Replace captable logo with Hanzo H mark. Remove email/password, passkey, and Google auth — only allow Sign in with Hanzo (IAM).
- Extract organization from IAM profile (owner/organization/org fields) - Pass organization through JWT → session for multi-tenant awareness - Add HANZO_IAM_* variables to .env.example - Deprecate Google OAuth in favor of Hanzo IAM
Drop HANZO_ prefix from all IAM environment variable names for consistency across the Hanzo ecosystem. Also renames IS_HANZO_IAM_ENABLED to IS_IAM_ENABLED.
Replace direct DIGITALOCEAN_ACCESS_TOKEN with reusable-deploy-service.yml from hanzoai/universe that fetches credentials from KMS using HANZO_API_KEY.
…rkflow Replaces the bespoke setup-buildx/login/build-push block with a 5-line caller of the canonical reusable. Behaviour preserved: - image: ghcr.io/hanzoai/captable - dockerfile: docker/Dockerfile - push on main branch (the reusable handles tag/branch pushes) The deploy job is unchanged. secrets: inherit propagates UNIVERSE_DISPATCH_TOKEN / HANZO_API_KEY to both jobs.
|
Important Review skippedToo many files! This PR contains 283 files, which is 133 over the limit of 150. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (17)
📒 Files selected for processing (283)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Thank you for following the naming conventions for pull request titles! 🙏 |
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
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
Replaces the bespoke setup-buildx/login/build-push block in docker-deploy.yml with a 5-line caller of the canonical reusable hanzoai/.github/.github/workflows/docker-build.yml@main.
Behaviour preserved:
One and only one docker-build workflow across all repos.
Test plan