Skip to content

Harden generated C runtime behavior and portability#3

Merged
tolgahan-arikan merged 5 commits into
masterfrom
runtime-hardening
Apr 14, 2026
Merged

Harden generated C runtime behavior and portability#3
tolgahan-arikan merged 5 commits into
masterfrom
runtime-hardening

Conversation

@tolgahan-arikan
Copy link
Copy Markdown
Collaborator

Changes

  • make generated client reconfiguration transactional so failed updates preserve the previous working config
  • stop automatic redirect following in the generated transport
  • harden HTTP response buffering against size_t overflow during large response reads
  • add explicit generated runtime hooks around libcurl global initialization and document the contract
  • map schema int and uint to int32_t and uint32_t and align decoder bounds with those fixed-width types
  • fix enum UNKNOWN round-tripping and reject schema enum values that collide with the reserved sentinel
  • add generator and interop regression coverage for transport behavior, runtime setup, numeric widths, enum handling, and config preservation
  • regenerate the checked-in smoke example artifacts and update README guidance for the generated runtime

Verification

  • go test -count=1 ./...

@tolgahan-arikan tolgahan-arikan merged commit 4b09aab into master Apr 14, 2026
2 checks passed
@tolgahan-arikan tolgahan-arikan deleted the runtime-hardening branch April 17, 2026 11:32
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.

1 participant