Skip to content

feat(react-kratos): upgrade Kratos client - #160

Merged
TorinAsakura merged 8 commits into
masterfrom
feat/upgrade-react-kratos
Sep 29, 2026
Merged

TorinAsakura merged 8 commits into
masterfrom
feat/upgrade-react-kratos

Conversation

@TorinAsakura

@TorinAsakura TorinAsakura commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Task

How to verify

Main scenario

  1. Context: an application using Ory Kratos native self-service flows.
    Action: create a FrontendApi with @ory/kratos-client-fetch@26.2.0, provide it through SdkProvider, and render LoginNativeFlow or RegistrationNativeFlow.
    Expected result: the package uses the provided SDK without Axios, does not re-export the vendor API, and preserves its public flow components, hooks, and providers.

  2. Context: submitting a login or registration flow.
    Action: verify a validation response, 404, 410 with use_flow_id, redirect, reauthentication, and an unknown SDK error.
    Expected result: validation updates the flow; a missing or expired flow restarts; a failure to create a fresh flow or load a replacement flow invokes onError and rejects the submit promise; reading the error body in the submit callback does not prevent further flow handling; redirects are passed to the platform adapter; other vendor errors are not masked.

  3. Context: a consumer of @atls/react-kratos.
    Action: import vendor types directly from @ory/kratos-client-fetch and build the package.
    Expected result: the ESM exports and TypeScript declarations build successfully, and the former export * from '@ory/client' is absent.

Additional scenario

  1. Context: the repository root at head bc486c0b1530fd840ba7665f11176bdedc43bd71.
    Action: run corepack yarn test unit --test-reporter tap.
    Expected result: all 10 project-owned unit tests pass.

  2. Context: GitHub PR feat(react-kratos): upgrade Kratos client #160 after the history rewrite.
    Action: inspect current-head CI and Codex review state.
    Expected result: Checks / Checks, Lint, TypeCheck, Test:Unit, Test:Integration, and the CI job Release complete successfully, and the Codex review cycle completes for the exact current head. The CI job named Release does not mean that an npm package was published.

Proofs

  • Current head: bc486c0
  • Current-head CI: https://github.com/atls/reactjs/actions/runs/36610161762 — completed successfully for the exact current head.
  • Current-head Codex review: pending after the history rewrite; no additional manual review request was created.
  • Local verification: corepack yarn test unit --test-reporter tap — 10/10; @atls/react-kratos build — 36 files; commit hooks completed successfully.
  • React Native was inspected only as a local dependent candidate; this PR does not deliver or publish React Native changes.

@TorinAsakura
TorinAsakura marked this pull request as ready for review September 29, 2026 15:51
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-29T18:13:10.651777Z bc486c0 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 87e8a6858f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/react-kratos/src/flows/flow-error.handler.ts

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: db2bdd23d0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/react-kratos/src/flows/login-native.flow.tsx
@TorinAsakura

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4d01621248

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/react-kratos/src/flows/login-native.flow.tsx Outdated
Comment thread packages/react-kratos/src/flows/login-native.flow.tsx
@TorinAsakura
TorinAsakura force-pushed the feat/upgrade-react-kratos branch from c091537 to bc486c0 Compare September 29, 2026 18:10
@TorinAsakura
TorinAsakura merged commit c5ddca8 into master Sep 29, 2026
8 checks passed
@TorinAsakura
TorinAsakura deleted the feat/upgrade-react-kratos branch September 29, 2026 18:47
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.

[Package] Kratos React для self-hosted Kratos

1 participant