Skip to content

refactor(agent): simplify signed JSON requests#206

Merged
arjunkomath merged 2 commits into
mainfrom
refactor/agent-http-client
Jul 25, 2026
Merged

refactor(agent): simplify signed JSON requests#206
arjunkomath merged 2 commits into
mainfrom
refactor/agent-http-client

Conversation

@arjunkomath

@arjunkomath arjunkomath commented Jul 24, 2026

Copy link
Copy Markdown
Member

Summary

  • add one private helper for the shared signed JSON POST transport mechanics
  • keep accepted statuses and response decoding explicit at endpoint call sites
  • cover request signing, accepted responses, decoding, and exact error-body formatting

Scope

  • production: 31 additions, 75 deletions (net -44)
  • tests: 40 additions
  • complete PR: 71 additions, 75 deletions (net -4)

Validation

  • gofmt
  • go test ./...
  • go vet ./...
  • staticcheck ./...
  • Linux amd64 and arm64 agent builds

ampagent and others added 2 commits July 24, 2026 23:10
@arjunkomath
arjunkomath merged commit 495d57a into main Jul 25, 2026
8 checks passed
@arjunkomath
arjunkomath deleted the refactor/agent-http-client branch July 25, 2026 00:42
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