Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Component): disable limit when fetching component data #8142

Merged
merged 2 commits into from
Nov 13, 2023

Conversation

luvkapur
Copy link
Member

@luvkapur luvkapur commented Nov 13, 2023

This PR fixes the issue of missing versions in the component compare version picker by disabling the limit of number of logs fetched.

This is temporarily commented out until we merge the PR which enables lazy loading of component logs.
#7346

Currently, with this limit set - on a workspace; all sub routes of a component have only access to 3 logs from the component, which results in incorrect previous version selected when comparing an older tag/snap. It also fixes the issue where the version picker in Component Compare on a workspace will always only show the last three logs (snaps and tags)

On Cloud, we ignore the limit all together on the graphql server which results in correct behaviour

@luvkapur luvkapur merged commit 6ad9231 into master Nov 13, 2023
11 checks passed
@luvkapur luvkapur deleted the compare-version-picker-fix branch November 13, 2023 21:21
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