Repository navigation
Conversation
Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: #92
Initialize the default reservation directly from the system page size so the existing growth test can run with Clang sanitizers.
Working session summaryPR #136 is ready for review and remains unmerged. It fixes the The regression reproduced the mismatch before the fix. Both C++ heap tests passed afterward with leak and allocation-mismatch detection enabled. All PR checks passed, and the 15-minute review window produced zero findings. C++ CI run Public Conan publication remains blocked. The 0.1.1 archive passed a local consumer test with explicit GSL and mio dependencies. Public availability still requires the main-branch release and a separate Conan recipe update. The index currently lists only 0.1.0. Conan recipe index This summary was automatically extracted from the AI working session output. |
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:
Total: (96.5K + 4.7M cached) input tokens, 26.6K output tokens, $1.724512 cost 🤖 Models used:
📎 Log file uploaded as Gist (415KB)This AI session has ended. Monitoring of this pull request continues. Feel free to review and add feedback while checks are running. |
✅ Ready to mergeThis pull request is now ready to be merged:
|
Fixes #92.
Changes
std::freeto destroy memory reserved bystd::mallocor grown bystd::realloc.0.1.1and correct the deployment workflow’s recipe name toplatform.memory.Reproduction and verification
Construct
HeapResizableDirectMemory{4096}, setUsedCapacity(1), write one byte, and let the object leave scope. Under Clang 18, the newHeapResizableDirectMemory.DestroysAllocatedMemorytest fails before the fix withAddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete)in the destructor. Both heap tests pass after the fix with leak and mismatch checks enabled.After installing the usual Conan dependencies with Clang and C++20, run from
cpp:Publication
The version bump triggers the GitHub release workflow on
main. Public Conan availability also needs the separately maintained recipe index to register0.1.1with the release archive URL and checksum. The index currently lists only0.1.0. A local ZIP made with the production layout passed the installed-package heap test under ASan and UBSan. The stock index test consumer failed to find the publicgsl/gslandmio/mmap.hppheaders with Conan 2.34. The local test consumer passed after declaring and linking GSL and mio explicitly. Conan recipe index