Skip to content

Conversation

@pmfs1
Copy link
Owner

@pmfs1 pmfs1 commented Nov 19, 2025

This pull request introduces several updates to the CI workflow, build process, and cortex API. The main changes include renaming and updating the CI workflow, adding a new build job, updating tool versions, and extending the cortex API with new state-reading functions.

CI Workflow and Build Process Updates:
  • Renamed .github/workflows/codeql.yml to .github/workflows/ci.yml and changed the workflow name from CODEQL_ADVANCED to CI, updating the trigger branches pattern.
  • Updated the CodeQL analysis job: renamed it to DYNAMIC ANALYSIS, switched the checkout and analyze actions to newer major versions (actions/checkout@v5, github/codeql-action/analyze@v4), and added top-level permissions. [1] [2] [3]
  • Added a new build job to the workflow, which installs build dependencies and runs make after CodeQL analysis completes.
Code and API Updates:
  • Updated the C compiler standard in Makefile from C17 to C11 for compatibility.
  • Added two new API functions to include/cortex.h: c2d_get_spiking_state (returns spiking state of neurons) and c2d_get_synout_state (returns output synapse counts for each neuron).

@pmfs1 pmfs1 self-assigned this Nov 19, 2025
Copilot AI review requested due to automatic review settings November 19, 2025 16:13
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request updates the CI workflow, build configuration, and extends the cortex API with new state-reading functions. The changes prepare the project for improved CI/CD with a new build job and add functionality for reading neuron state information.

  • Renames and restructures the CI workflow from CodeQL-focused to a broader CI workflow with CodeQL analysis and build verification
  • Updates tool versions in the CI workflow (checkout v4→v5, codeql analyze v3→v4)
  • Changes C compiler standard from C17 to C11 for broader compatibility
  • Adds two new API functions for reading cortex neuron state: spiking state and synapse output count

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
version.txt Updates version hash to track the new release
include/unknown.h Adds blank line for formatting consistency
include/cortex.h Adds c2d_get_spiking_state and c2d_get_synout_state functions to read neuron states
Makefile Changes C standard from C17 to C11 for compatibility
.github/workflows/ci.yml Renames workflow, updates action versions, adds build job with dependency installation
Comments suppressed due to low confidence (1)

.github/workflows/ci.yml:31

  • The CodeQL init action is still using v3 while the analyze action was updated to v4. For consistency and to avoid potential compatibility issues, consider updating this to v4 as well: github/codeql-action/init@v4.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pmfs1 pmfs1 merged commit eab5f2a into trunk Nov 19, 2025
5 checks passed
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