Skip to content

Conversation

@vinistock
Copy link
Member

@vinistock vinistock commented Jul 21, 2025

Motivation

#3654 introduced a bug where we may return an array of empty arrays if all candidates get excluded in the class select. We can't return empty arrays inside as that's not what consumers of the API expect, we need to filter those out completely.

Implementation

Started ensuring that empty arrays are discarded during the filtering.

Automated Tests

Enhanced the current test.

Copy link
Member Author


How to use the Graphite Merge Queue

Add the label graphite-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vinistock vinistock self-assigned this Jul 21, 2025
@vinistock vinistock added bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes labels Jul 21, 2025 — with Graphite App
@vinistock vinistock marked this pull request as ready for review July 21, 2025 19:31
@vinistock vinistock requested a review from a team as a code owner July 21, 2025 19:31
@vinistock vinistock merged commit 438e73f into main Jul 21, 2025
55 of 56 checks passed
@vinistock vinistock deleted the 07-21-avoid_keeping_empty_arrays_inside_constant_completion_candidates branch July 21, 2025 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants