Skip to content

SR: Browser crash on comparing a huge schema #867

Open
@pochea15

Description

@pochea15

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here
  • I've tried running main-labeled docker image and the issue still persists there
  • I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)

"From a discord conversation"
We recently updated our repo to use Kafbat 1.1.0 Kafka UI over the original. One of our users has an extremely large Json schema over 12,000 lines.

They said that they were able to use the compare feature prior to us moving to the new version of Kafbat. It would just take awhile to load. Now it ends up crashing chrome. It seems to be a client side issue as there are no error logs on the backend. And nothing seems to appear in the console.

This is a schema with sensitive information removed.
https://gist.github.com/pochea15/5e2e4332fd223ee07e3e0b574ac93f31

Expected behavior

User has an understanding a schema that large is going to be slow but having it not crash is the expected behavior.

Your installation details

  1. 9a4eb69 1.1.0

Steps to reproduce

Load up https://gist.github.com/pochea15/5e2e4332fd223ee07e3e0b574ac93f31 and give it a go

Screenshots

No response

Logs

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/srSchema Registryscope/frontendRelated to frontend changesstatus/confirmedA bug that is a confirmed one. Applicable only for the bug label.status/triage/completedAutomatic triage completedtype/bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions