Skip to content

Reject unsupported kegg_ddi batching - #39

Merged
cvigilv merged 2 commits into
mainfrom
cv/fix27-reject-ddi-batching
Sep 15, 2026
Merged

cvigilv merged 2 commits into
mainfrom
cv/fix27-reject-ddi-batching

Conversation

@cvigilv

@cvigilv cvigilv commented Sep 15, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • reject empty DDI vectors before sending a request
  • send one request for vector inputs
  • remove response concatenation, chunking, sleeps, and the timeout keyword
  • document the input limits and add deterministic regression tests for cross-chunk interactions
  • Replace chunk_vectors with Iterators.partition

Compatibility

This removes the timeout keyword from kegg_ddi as planned. The PR should be included in a breaking release.

Validation

  • julia --project -e 'using Pkg; Pkg.test()'
  • julia --project=docs docs/make.jl
  • Runic check for src/ and test/

Closes #27
Addresses #24

@codecov

codecov Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/List.jl 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
src/Conv.jl 100.00% <100.00%> (ø)
src/Ddi.jl 100.00% <100.00%> (ø)
src/Get.jl 92.85% <100.00%> (ø)
src/KEGGAPI.jl 100.00% <ø> (ø)
src/Link.jl 96.15% <100.00%> (ø)
src/List.jl 48.48% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- Reject empty vectors before requests.
- Send one request for valid vectors.
- Remove DDI chunking, sleeps, and timeout.
- Add deterministic regression tests and documentation.
- Preserve the vector result’s URL representation.
@cvigilv
cvigilv force-pushed the cv/fix27-reject-ddi-batching branch from ebb9b39 to 70a8a27 Compare September 15, 2026 12:05
- Remove `chunk_vectors` function
- Import `partition` from Base.Iterators
- Expand input types for `build_kegg_url`, as `Iterators.partition`
  returns a `SubArray`
@cvigilv
cvigilv merged commit 2c687cd into main Sep 15, 2026
5 checks passed
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.

Reject unsupported kegg_ddi queries above 10 entries

1 participant