Skip to content

Add tests for auth, APQ, base links, and operation; fix three bugs exposed by tests#27

Merged
jhnnsrs merged 3 commits into
mainfrom
claude/test-coverage-analysis-vfkXa
Jun 8, 2026
Merged

Add tests for auth, APQ, base links, and operation; fix three bugs exposed by tests#27
jhnnsrs merged 3 commits into
mainfrom
claude/test-coverage-analysis-vfkXa

Conversation

@jhnnsrs

@jhnnsrs jhnnsrs commented Jun 8, 2026

Copy link
Copy Markdown
Owner
  • Add 72 new tests across four files: test_auth_link.py, test_apq_link.py,
    test_base_links.py, and test_operation.py
  • Fix ApqLink: removed copy-pasted AuthTokenLink methods, corrected
    operation.query → operation.document, fixed shadowed variable in the
    PersistedQueryNotFound error handler
  • Add context.extensions (Dict) and context.omit_document (bool) to Context
    so ApqLink can prepare operations correctly for APQ-aware transports
  • Fix ComposedAuthLink.token_loader / token_refresher to default to None
    (they were Optional but had no default, causing Pydantic validation errors)

https://claude.ai/code/session_014EK7JtPbiN9hUt2LvrZQUX

claude added 3 commits June 8, 2026 14:10
…posed by tests

- Add 72 new tests across four files: test_auth_link.py, test_apq_link.py,
  test_base_links.py, and test_operation.py
- Fix ApqLink: removed copy-pasted AuthTokenLink methods, corrected
  operation.query → operation.document, fixed shadowed variable in the
  PersistedQueryNotFound error handler
- Add context.extensions (Dict) and context.omit_document (bool) to Context
  so ApqLink can prepare operations correctly for APQ-aware transports
- Fix ComposedAuthLink.token_loader / token_refresher to default to None
  (they were Optional but had no default, causing Pydantic validation errors)

https://claude.ai/code/session_014EK7JtPbiN9hUt2LvrZQUX
Documents repo layout, code style, test patterns, and enforces
Conventional Commits so Semantic Release can version correctly.

https://claude.ai/code/session_014EK7JtPbiN9hUt2LvrZQUX
@jhnnsrs
jhnnsrs merged commit f75cc7e into main Jun 8, 2026
6 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.

2 participants