Repository navigation
Conversation
rossant
marked this pull request as ready for review
November 26, 2026 19:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phylib's new configuration loader rejects arbitrary Python by default, so trusted legacy
params.pyfiles need an explicit execution path through Phy's commands. Add--allow-python-executiontotemplate-gui,template-describe,trace-gui,extract-waveforms, andalf-convert; forward it through model loading, multi-probe merging, and the final conversion reload. The profiling path also preserves this option. There is no automatic retry with Python execution enabled.Keep existing default behavior with released phylib, while rejecting an explicit execution option on versions without the new API before loading. Older phylib still executes configs by default: the restricted behavior requires the new phylib loader. Document that distinction, source installation, and migration. Pickle-cache errors identify the file and preserve its contents; tests verify the actual cluster-to-spike cache format and that rejected payloads cannot execute or delete the cache.
Testing against the merged phylib also activates its trace-prefetch capabilities and exposed a cleanup error when a native dock had already been deleted. Guard signal disconnection for destroyed docks, cancel the outstanding hint, and detach callbacks. A regression covers cleanup after native deletion, and the dense-controller save/reopen tests verify persisted assignments survive the integration.
Add a focused CI job pinned to merged phylib revision
86216fbd50fbb35a9b17662a452ef6625fcb1439so the new integration tests run before a package release. The ordinary matrix continues to test the released dependency. Generated API docs use the locked/released environment so the documentation gate remains reproducible.Validation:
xvfb-run -a make test-full UV_RUN="uv run --no-sync"with the pinned hardened phylib on Python 3.12: 676 core/script tests and 189 application tests passed (865 total; 19 skipped), exit 0.9236547e82792da08017e21b2df6697a5be94468. The regular cross-platform matrix is still running at handoff.Release prerequisite: after publishing a phylib version containing cortex-lab/phylib#71 and #72, update Phy's minimum phylib requirement and lockfile before claiming restricted loading for all supported installations. This PR does not invent an unpublished minimum version or publish either package.