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

a large number of build targets breaks the save to db functionality due to schema misconfiguration #11

Closed
trey-ivy opened this issue Oct 7, 2024 · 1 comment · Fixed by #14
Assignees

Comments

@trey-ivy
Copy link
Collaborator

trey-ivy commented Oct 7, 2024

looks like there is an issue that once you surpass a certain number of build targets, the query is no longer able to effectively seralize the build object to the database. further exploration reveals this is because I forgot to add some .Unique() annotations to objects in the schema, so instead of 1:many, they are many:many relationships, which is problematic in several ways.

I've got a fix in the works

@gempesaw
Copy link
Contributor

gempesaw commented Oct 8, 2024

i wonder if this is related to the segfault i was running into on #2 ! in my bazel invocations, i was trying to stream to bb-portal with ~5000 targets . i'll keep an eye out and try this fix whenever it's merged 🎉

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 a pull request may close this issue.

2 participants