3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-01-18 08:18:55 +00:00
Commit graph

252 commits

Author SHA1 Message Date
Copilot
05994345cb
Add agentic workflow for C++ coding conventions and modernization analysis (#8140)
* Initial plan

* Add code conventions analyzer agentic workflow

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-01-10 12:28:31 -08:00
Copilot
bac004047b
[WIP] Fix build warning fixer to access daily build logs (#8133)
* Initial plan

* Update build-warning-fixer with correct tool usage and examples

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Add specific workflow targets to build-warning-fixer

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-01-08 21:10:27 -08:00
Copilot
22061a7452
Remove GITHUB_READ_ONLY flag blocking Actions log retrieval in build-warning-fixer (#8128)
* Initial plan

* Remove GITHUB_READ_ONLY=1 flag to allow log retrieval in build-warning-fixer

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-01-08 20:07:16 -08:00
Nikolaj Bjorner
1d3bdd6e43 remove stale actions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-01-08 20:01:35 -08:00
Nikolaj Bjorner
26fd6caf27 remove stale actions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-01-08 20:01:00 -08:00
Nikolaj Bjorner
0decb25420
Delete .github/workflows/codeql-analysis.yml 2026-01-08 19:59:08 -08:00
Copilot
936952dd00
Enable workflow log access for build-warning-fixer agent (#8123)
* Initial plan

* Enable agentic-workflows MCP server for workflow log access

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-01-08 15:06:57 -08:00
Copilot
8e59c4938a
Upgrade agentic workflows to gh-aw v0.36.0 (#8122)
* Initial plan

* Upgrade agentic workflows to gh-aw v0.36.0

- Applied automatic codemods (timeout_minutes → timeout-minutes, command → slash_command)
- Fixed pr-fix.md: push-to-pr-branch → push-to-pull-request-branch
- Updated include paths from agentics/shared/ to shared/
- Migrated @include syntax to {{#import}} syntax
- Moved shared workflow files to standard .github/workflows/shared/ location
- Ran gh aw init to refresh agent files and instructions
- All 8 workflows compile successfully

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-01-08 11:50:35 -08:00
Nikolaj Bjorner
c107ba22b3 Merge branch 'master' of https://github.com/Z3Prover/z3 2026-01-08 18:46:41 +00:00
Nikolaj Bjorner
69bc608a18 Add GitHub Actions workflow for automatic build warning detection and fixing
This workflow analyzes build warnings from CI runs of the Z3 theorem prover codebase. It extracts compiler warnings, creates fixes for straightforward issues, and generates pull requests with the changes. The process is designed to be conservative, ensuring that only safe and minimal changes are made to the codebase.
2026-01-08 18:45:57 +00:00
Copilot
a7a18b8309
Add agentic workflow for multi-language API coherence checking (#8119)
* Initial plan

* Add API coherence checker agentic workflow

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-01-08 10:31:23 -08:00
Nikolaj Bjorner
c7cee3227d update aw to current version 2026-01-08 18:15:03 +00:00
Nikolaj Bjorner
5ceb312f41
Update docs.yml 2025-12-20 18:59:42 +00:00
Copilot
06658a1fd7
Fix docs.yml workflow: specify working directory for npm commands (#8098)
* Initial plan

* Fix docs.yml build by adding working-directory to npm steps

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2025-12-20 02:03:54 +00:00
Nikolaj Bjorner
6584084d6a set build directory
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-12-19 13:49:24 -08:00
Nikolaj Bjorner
baded7fa5a
Refactor documentation workflow to simplify installation
Remove redundant command for installing Python package.
2025-12-19 21:14:20 +00:00
Nikolaj Bjorner
8f73a29136
Fix Z3BUILD environment variable in docs workflow 2025-12-19 20:54:03 +00:00
Nikolaj Bjorner
abd8b51ece fix build dir
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-12-18 20:46:42 -08:00
Nikolaj Bjorner
2f6f5ff227 try adding wasm as separate step
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-12-18 20:10:26 -08:00
Nikolaj Bjorner
792434e45f
Update docs.yml 2025-12-19 03:52:55 +00:00
Nikolaj Bjorner
5e22b82b61
Modify docs.yml to generate JS documentation
Updated documentation generation script to include JavaScript output.
2025-12-19 03:21:47 +00:00
Nikolaj Bjorner
f901646e08 enable js
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-12-18 19:12:53 -08:00
Nikolaj Bjorner
909e41ce9c include paramters
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-12-18 17:32:57 -08:00
Nikolaj Bjorner
1cccbfdcf3 updated with env ocaml
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-12-18 14:00:50 -08:00
Nikolaj Bjorner
89e5e294fc update doc
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-12-18 13:39:45 -08:00
Copilot
f291908e58
Fix docs.yml workflow: update actions to v4 (#8095)
* Initial plan

* Fix docs.yml workflow: update GitHub Actions to valid versions

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2025-12-18 21:33:09 +00:00
Nikolaj Bjorner
382d184ee2 docs with ml bindings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-12-18 13:08:23 -08:00
Nikolaj Bjorner
3469dda936
Modify docs.yml for deployment settings
Updated the GitHub Actions workflow for documentation deployment, changing the publish directory and removing the push trigger.
2025-12-18 20:51:36 +00:00
Nikolaj Bjorner
7ec6c09a14
Update publish directory for documentation deployment 2025-12-18 20:27:29 +00:00
Nikolaj Bjorner
7e9dea9bc7
Update docs.yml 2025-12-18 20:27:01 +00:00
Copilot
2a3f874883
Deploy docs to z3prover.github.io organization pages (#8094)
* Initial plan

* Deploy docs to z3prover.github.io organization pages

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2025-12-18 19:39:04 +00:00
Nikolaj Bjorner
04d9504cc3
Simplify CI workflow by removing emscripten steps
Removed unnecessary steps for emscripten setup and TypeScript/WASM build in the CI workflow.
2025-12-17 20:28:16 +00:00
Nikolaj Bjorner
9ffc7e4b80
Add working directory for wasm build step 2025-12-17 19:39:30 +00:00
Nikolaj Bjorner
a912bfe05d
Update docs.yml 2025-12-17 18:12:39 +00:00
Nikolaj Bjorner
470d660cee
Update docs.yml 2025-12-17 18:09:34 +00:00
Copilot
fc72855e55
Fix docs.yml workflow: resolve WASM/native library conflict in documentation generation (#8093)
* Initial plan

* Fix docs.yml: Build native Z3 Python bindings before WASM to avoid library conflicts

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2025-12-17 17:18:33 +00:00
Copilot
9a09b10cea
Fix docs.yml workflow: remove conflicting native build step (#8091)
* Initial plan

* Fix docs.yml workflow to properly build and deploy documentation

- Remove `no-install: true` from setup-emsdk step to properly install emscripten
- Remove `working-directory: src/api/js` from setup-emsdk step (not needed)
- Remove manual emsdk install/activate/source commands from Build wasm step
- Remove redundant native Z3 build step that conflicted with wasm build
- Simplify Generate Documentation step by removing redundant source command

The main issue was that the native Z3 build was creating a Makefile in the build/
directory before the wasm build ran. The wasm build script then saw the Makefile
existed and skipped the emconfigure step, but the native Makefile doesn't have a
libz3.a target, causing the build to fail. Removing the native build allows the
wasm build to properly configure its own build with emscripten.

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2025-12-16 23:14:55 +00:00
Nikolaj Bjorner
8cc1d12555 merge
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-12-16 14:15:05 -08:00
Nikolaj Bjorner
9f7e304ee8
Update docs.yml 2025-12-16 17:36:42 +00:00
Nikolaj Bjorner
818afaf4b5
Add defaults for job run working directory 2025-12-16 17:16:21 +00:00
Nikolaj Bjorner
b82287dc25
Update docs.yml 2025-12-16 16:49:05 +00:00
Nikolaj Bjorner
6b6e1e017b
Update docs.yml 2025-12-16 15:31:18 +00:00
Nikolaj Bjorner
8407bfc8a3 build the ts bindings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-12-15 20:02:21 -08:00
Nikolaj Bjorner
d7f6f0d2a7 build the ts bindings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-12-15 20:01:28 -08:00
dependabot[bot]
7cbd4423ee
Bump actions/upload-artifact from 5 to 6 (#8083)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-16 03:42:10 +00:00
Copilot
8cda0fc69d
Build native Z3 for x64 before generating docs (#8086)
* Initial plan

* Build Z3 for ubuntu x64 and invoke JS build scripts in docs workflow

- Modified docs.yml to build Z3 natively for ubuntu-latest x64 before documentation generation
- Removed default working directory to allow explicit working-directory per step
- Added step to build Z3 using python scripts/mk_make.py
- Kept emscripten setup as required for wasm build
- Modified mk_api_doc.py to invoke npm run build:ts and npm run build:wasm as described in src/api/js/README.md
- mk_api_doc.py now runs the full build process (TypeScript + wasm) before generating documentation

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Source emsdk environment before generating documentation

- Added source command to ensure emscripten tools are in PATH when mk_api_doc.py runs npm scripts
- This ensures emcc and other emscripten tools are available for npm run build:wasm

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Revert changes to mk_api_doc.py

- Removed npm run build:ts and npm run build:wasm calls from mk_api_doc.py
- Reverted to only calling npm run docs as before

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2025-12-16 03:41:27 +00:00
dependabot[bot]
dd15a279fd
Bump actions/download-artifact from 6 to 7 (#8082)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-16 02:06:22 +00:00
dependabot[bot]
17f231c287
Bump actions/cache from 4 to 5 (#8081)
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-16 02:04:48 +00:00
Copilot
042b6d92b1
Add GitHub Actions workflow to publish JavaScript/TypeScript API documentation (#8084)
* Initial plan

* Add GitHub Actions workflow to build and publish documentation

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Refine documentation workflow to use mk_api_doc.py and install doxygen

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Clarify documentation generation step name

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2025-12-15 22:57:46 +00:00
dependabot[bot]
0018f5aafa
Bump actions/checkout from 5 to 6 (#8043)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 14:42:34 -08:00