Skip to content

Redefine the request contract + move to HTTP exception handling - #40

Merged
cvigilv merged 4 commits into
mainfrom
cv/fix29-request-contract
Sep 15, 2026
Merged

cvigilv merged 4 commits into
mainfrom
cv/fix29-request-contract

Conversation

@cvigilv

@cvigilv cvigilv commented Sep 15, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • export and document request as a low-level escape hatch
  • support text and binary response bodies through typed request calls
  • delegate connection, request, timeout, and status failures to HTTP.jl's exception types
  • remove KEGGAPI.jl's custom RequestError and the old request_other function
  • route binary kegg_get calls through typed request
  • replace request-layer network tests with a local HTTP fixture while retaining one live KEGG check

Validation

  • julia --project -e 'using Pkg; Pkg.test()'
  • Julia 1.10 package tests in a clean temporary environment
  • julia --project=docs docs/make.jl
  • Runic check for src/, test/, and docs/

Closes #29

@codecov

codecov Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/Get.jl 92.85% <100.00%> (ø)
src/List.jl 45.16% <100.00%> (-3.33%) ⬇️
src/Requests.jl 100.00% <100.00%> (+10.00%) ⬆️
src/Structures.jl 50.00% <ø> (-16.67%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cvigilv
cvigilv force-pushed the cv/fix29-request-contract branch from 8ab2ea4 to c80ea61 Compare September 15, 2026 13:02
@cvigilv
cvigilv force-pushed the cv/fix29-request-contract branch from b1d2251 to 5f53395 Compare September 15, 2026 13:41
@cvigilv cvigilv changed the title Define the public request contract Redefine the request contract + move to HTTP exception handling Sep 15, 2026
@cvigilv
cvigilv merged commit 0926539 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.

Define the public request and RequestError contract

1 participant