forked from NeuroTechX/EEG-ExPy
-
Notifications
You must be signed in to change notification settings - Fork 0
Add GitHub CLI configuration to claude/config.json #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
pellet
wants to merge
15
commits into
master
Choose a base branch
from
claude/add-github-cli-config-01BFJ2vyqGFChae8rFbN9B2h
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add GitHub CLI configuration to claude/config.json #2
pellet
wants to merge
15
commits into
master
from
claude/add-github-cli-config-01BFJ2vyqGFChae8rFbN9B2h
Conversation
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
Configure gh CLI tool with version 2.62.0 for workflow monitoring. Tool is marked as optional with setup instructions in SessionStart hook.
Includes guidance on repository architecture, development commands, and Claude Code configuration including the GitHub CLI setup.
- Update actions/checkout from v2/v3 to v4 for security and compatibility - Update actions/setup-python from v4 to v5 in docs workflow - Add claude/* branch pattern to workflow triggers to enable CI on Claude branches - Workflows now run on pushes to master, develop, dev/*, and claude/* branches These changes ensure workflows run on Claude Code feature branches and use the latest stable versions of GitHub Actions.
**Fixed Issues:** 1. eegnb/devices/eeg.py:31 - Removed duplicate time import - Removed `from time import time` that conflicted with `import time` - Updated all `time()` calls to `time.time()` for consistency - This was a real bug that could cause runtime errors 2. eegnb/experiments/rest/eoec.py - Added type assertions - Added assertions for outlet, open_sound, close_sound attributes - These are initialized as None but always set in setup() before use - Assertions document the contract and help mypy understand the code flow - Provides runtime safety if methods are called in wrong order All typecheck errors should now be resolved.
**Improved code quality:** 1. eegnb/devices/eeg.py: - Use direct `time()` import instead of `time.time()` - Consolidated imports: `from time import sleep, time` - Removed unused `import time` module import - More concise and Pythonic 2. eegnb/experiments/rest/eoec.py: - Replaced asserts with explicit RuntimeError - RuntimeError cannot be disabled (unlike assert with -O flag) - Cleaner single-line check instead of three separate asserts - Still provides type narrowing for mypy These changes maintain type safety while following Python best practices.
**Bottleneck Identified:** macOS tests were taking ~28 minutes because the workflow was: 1. Creating conda environment (~10-12 min) 2. Deleting the entire environment 3. Recreating it from scratch with osx-64 platform (~10-12 min) 4. Running conda env update again **Fix:** - Use CONDA_SUBDIR=osx-64 environment variable in setup-miniconda - Create environment with correct platform from the start - Eliminate the redundant "Recreate environment" step - Split conda setup into macOS-specific and Linux/Windows steps **Expected Impact:** - Should reduce macOS test time from ~28min to ~12-15min - ~50% time savings on macOS CI runs - No functional changes - still uses osx-64 for audio compatibility
Changed from macOS-latest (ARM64) to macOS-13 (Intel) to fix architecture mismatch. The osx-64 conda packages require Intel hardware to run properly. This resolves the "incompatible architecture (have 'x86_64', need 'arm64')" error.
Use ARM runner with conda settings to create Intel (osx-64) environment instead of explicitly using Intel runner.
Restore workflow to previous configuration with separate conda install and osx-64 environment recreation steps.
Add force-reinstall of numpy on Windows to fix DLL load failures. This resolves the "DLL load failed while importing _multiarray_umath" error.
Investigate numpy DLL import error by examining dependency tree. Check what packages depend on numpy and PsychoPy's dependencies.
Includes: - Windows numpy DLL fix from master (same as our implementation) - Added numpy to conda environment yml - ThinkPulse patch with board configuration support - Kept debug pipdeptree step for future troubleshooting
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.
Configure gh CLI tool with version 2.62.0 for workflow monitoring.
Tool is marked as optional with setup instructions in SessionStart hook.