Skip to content

Add fastly_compute_runtime::get_heap_mib hostcall#572

Merged
ulyssa merged 1 commit intomainfrom
ulyssa/get-heap-mib
Jan 16, 2026
Merged

Add fastly_compute_runtime::get_heap_mib hostcall#572
ulyssa merged 1 commit intomainfrom
ulyssa/get-heap-mib

Conversation

@ulyssa
Copy link
Contributor

@ulyssa ulyssa commented Jan 16, 2026

This adds support for the fastly_compute_runtime::get_heap_mib hostcall by reading out the value tracked by the Limiter.

Viceroy doesn't currently have a heap usage tracker for things like the request/response bodies, so the value reported by an application here will be smaller than what would be reported in Compute, but it should be close enough for testing purposes.

@ulyssa ulyssa force-pushed the ulyssa/get-heap-mib branch from 025418c to 17259a1 Compare January 16, 2026 18:59
@ulyssa ulyssa merged commit 0066c6b into main Jan 16, 2026
13 checks passed
@ulyssa ulyssa deleted the ulyssa/get-heap-mib branch January 16, 2026 21:57
jedisct1 added a commit to avidal/fastlike that referenced this pull request Jan 20, 2026
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