wy-p0c7ut: remove dead mixed-bucket filter wrapper

This commit is contained in:
Bee 2026-09-01 03:47:06 -07:00
commit 0efe0adf5e

View file

@ -386,17 +386,6 @@ func ValidateCreateIssuesMixedBucketDependencies(issues []*types.Issue) error {
return err
}
// FilterCreateIssuesMixedBucketDependencies applies the same cross-bucket
// dependency policy as CreateIssuesInTx, but over the full issue set. Callers
// that split one logical batch into bounded sub-batches (chunked import) must
// run this once up front: the per-batch filter inside the engine only sees one
// sub-batch, so it could no longer detect an edge whose endpoints land in
// different chunks. Filtered edges are reported via opts.OnSkippedDependency;
// issues whose dependency list changes are copied, never mutated.
func FilterCreateIssuesMixedBucketDependencies(issues []*types.Issue, opts storage.BatchCreateOptions) ([]*types.Issue, error) {
return filterCreateIssuesMixedBucketDependencies(issues, opts)
}
func filterCreateIssuesMixedBucketDependencies(issues []*types.Issue, opts storage.BatchCreateOptions) ([]*types.Issue, error) {
batchWispByID := make(map[string]bool, len(issues))
hasRegular := false