Skip to content

feat: update orval to v8.10#487

Open
Normal-DV wants to merge 1 commit into
devfrom
orval8
Open

feat: update orval to v8.10#487
Normal-DV wants to merge 1 commit into
devfrom
orval8

Conversation

@Normal-DV
Copy link
Copy Markdown
Collaborator

Summary

Update Orval from 7.4.1 to 8.10.0 and adapt the dashboard API layer to the new generated client shape.

Changes

  • Regenerated the API client with Orval 8.10.0.
  • Updated the custom Orval fetcher to support the new (url, options) mutator signature.
  • Added centralized auth session handling for logout and 401 responses.
  • Clear React Query state and auth token consistently before redirecting to login.
  • Updated route loaders to guard unauthenticated access before fetching admin data.
  • Adjusted affected API call sites for the new request/options format.
  • Removed flow selection from bulk proxy and user template flows, keeping method-based proxy settings.
  • Updated related generated types and UI type usage.

Testing

Not run.

- Refactored the HTTP fetcher to utilize a centralized unauthorized handling mechanism.
- Introduced `handleUnauthorized` function to clear auth session and redirect to login.
- Updated fetcher to use token directly from parameters instead of local storage.
- Improved parameter handling in GET requests to accommodate additional data.
- Added utility functions for session management in a new `authSession` module.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 16, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a68641eb-9f3c-41a7-93a4-7c7b2fead22a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch orval8

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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