Skip to content
This repository was archived by the owner on Aug 12, 2026. It is now read-only.

refactor(tooling): modernize the v1.0.0 development workflow - #99

Merged
acgetchell merged 7 commits into
developfrom
refactor/89-development-modernization
Jul 19, 2026
Merged

acgetchell merged 7 commits into
developfrom
refactor/89-development-modernization

Conversation

@acgetchell

@acgetchell acgetchell commented Jul 18, 2026 •

Copy link
Copy Markdown
Owner
  • pin the official vcpkg baseline and add local and pkgx bootstrap paths
  • unify supported platforms in GitHub Actions and retire legacy services
  • replace tl-function-ref with Boost.Compat and remove unused dependencies
  • document the main-based maintenance and regression-oracle workflow
  • add the shared Just workflow interface over the existing scripts and presets
  • add pinact-managed immutable Action pins with yamllint, actionlint, and zizmor validation
  • stabilize the stochastic cdt smoke assertion around successful output generation

Local validation

  • just check (verified non-mutating)
  • just fix twice (verified idempotent)
  • just build
  • just run --help
  • just ci
  • just update-actions
  • direct CMake build and reference-smoke CTest preset
  • stochastic cdt smoke test repeated five times

Refs #89

Summary by CodeRabbit

  • New Features
    • Added just-driven build/check/CI workflow and new reference / reference-smoke CMake presets for faster, consistent runs.
  • Bug Fixes
    • Improved test coverage/guardrails: previously-skipped “no move” cases now fail, and runtime-dependent time assertions are now deterministic.
  • Documentation
    • Refreshed README and contribution/testing guidance to match the streamlined v1.0.0-ready workflow.
  • Chores
    • Modernized requirements and CI setup (main-focused workflows, pinned actions), updated dependency set, and switched callable support to Boost function_ref; removed legacy CI and deprecated tooling/configs.

- pin the official vcpkg baseline and add local and pkgx bootstrap paths
- unify supported platforms in GitHub Actions and retire legacy services
- replace tl-function-ref with Boost.Compat and remove unused dependencies
- document the main-based maintenance and regression-oracle workflow

Refs #89
@acgetchell acgetchell self-assigned this Jul 18, 2026
@coderabbitai

coderabbitai Bot commented Jul 18, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 48c6d4f0-ffbb-41aa-a592-05c917055489

📥 Commits

Reviewing files that changed from the base of the PR and between 378adf4 and 09e2661.

📒 Files selected for processing (8)
  • .github/workflows/ci.yml
  • CMakePresets.json
  • Justfile
  • README.md
  • scripts/build.bat
  • scripts/fast-build.bat
  • scripts/fast-build.sh
  • src/CMakeLists.txt

Walkthrough

The project adopts a pinned headless reference build, consolidates CI into a cross-platform GitHub Actions workflow, replaces Eigen and tl-function-ref, updates scripts and tests, removes legacy CI configuration, and revises documentation for the v1.0.0 maintenance state.

Changes

Build, dependencies, and validation

Layer / File(s) Summary
Reference build and dependency contracts
CMakeLists.txt, CMakePresets.json, vcpkg.json, src/CMakeLists.txt, include/*
Adds reference build/test presets, removes Eigen and tl-function-ref, and adopts boost::compat::function_ref.
Pinned dependency bootstrap and entrypoints
scripts/*, .gitignore
Adds validated cached vcpkg bootstrapping and updates shell and Windows build scripts to use repository-relative CMake presets.
Focused test coverage
tests/*, include/Utilities.hpp
Adds bounded CTest suites, updates function-reference tests, removes an unavailable-move skip, and makes date validation dynamic.

CI workflow consolidation

Layer / File(s) Summary
Cross-platform CI matrix
.github/workflows/ci.yml
Builds and smoke-tests Ubuntu, macOS, and Windows configurations through a matrix, then verifies the matrix result.
Workflow alignment
.github/workflows/*, .codecov.yml
Moves workflow filters to main, pins selected actions, updates analysis workflows, and adjusts coverage reporting. Legacy CI files and obsolete workflows are removed.

Project status and documentation

Layer / File(s) Summary
Headless v1.0.0 guidance
README.md, .github/CONTRIBUTING.md, LICENSE.md, src/cdt.cpp
Documents the main-branch workflow, reference build paths, testing commands, maintenance status, visualization state, and updated copyright years.

Repository maintenance tooling

Layer / File(s) Summary
Formatting, linting, and workflow maintenance
Justfile, .pinact.yaml, .yamllint.yml, .clang-format, .cmake-format.yaml, .github/dependabot.yml
Adds Just recipes and validation helpers, configures workflow pinning and YAML linting, and updates formatting and Dependabot settings.

Estimated code review effort: 4 (Complex) | ~45 minutes

Sequence Diagram(s)

sequenceDiagram
  participant GitHubActions
  participant vcpkg
  participant CMake
  participant CTest
  GitHubActions->>vcpkg: Restore pinned dependencies
  GitHubActions->>CMake: Configure and build platform matrix
  GitHubActions->>CTest: Run reference-smoke
  CTest-->>GitHubActions: Return test result
Loading

Possibly related issues

Possibly related PRs

Poem

Old pipelines fade,
Pinned tools build paths anew,
Main branches converge.
Smoke tests cross platforms,
Headless roads light the way.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the tooling/workflow refactor and matches the PR’s main changes.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/89-development-modernization

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

💡 Need a hand with PR review? Try Gitar by Sonar!

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 12

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/CONTRIBUTING.md:
- Around line 84-87: Remove the unused Markdown reference definitions from
.github/CONTRIBUTING.md lines 84-87: [LGTM], [releases], and [Tagged]. Also
remove the listed unused definitions from README.md lines 451-522:
CMakeLists.txt, scan.sh, CDT++, contrib, conduct, CLion, Docker, vcpkg manifest,
vcpkg.json, triplet, AppleClang-14, spack, modules, SLURM, CodeCov, and gcov;
leave all still-referenced definitions unchanged.

In @.github/workflows/ci.yml:
- Around line 3-12: Remove the legacy develop branch entries from the push and
pull_request triggers in the workflow’s on configuration, leaving CI enabled for
main and preserving workflow_dispatch.
- Around line 54-56: Update the actions/checkout configuration to set
persist-credentials to false alongside fetch-depth and submodules, preventing
the checkout token from being stored in local Git configuration before
third-party actions run.
- Line 53: Pin the third-party GitHub Actions to immutable commit SHAs instead
of mutable version refs: update actions/checkout at .github/workflows/ci.yml:53,
pkgxdev/setup at .github/workflows/ci.yml:70, ilammy/msvc-dev-cmd at
.github/workflows/ci.yml:84, and lukka/run-vcpkg at .github/workflows/ci.yml:94.
Preserve each action’s current version by using the corresponding full commit
SHA.

In @.github/workflows/codecov-upload.yml:
- Line 72: Update the Codecov action configuration by uncommenting the directory
input with build/gcov-reports as its value and removing the unsupported gcov
input. Keep the remaining codecov/codecov-action@v5 settings unchanged.

In @.github/workflows/codeql.yml:
- Around line 16-18: Update the branch filters in the workflow’s push and
pull_request triggers to use YAML inline arrays without spaces immediately
inside the brackets: `["main", "gh-pages"]` for both occurrences.

In @.github/workflows/cpp-linter.yml:
- Line 30: Uncomment the `run: exit 1` step in the C++ linter workflow so lint
failures propagate and the workflow fails after reporting the error.

In @.github/workflows/whitespace.yml:
- Line 18: Update the erictleung/find-file-whitespace action reference in the
workflow to use a full immutable commit SHA instead of the mutable main ref,
preserving the existing action and step behavior.

In `@README.md`:
- Line 314: Update the three command examples in README.md by replacing each
~~~bash opening fence and matching ~~~ closing fence with four-backtick bash
fences, preserving the example contents and formatting.

In `@scripts/build.bat`:
- Around line 12-19: Update the Windows build entrypoint in scripts/build.bat at
lines 12-19 to validate or bootstrap the official clean vcpkg checkout at the
vcpkg.json manifest baseline before the developer-mode configure step, replacing
the current existence-only VCPKG_ROOT check. Apply the same validation/bootstrap
path in scripts/fast-build.bat at lines 12-18 before its user-mode configure
step; both sites must enforce the pinned vcpkg trust contract.

In `@tests/Apply_move_test.cpp`:
- Line 159: Update the branch containing the “No valid (6,2) move exists”
MESSAGE in the relevant test so it cannot pass silently: call doctest::skip(...)
if absence of the (6,2) move is expected for this configuration, or fail the
test explicitly if it indicates an unexpected condition.

In `@tests/Utilities_test.cpp`:
- Around line 57-61: Update the current_date_time test to sample system_clock
only once and derive both the function result and expected year from that shared
timestamp, preserving the existing year-prefix assertion without a boundary-time
race.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 2798c5b4-1e2d-4f81-b6e1-de48a4157d92

📥 Commits

Reviewing files that changed from the base of the PR and between f82fda2 and 0c22838.

📒 Files selected for processing (44)
  • .appveyor.yml
  • .github/CONTRIBUTING.md
  • .github/workflows/asan.yml
  • .github/workflows/ci.yml
  • .github/workflows/clang-format-check.yml
  • .github/workflows/codecov-upload.yml
  • .github/workflows/codeql.yml
  • .github/workflows/cpp-linter.yml
  • .github/workflows/cppcheck.yml
  • .github/workflows/doxygen.yml
  • .github/workflows/linux-clang.yml
  • .github/workflows/linux-gcc.yml
  • .github/workflows/lsan.yml
  • .github/workflows/macos.yml
  • .github/workflows/msan.yml
  • .github/workflows/sonarcloud.yml
  • .github/workflows/tsan.yml
  • .github/workflows/valgrind.yml
  • .github/workflows/whitespace.yml
  • .github/workflows/windows-msvc.yml
  • .github/workflows/windows-pkgx.yml
  • .gitignore
  • .gitpod.yml
  • .travis.yml
  • CMakeLists.txt
  • CMakePresets.json
  • Dockerfile
  • LICENSE.md
  • README.md
  • include/Apply_move.hpp
  • include/Move_command.hpp
  • scripts/bootstrap-vcpkg.sh
  • scripts/build.bat
  • scripts/build.sh
  • scripts/fast-build.bat
  • scripts/pkgx-build.sh
  • sonar-project.properties
  • src/CMakeLists.txt
  • src/cdt.cpp
  • tests/Apply_move_test.cpp
  • tests/CMakeLists.txt
  • tests/Function_ref_test.cpp
  • tests/Utilities_test.cpp
  • vcpkg.json
💤 Files with no reviewable changes (11)
  • Dockerfile
  • .github/workflows/windows-msvc.yml
  • sonar-project.properties
  • .github/workflows/sonarcloud.yml
  • .appveyor.yml
  • .gitpod.yml
  • .github/workflows/macos.yml
  • .github/workflows/windows-pkgx.yml
  • .travis.yml
  • .github/workflows/linux-clang.yml
  • .github/workflows/linux-gcc.yml

Comment thread .github/CONTRIBUTING.md Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/codecov-upload.yml Outdated
Comment thread .github/workflows/whitespace.yml Outdated
Comment thread README.md Outdated
Comment thread scripts/build.bat Outdated
Comment thread tests/Apply_move_test.cpp Outdated
Comment thread tests/Utilities_test.cpp Outdated
- add Just recipes for checks, formatting, builds, runs, and action updates
- enforce the pinned vcpkg bootstrap across Unix and Windows
- provide Unix build tooling through pkgx with compatible version pins
- consolidate platform CI and pin GitHub Actions to immutable revisions
- remove legacy scan-build support and refresh contributor guidance
- tighten smoke-test and time-formatting behavior

Refs #89

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.codecov.yml:
- Line 3: Remove the committed token from the Codecov configuration, revoke and
rotate the exposed credential, and update the upload setup to use the repository
secret for private uploads or tokenless/OIDC authentication for public
repositories.

In @.github/workflows/asan.yml:
- Line 31: Remove the sudo apt upgrade command from the Setup steps in
.github/workflows/asan.yml lines 31-31 and .github/workflows/codecov-upload.yml
lines 31-31; no replacement upgrade command is needed.

In `@Justfile`:
- Around line 92-106: Pin both Justfile formatter recipes, _format-check at
Justfile lines 92-106 and _format-fix at Justfile lines 124-138, to clang-format
v18. Ensure PATH detection and the pkgx fallback resolve the v18 toolchain,
including clang-format-diff.py, so local formatting uses the same version as CI.

In `@scripts/bootstrap-vcpkg.bat`:
- Around line 53-57: Update the existing vcpkg reuse check around the git
baseline validation and vcpkg.exe existence test to also validate the executable
itself before returning success. Rebuild it or verify its hash against the
expected binary, and only execute the “Using vcpkg” success path when that
validation passes; otherwise continue to the existing setup path.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: ac19a615-9ca3-4a0d-a391-7135d1296fbf

📥 Commits

Reviewing files that changed from the base of the PR and between 0c22838 and ac031ff.

📒 Files selected for processing (32)
  • .clang-format
  • .cmake-format.yaml
  • .codecov.yml
  • .coderabbit.yaml
  • .github/CONTRIBUTING.md
  • .github/dependabot.yml
  • .github/workflows/asan.yml
  • .github/workflows/ci.yml
  • .github/workflows/clang-format-check.yml
  • .github/workflows/codecov-upload.yml
  • .github/workflows/codeql.yml
  • .github/workflows/cpp-linter.yml
  • .github/workflows/cppcheck.yml
  • .github/workflows/doxygen.yml
  • .github/workflows/lsan.yml
  • .github/workflows/msan.yml
  • .github/workflows/tsan.yml
  • .github/workflows/valgrind.yml
  • .github/workflows/whitespace.yml
  • .pinact.yaml
  • .yamllint.yml
  • Justfile
  • README.md
  • include/Utilities.hpp
  • scripts/bootstrap-vcpkg.bat
  • scripts/build.bat
  • scripts/fast-build.bat
  • scripts/pkgx-build.sh
  • scripts/scan.sh
  • src/CMakeLists.txt
  • tests/Apply_move_test.cpp
  • tests/Utilities_test.cpp
💤 Files with no reviewable changes (1)
  • scripts/scan.sh

Comment thread .codecov.yml Outdated
Comment thread .github/workflows/asan.yml
Comment thread Justfile Outdated
Comment thread scripts/bootstrap-vcpkg.bat
- authenticate Codecov uploads with OIDC and remove the committed token
- run the build matrix for develop-targeted pull requests during migration
- align local formatting with CI using clang-format 18
- reject unusable cached vcpkg executables before reuse

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

♻️ Duplicate comments (1)
scripts/bootstrap-vcpkg.bat (1)

55-59: 🔒 Security & Privacy | 🟠 Major | 🏗️ Heavy lift

Validate the cached executable’s provenance, not only its launchability.

vcpkg.exe version returning success proves only that the ignored binary runs; it does not verify that it corresponds to %BASELINE%. A stale or replaced executable can therefore pass this check and be reused at line 57. Rebuild it when the baseline changes, or verify it against a trusted per-platform hash before reporting success.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@scripts/bootstrap-vcpkg.bat` around lines 55 - 59, Update the cached vcpkg
validation around the vcpkg.exe version check to verify that the executable
matches %BASELINE%, rather than treating successful launchability as sufficient.
Rebuild the cached executable when the baseline differs, or compare it with a
trusted platform-specific hash before printing the “Using vcpkg” message and
exiting successfully.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/codecov-upload.yml:
- Line 12: Move id-token: write from the workflow-level permissions block into
the permissions block for jobs.codecov, while retaining contents: read globally.
Ensure only the Codecov job receives OIDC token permission.

---

Duplicate comments:
In `@scripts/bootstrap-vcpkg.bat`:
- Around line 55-59: Update the cached vcpkg validation around the vcpkg.exe
version check to verify that the executable matches %BASELINE%, rather than
treating successful launchability as sufficient. Rebuild the cached executable
when the baseline differs, or compare it with a trusted platform-specific hash
before printing the “Using vcpkg” message and exiting successfully.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 832801de-3084-4e81-ab61-8f88a8135c15

📥 Commits

Reviewing files that changed from the base of the PR and between ac031ff and f167bc0.

📒 Files selected for processing (5)
  • .codecov.yml
  • .github/workflows/ci.yml
  • .github/workflows/codecov-upload.yml
  • Justfile
  • scripts/bootstrap-vcpkg.bat

Comment thread .github/workflows/codecov-upload.yml Outdated
- resolve GCC and Clang within a single pkgx environment
- emit UTC timestamps without requiring an external timezone database
- run a portable Windows smoke suite while deferring the initializer crash
- scope Codecov OIDC access and validate cached vcpkg tool releases

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 3

♻️ Duplicate comments (1)
scripts/bootstrap-vcpkg.bat (1)

53-59: 🔒 Security & Privacy | 🟠 Major

Do not treat the version string as binary provenance.

Because vcpkg.exe is ignored, a replaced executable can remain invisible to git status; the helper then executes that binary and accepts any self-reported version matching the metadata. Rebuild before reuse or verify a trusted SHA-256/signature before returning success. This repeats the previous review finding.

Also applies to: 118-120

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@scripts/bootstrap-vcpkg.bat` around lines 53 - 59, Update the cached-vcpkg
reuse path around VALIDATE_CACHED_VCPKG so the self-reported BASELINE version is
not treated as proof of executable provenance. Before echoing success and
exiting, rebuild the ignored vcpkg.exe or verify it against a trusted SHA-256
hash/signature, and return success only after that validation passes.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/codecov-upload.yml:
- Around line 21-23: Add an inline comment beside the job-scoped id-token: write
permission in the workflow permissions block, documenting that it is
intentionally required for Codecov’s OIDC upload. Leave the existing permission
values unchanged.

In `@include/Utilities.hpp`:
- Around line 77-78: Update the timestamp formatting used by make_filename() to
replace the colon-containing %T representation with a filename-safe time format
before constructing the filename, while preserving the existing UTC date and
timestamp semantics.

In `@tests/CMakeLists.txt`:
- Around line 42-44: Keep stochastic assertions in Utilities_test.cpp out of
deterministic smoke coverage by either separating deterministic scenarios from
random uniqueness checks or removing cdt-utilities-tests from smoke
registration. Update tests/CMakeLists.txt at lines 42-44 as needed, and exclude
cdt-utilities-tests from both reference-smoke and reference-windows-smoke in
CMakePresets.json lines 387-407.

---

Duplicate comments:
In `@scripts/bootstrap-vcpkg.bat`:
- Around line 53-59: Update the cached-vcpkg reuse path around
VALIDATE_CACHED_VCPKG so the self-reported BASELINE version is not treated as
proof of executable provenance. Before echoing success and exiting, rebuild the
ignored vcpkg.exe or verify it against a trusted SHA-256 hash/signature, and
return success only after that validation passes.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 4c12a1c1-8cf6-4966-9133-862f418a27ec

📥 Commits

Reviewing files that changed from the base of the PR and between f167bc0 and b8629a6.

📒 Files selected for processing (8)
  • .github/workflows/ci.yml
  • .github/workflows/codecov-upload.yml
  • CMakePresets.json
  • include/Utilities.hpp
  • scripts/bootstrap-vcpkg.bat
  • scripts/pkgx-build.sh
  • tests/CMakeLists.txt
  • tests/Utilities_test.cpp

Comment thread .github/workflows/codecov-upload.yml Outdated
Comment thread include/Utilities.hpp
Comment thread tests/CMakeLists.txt
- avoid nested pkgx environments when selecting Linux compilers
- generate filename-safe UTC timestamps and exclude stochastic utilities from smoke presets
- verify cached Windows vcpkg binaries against pinned release hashes
- document the Codecov OIDC permission rationale

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@include/Utilities.hpp`:
- Around line 119-124: In the timestamp filename construction, replace the
manual character loop in the visible timestamp-processing block with the
standard library’s std::replace algorithm to convert ':' to '-'. Preserve the
existing timestamp value and filename append behavior, and ensure the required
algorithm header is available.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 9db827b0-aade-4684-9a26-6d1b6aa93cfa

📥 Commits

Reviewing files that changed from the base of the PR and between b8629a6 and 75e9bc7.

📒 Files selected for processing (6)
  • .github/workflows/codecov-upload.yml
  • CMakePresets.json
  • include/Utilities.hpp
  • scripts/bootstrap-vcpkg.bat
  • scripts/pkgx-build.sh
  • tests/Utilities_test.cpp

Comment thread include/Utilities.hpp
Stop provisioning ccache through pkgx because the supported reference
preset disables compiler caching, and align the documented prerequisites.

Simplify filename-safe timestamp sanitization with std::replace.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.md`:
- Line 168: Update the non-pkgx prerequisites section in README.md to explicitly
include Git and Bash, ensuring the documented fallback dependencies match the
requirements of scripts/bootstrap-vcpkg.sh and scripts/build.sh.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: d11238e0-52e3-449c-a87a-56697f847cec

📥 Commits

Reviewing files that changed from the base of the PR and between b8629a6 and 378adf4.

📒 Files selected for processing (7)
  • .github/workflows/codecov-upload.yml
  • CMakePresets.json
  • README.md
  • include/Utilities.hpp
  • scripts/bootstrap-vcpkg.bat
  • scripts/pkgx-build.sh
  • tests/Utilities_test.cpp

Comment thread README.md
Replace the legacy platform and compiler preset matrix with a shared reference configure, build, and smoke-test contract.

Route Windows and fast-build entry points through the reference output tree while retaining focused diagnostic presets and the known Windows
smoke-test exclusion.
@acgetchell
acgetchell enabled auto-merge (squash) July 19, 2026 07:44
@acgetchell
acgetchell merged commit d08c24c into develop Jul 19, 2026
6 checks passed
@acgetchell
acgetchell deleted the refactor/89-development-modernization branch July 19, 2026 08:19
acgetchell added a commit that referenced this pull request Jul 19, 2026
* (ci) Update vcpkg, fix documentation

Minor documentation fixes, update vcpkgGitCommitId: 6b6a35335c9064fac2ec6684c4f79808dce59b7d

* (feature) Print out edges

Will be used to print the pivot edge of upcoming (4,4) bistellar move.

Also update the license.

* (fix) Failing test and clang-format

Also update vcpkgGitCommitId: 83dd8264fbf928a06ae587f4112442bc47e1f6e3 and continue fleshing out bistellar_flip.

* (feature) More work on  bistellar_flip

Replace foliated_triangulations::vertices_from_cell, which only works on one cell, with manifolds::get_vertices_from_cells, which works on a container of cells. Move it to the foliated_triangulations namespace.

* (style) clang-format 14

Nothing major, unless it trips up clang-format on GitHub Actions.

Also update to vcpkgGitCommitId: 9ff4659a075d5f4f30aaca9f7c4e7f059ecc1d6d

* (fix) Update GHA to clang-format 14

For whatever reason, the same .clang-format produces different results on clang-format-13 vs clang-format-14. So, update to use clang-format-14 on GitHub Actions.

* (feature) bistellar_flip_really

The bistellar_flip_really function completes the (4,4) move. Of course, it has bugs that need to be fixed, namely that it apparently leaves the Triangulation Data Structure in an invalid state, thus failing all of the checks against is_valid() which eventually leads to a std::terminate.

So, this will need to be fixed.

Also, update vcpkgGitCommitId: 89295c9fe22e97ca9e380a6c771ccf2ff09dca95, which incorporates the fixed version of date in vcpkg which fixes the use-of-uninitialized-value result from MSAN.

* (docs) Document bistellar flip

Update  vcpkgGitCommitId: 5d66a98f64188bbd806b8e62e66c097d90eb3224

* (refactor) bistellar_flip and bistellar_flip_really

Update vcpkgGitCommitId: c37cc7836a0e1cfd55747be8ec472eafa8055276

* (fix) Failing tests

While debugging bistellar_flip, make sure do_44_move returns the manifold.

Fix input parameter on do_44_move to be a const reference to the manifold.

Update to Boost 1.79 and qt6.3 via vcpkgGitCommitId: ecd55433fd37129109f663548f3b11204e35e630

Also proposed a pull request https://github.com/harupy/find-trailing-whitespace/pull/18 to only check whitespace on changed files.

* (test) Add simple test of bistellar flip

Also update README.md.

* (fix) Filter out boundary edges in find_44_move

Working through the minimal example in bistellar.cpp revealed that any edge was selected due to infinite incident cells being counted.

So, add a check to not count infinite cells.

* (feature) Complete bistellar flip example

The source file bistellar.cpp now contains a working minimal example of a bistellar flip. Also added a CTest to check for a successful run.

* (docs) Update and fix documentation [skip ci]

Fix documentation links and update the bistellar flip example.

* (feature) Add helper functions to Foliated_triangulation for bistellar

Add find_vertex and find_cell helper functions to FoliatedTriangulation. These are wrappers for CGAL::Triangulation_3::is_vertex and ::is_cell, which are boolean functions with out parameters.

The plan is to recast these as free functions taking an Delaunay triangulation parameter, so that they can be used in the bistellar.cpp example. That way, if they are accepted into Triangulation_3 then bistellar_flip_really becomes easy to write in terms of internal Triangulation_3 functions.

Also update GitHub Actions to vcpkgGitCommitId: a106de33bbee694e3be6243718aa2a549a692832.

Change README to reflect that vcpkg manifest mode is now the default, so vcpkg install --feature-flags=manifests is no longer necessary.

* (refactor) Move Foliated_triangulation member functions into free fcns

Yes, unified call syntax here would be nice.

All tests pass. Note that hilarity (i.e. bugs) ensues if foliated_triangulations::collect_edges takes a Delaunay triangulation by value instead of constant reference.

Update to vcpkgGitCommitId: 47cbed88514c0e48fdb72ddc29545f35136f5461

* (feature) Replace Catch2 with doctest

Catch2 has a number of issues with ASAN, compile times, etc.

doctest is much faster and simpler.

There are a couple of tests that need to be rewritten, and have been commented out.

* (test) Fix all tests to run on doctest

Update vcpkgGitCommitId: 2e781b513f486618909d9f78185c0c7ebb54624c

* (fix) Various issues from ASAN

Mostly to try to see if we can get less output from ASAN.

* (test) Use C++20 Mathematical constants

Update vcpkgGitCommitId: 840f701d83d5019aa5033c9d9d08a4cc0d0ebdce

which should fix spdlog.

* (test) Fix SonarLint warning

Also take advantage of std::numbers in C++20.

* (refactor) Start migrating features for bistellar move

Should rename functions to be consistent.

* (refactor) Ergodic_moves_3 operate on Manifold_3, helpers on Delaunay_3

Geometry3 -> Geometry_3
FoliatedTriangulation3 -> Foliated_Triangulation_3
etc.

New function incident_cells_from_edge to encapsulate all the logic behind finding locations for bistellar flips based on the number of incident cells (ie. == 4).

Updated to vcpkgGitCommitId: c379c64ff9ec1b8c6100ebff8e81ecdcb49b330c

* (refactor) Simplify bistellar_flip_really

Only need a reference to the triangulation, the edge to be flipped, and the top and bottom vertices.

Update vcpkgGitCommitId: 1323f4b83d6a91e415e9ce06a45c9d0a6473aaf2

The function still needs to be debugged, of course.

* (test) Update doctest and remove Catch2 references

Turn on doctest fast assertions.

Fix references to Catch in documentation and CI.

Use doctest test suites.

Update CI to use vcpkgGitCommitId: 9e8da9bd8aa16fb268ac68f731c44fdef5fec1ab

* (fix) Fix bug identified by PVS Studio

PVS Studio identified possible use of an uninitialized value obtained by a function returning a std::optional<T>.

* (fix) clang-tidy warnings

# ----------------------------------------------------------
# Header - (type): Brief description
# ----------------------------------------------------------
#   * feature         A new feature
#   * fix          A bug fix
#   * docs         Changes to documentation only
#   * style        Style/format changes (whitespace, etc.)
#   * refactor     Changes not related to a bug or feature
#   * performance         Changes that affects performance
#   * test         Changes that add/modify/correct tests
#   * build        Changes to build system (configs, etc.)
#   * ci           Changes to CI pipeline/workflow
# ----------------------------------------------------------


# ----------------------------------------------------------
# Body - More detailed description, if necessary
# ----------------------------------------------------------
#   * Motivation behind changes, more detail into how 
# functionality might be affected, etc.
# ----------------------------------------------------------


# ----------------------------------------------------------
# Footer - Associated issues, PRs, etc.
# ----------------------------------------------------------
#   * Ex: Resolves Issue #207, see PR #15, etc.
# ----------------------------------------------------------

* (fix) fmt::format strings, update to latest vcpkg

fmt::print doesn't like CGAL point << output anymore, so wrap it with a point_to_str that converts it.

Fix Metropolis to use SystemError.what() which is a const string for reporting via spdlog::trace which uses fmt which requires const string arguments.

Similar conversions using Gmpzf.to_double to make spdlg::debug happy.

Update  vcpkgGitCommitId: 23cc58477e200bb54c293ad76f3ce438dbabc86c

* (fix) Don't const-qualify functions that return by value

Nice catch via sonarcloud. Also remove unused includes.

* (fix) More formatting and some logic fixes

Found a few more places to fix fmt.

Simplified try_32_move.

Removed diagnostic code that was throwing exceptions. That info gets printed out before the runs already.

Updated           vcpkgGitCommitId: 5fb8f6c24ec13a36db460a555b24b20be03bd73c

* (fix) Clang-tidy fixes

Except the usual transparent functors 'less<>' issue which is unfixable given docopt.cpp's current implementation.

* (fix) clang-format

Consistent formatting

* (ci) Update to Boost 1.80

Via           vcpkgGitCommitId: 316323019266ff54be39e0cb2c2de9caaa94cf75

* (ci) Update vcpkg

vcpkgGitCommitId: 01b29f6d8212bc845da64773b18665d682f5ab66

* (ci)

Update packages: vcpkgGitCommitId: 2f0a16b5ae24fec6c615924e2fbc8bc43ab73764

* (build) Update Slurm script for HPC runs

Also update packages to vcpkgGitCommitId: 929fc61671bb5e5e7322981dce1153abf24f54cf

And re-enable Windows builds on GHA.

* (refactor) Run include-what-you-use

Update GitHub Actions with vcpkgGitCommitId: 57ae838ee87313a3f0c5e14b008767d97d94debe

Start slow with iwyu to ensure it's correct on all platforms.

* (fix, ci) Yep, iwyu makes some bad suggestions

Update Travis-CI build environment to Jammy with gcc-11 and clang-14.

* (fix) Fix clang-format and iwyu errors

GHA should all pass now

* (ci) Fix CodeCov, update clang on Travis-CI

Update GitHub Actions to vcpkgGitCommitId: bdf073a835ebea07e1d039cd9cff4f650014e4ce

* (ci) Fix Travis-CI

Jammy doesn't have clang-15 yet.

vcpkgGitCommitId: ec7216c8e1206580ccec7a33024ef38216efdaf8

* (ci) Fix GitHub Actions, clang-format

vcpkgGitCommitId: 7e7c62d863b1bf599c1d104b76cd8b74475844d4

* (refactor) Fix clang-tidy warnings

And GitHub Action for Windows.

* (refactor) More clang-tidy fixes

Also fix GHA for Windows.

* (refactor) Bi-stellar flip

Import current version of bistellar flip from https://github.com/acgetchell/bistellar-flip

This mostly works except for setting neighboring cells correctly.

Update all tests accordingly.

Remove lots of dead code, including src/bistellar.cpp.

Update GHA to vcpkgGitCommitId: 783e2d8e9983a74fad1b9d7b1d88a020438d32b2

* (ci, fix, bug) Fix Travis-CI, clang-tidy, and a bug

Fix Travis-CI, which seems to require:

vcpkg install --feature-flags=manifests

Fix clang-tidy warnings.

Add back logic to set neighboring cells to new cells created in the bistellar flip.

Fixed a bug in get_incident_cells where it was using tds().is_valid() instead of tds().is_edge(Cell, i, j) to verify (Cell, i, j) is an edge in the triangulation.

Next step: debugging this so the triangulation is valid once the bistellar flip is complete.

* (ci) Trying a fix for Travis-CI

vcpkg integrate install not working on Travis-CI, bug report here:

https://github.com/microsoft/vcpkg/issues/27832

* (ci) Update SonarCloud, GitHub Actions

Use SonarCloud GitHub action to install sonar-scanner and build-wrapper and cache.

Update GitHub Actions to  vcpkgGitCommitId: 6d6910d8cb7331b0dc35b38ce663f2aa6a4663f4

Add CMakePresets.json.

Enable Metropolis tests to run by default.

* (doc) Update documentation

Also update GitHub Actions.

* (performance) Fix clang-tidy warnings

Update Readme and vcpkgGitCommitId: 9074f833496ebd1b3e050f62568b9bba014f2d17

* (refactor) Use c++20 features now supported in all 4 compilers

* Use constinit where practical
* Use std::movable<> which is now available in <concepts>
* Update to vcpkgGitCommitId: 56765209ec0e92c58a5fd91aa09c46a16d660026
* Remove LGTM which is going away December 16, 2022
* Update README.md

* (feature) Visualization via Qt5

Initial commit.

* (ci) Fix CI build dependencies

Also run clang-format and add basic error handling to cdt-viewer.

Update to vcpkgGitCommitId: 71f51b100be2b5d32e3907572d99dc2f97088c8d

* (ci) Only build cdt-viewer on macOS

Too many Qt/vcpkg errors to troubleshoot right now.

* (feature) Read file and draw

Remove libgl1-mesa-dev and libglu1-mesa-dev from Linux CI images since we're not building Qt on Linux.

Update to vcpkgGitCommitId: 6adca01a3fadca0cc0b80f03ec57c7c3a0be5c02

* (feature) Reading and writing triangulations from files

Add read_file to generate triangulations from a file.

Also refactor the old write_file function to use the new write_file function.

* (refactor) Make write_file easier to use

Add static class variable so that the topology of the manifold can be queried, which allows the generation of a filename be done with just the members of the Manifold class. This allows the write_file to take the Manifold as an argument and from that generate the filename and save appropriately. 

This also fixes a bug in CDT where the initial radius and foliation spacing were always set to 1.0, instead of reading the values from the manifold.

* (refactor, test, docs)

Various refactors to improve functional style.

Added doctests directly to cdt-viewer.

Made a cooler 3D foliated triangulation using cdt-viewer to use in README.md.

Updated GitHub Actions to vcpkgGitCommitId: a0cd246334a33107cdef4f701b0b532a71514b19

* (feature) Add functionality to read file from command line

This should wrap up feature/qt.

Docopt has been added so that cdt-viewer can read files and construct triangulations from them, and then draw with Qt.

Doctest has been carefully balanced with Docopt (they can clobber each other's command line arguments) by disabling Doctest unless in DEBUG mode. There's a dry-run option in Docopt that does nothing, but is useful for integration tests run with CTest.

Also refactored foliated_triangulations::squared_radius so that it should work correctly when templated by dimension.

* (doc) Update documentation prior to merge [skip ci]

Just updating documentation, no CI needed.

* (docs) Update documentation

Also update GitHub Actions to vcpkgGitCommitId: dbd30811862212d24bf929db99361c7c12326783

Make most Travis-CI actions required to pass.

Fix clang-tidy warning in cdt-viewer tests.

* (ci, docs)

Update AppVeyor to Visual Studio 2022

Add Table of Contents to README.md, and fix some links.

Update GitHub Actions to vcpkgGitCommitId: f9bea5d58186dc14e7e33132e43b52222147f51e

* (ci, doc, fix) Happy New Year!

Turned on unit tests in Windows CI via AppVeyor.

Update GitHub Actions to vcpkgGitCommitId: 0f719b3fdfc36f8dd45229370a0df180fdbf68f6

Run `git log --follow --format=%ad --date default <file> | tail -1` a bunch to get correct copyright dates on files.

Updated the README to reflect that gmplib.org fixed their SSL cert, and CI works again.

Fix the yearly test on current_date_time to reflect it's 2023.

Close to a release, I think!

* (ci) Remove testing from AppVeyor

Not quite ready.

Also checking if caching is working properly.

* (ci) Fix AppVeyor caching

Documentation is wrong, submitted https://github.com/appveyor/website/pull/841 for the correct directories to cache.

* (docs, ci) Use new CodeCov uploader

Based on https://github.com/friendlyanon/cmake-init-executable/blob/master/.github/workflows/ci.yml

Update warnings in CMakePresets.json to be same as from CompilerWarnings.cmake.

Update README.md to show current run of ./build/src/cdt --help

* (ci) Fix CodeCov uploader [skip ci]

Get the right python.

* (ci) Don't run vcpkg manifest mode in dev mode [ci skip]

Hopefully sets -Wno-error=dev to suppress warnings on VCPKG_BOOTSTRAP_OPTIONS, VCPKG_OVERLAY_PORTS, VCPKG_OVERLAY_TRIPLETS, VCPKG_INSTALL_OPTIONS, and Z_VCPKG_FEATURE_FLAGS.

We can activate this in GitHub so don't run AppVeyor and Travis.

* (ci) Fiddling with CMakePresets for new CodeCov uploader [ci skip]

Back out one change

* (ci) Turn off cmake dev errors [skip ci]

Attempt #2.

* (ci) More CMakePresets fun to fix CodeCov [skip ci]

Got further, but apparently don't use make. Set generator to Ninja which should be installed.

* (ci) Fixing weird filesystem errors [ci skip]

Seems like for gcc the use of <filesystem> only works in c++17 mode.

https://github.com/KhronosGroup/OpenXR-SDK-Source/issues/260

* (ci) Build CodeCov with clang [ci skip]

The weird filesystem header errors appear to be a bug in gcc-11.

* (ci) Remove options not supported by clang [ci skip]

-fkeep-static-functions is not supported and generates an error. -fkeep-inline-functions is not supported and generates a warning.

* (ci) Fix CodeCov upload

Based on https://github.com/skypjack/entt/blob/master/.github/workflows/coverage.yml

Update GitHub Action to vcpkgGitCommitId: 12c2a93b4007612b5ffa980c9d2235eb0bcac10f

* (ci) Fix Codecov uploader [skip ci]

Fix gcov/gcc version mismatch by specifying gcov install. Print out versions explicitly.

* (ci) Fix gcc for Codecov uploader [ci skip]

Gcov is implicitly installed with gcc, so let's ensure it's setup correctly.

* (ci) Use gcc-12 and clang-15 for GitHub Actions [ci skip]

I can kick this off manually in GitHub so no need to run AppVeyor and Travis-CI.

* (ci) Explicitly set compiler in setup-gcc and setup-clang [ci skip]

The `latest` keyword in egor-tensin/setup-clang and egor-tensin/setup-gcc doesn't use the actual latest, so specify gcc-12 and clang-15 explicitly.

* (ci) Update to gcc-12 and clang-15

Switch CodeCov to using clang-15

Standardize more using CMakePresets.json.

* (ci) Fix Travis

Add sourceline to install clang-15

* (ci) Revert Travis-CI to clang-14 and gcc-11

Too time-consuming to figure out at this point.

* (ci) Use cmake presets for GitHub Actions

Plus test whether clang-15 or gcc-11 work with gcov.

* (ci) More GitHub Actions and AppVeyor tuning with CMakePresets.json

Clang-15 seems the closest to getting to work with lcov, so switch to that.

It also now seems to work on Ubuntu 22.04.

Made a cmake preset for AppVeyor.

Turns out the cmake --preset=build also builds packages in vcpkg, so the Install packages step was installing them twice! That should speed up builds considerably on GitHub Actions.

* (ci) Fix AppVeyor and SonarCloud

Looks like SonarCloud only works with gcc-11.

AppVeyor started in the wrong directory.

* (ci) Fix AppVeyor and SonarCloud, try #2

Set the $VCPKG_ROOT environment variable in AppVeyor.

Use the build-wrapper in SonarCloud.

* (ci) AppVeyor #3

See if /DNOMINMAX is still required.

* (ci) Try to resolve gcov/gcc version mismatch

CodeCov fails because there's a version mismatch between gcc and gcov.

However, both gcc and gcov are at 11.3.0 so there shouldn't be a mismatch. A suggested fix is to change the directory to ensure artifacts from previous runs (which shouldn't be there in CI, but ...) aren't there.

Update GitHub Actions to vcpkgGitCommitId: c30de8e1369e03f4a569f8f224eed418dd0949bb

* (ci) Turn off QT in GitHub Actions

cdt-viewer uses QT which takes more than an hour to build in GitHub Actions, so disable that target in CI.

Update GitHub Actions to vcpkgGitCommitId: d40bedd6f6ab6ee47fd5d45e59e9a31e48872a59

* (ci) Also remove the tests for cdt-viewer [ci skip]

On GitHub Actions using macOS, we want to disable building cdt-viewer. Which worked, but forgot to also disable the tests.

Unfortunately this only saves link/compile time for cdt-viewer, but not the 3 hours it takes to build qt on the GitHub Actions runner with macOS.

vcpkg.json only understands platform, not environment variables.

* (test) Write a bistellar-flip test harness

We want to draw a minimal triangulation before and after a bistellar flip. The reason this is not in /tests is because it uses CGAL::draw() to display the results, which requires Qt5. Qt5 is extremely heavy and not needed for the other unit tests, so I don't want to require/link it to the test binary.

* (ci) Delete build caches

AppVeyor and GHA caching is failing.

Also update GHA to vcpkgGitCommitId: ae826fceaa15109814d0531faeda424f43047822

* (ci) Revert SonarCloud and CodeCov ci script , AppVeyor caching

SonarCloud and CodeCov are failing at the build step so revert configuration to using a long CMake command rather than CMakePresets.json.

Also turn on caching again for AppVeyor.

* (ci) Fix codecov and hopefully SonarCloud coverage

Looks like the new codecov action can run gcov by itself, so remove that step.

Update GHA to vcpkgGitCommitId: f1c9431598c2b8aa5168c35485c9a28321ff9f09

* (ci) Coverage should work now ...

Verified steps to be run manually ...

* Update packages, debug draw

Update vcpkgGitCommitId: 8e986ec51ae9728ff44b854390eef168f88ec687.

For whatever reason Qt doesn't popup.

* Update vcpkg

vcpkgGitCommitId: a7b6122f6b6504d16d96117336a0562693579933

* (fix) Enforce FoliatedTriangulation class invariant

The FoliatedTriangulation class invariant is that the timevalues and cell types stored in the vertices and cells of the Delaunay triangulation must correct.

The initialization order of the data members was re-arranged so that the triangulation, foliation initial radius, and foliation spacing were initialized first. This allows the vertices to be checked and corrected, and they are initialized next. Once the vertices have the correct timevalues, the cells can be initialized with the correct cell types. All other containers of edges and faces (sub-simplices) derive from the vertices and cells.

Also update to vcpkgGitCommitId: ae59b93af0c1dce4126e963fca5b330662495fa1

* (fix) Fix CI errors

Use newer version of clang-format, make cdt-opt triangulations larger so all moves are available and test doesn't fail.

Sadly Visual Studio 2022 now wants clang-15, still looking at that. Attempting Previous Visual Studio 2022 image on AppVeyor, which was working.

* (fix) More clang-format

Also document current issues with AppVeyor and CodeCov.

* Revert to using CodeCov GitHub Action

Working with Codecov Community support to determine why coverage is so different using the GitHub Action vs. using the Bash uploader.

https://community.codecov.com/t/codecov-github-action-doesnt-work-well-compared-to-bash-uploader/4220/4

Updated vcpkgGitCommitId: b81bc3a83fdbdffe80325eeabb2ec735a1f3c29d

Turn off the main program flow in bistellar-flip when in Debug, because Doctest runs in Debug mode instead.
Bistellar-flip links to Qt5, which adds a lot of overhead, so we don't want to use it unless needed (i.e. Release).

* Add method to read Delaunay triangulation in the Manifold

Also switch CodeCov back to the bash uploader.

Update GHA to vcpkgGitCommitId: d1e2ff0c340f89cc14ca67883dd069c6ada93582

Remove reference to vcpkg's installation bug of gmp on x64-osx, which has been fixed.

* Fix get_triangulation().get_delaunay calls

As well as documentation (@return -> @returns) and vcpkgGitCommitId: d10d511f25620ca0f315cd83dcef6485efc63010

* (fix) Fix make_triangulation and is_62_movable

Change potential infinite while loops to bounded for loops.

* (ci, fix) Add clang-tidy check, fix README

Add a check for clang-tidy on changed files.

Fix Travis-CI badge in README.

Fix documentation on Ergodic_moves_3.hpp.

vcpkgGitCommitId: c9f906558f9bb12ee9811d6edc98ec9255c6cda5

* (fix) Fixes to CodeCov and clang-tidy

Try using CodeCov GitHub action with gcov.

Move using statements inside ergodic_moves namespace so they aren't accidentally used elsewhere.

Fix do-while loops in incident_cells_from_edge, get_incident_cells, and find_pivot_edge.

Make more things const in FoliatedTriangulation<3>.

Use ergodic_moves namespace in bistellar-flip.cpp and Ergodic_moves_3_test.cpp.

* (fix) clang-format, doctests

Update to vcpkgGitCommitId: 69efe9cc2df0015f0bb2d37d55acde4a75c9a25b.

Fix format in bistellar-flip.cpp.

Use doctest's unary asserts to improve compilation times.

Use min_element, max_element, sort, and adjacent_find to more efficiently compare results from random number generator in tests.

* (fix) README, more tests

Fix the link to Travis-CI badge in README.md.

Use unary asserts in more tests.

* Remove -Wcomment warnings, use CHECK_EQ, REQUIRE_EQ

Ignore -Wcomment warnings on documentation that includes LaTEX. There's no way to resolve the warning without breaking the LaTEX formulas.

CHECK_EQ, REQUIRE_EQ compile 60% faster than the templated CHECK tests, so use those.

Update to vcpkgGitCommitId: cd5a39fc6333563884d9eea15bfb6f5a450b1cf1

* (ci) Try new CodeCov GitHub Action

Also update vcpkgGitCommitId: 4116148a7f5c09d39da34ffb75f33283796d687b

* (refactor) Update to Boost 1.82

Also revert to CodeCov bash uploader.

vcpkgGitCommitId: 501db0f17ef6df184fcdbfbe0f87cde2313b6ab1

* (ci) Update AppVeyor and CodeCov

AppVeyor broken but trying latest image. Remove directory spec from CodeCov GitHub action.

Use vcpkgGitCommitId: 6a3dd0874f153f8b375ec26210ea6d41dee3bb26

* (test) Activate certain tests

Apply_move tests were inactive due to some bug which should be fixed.

Move_always strategy tests activated on smaller triangulations.

This should increase coverage.

* (ci) Update CodeCov and SonarCloud to use gcc-12

Also update README as the latest AppVeyor image fixes the clang-16 problem.

Use ubuntu-latest on GitHub Actions, which runs Ubuntu 22.04.

Use macos-latest on GHA, which uses macos-12.

Use windows-latest on GHA, which uses windows-2022.

* (ci, refactor) Undo gcc-12 on CodeCov and SonarCloud

gcov has a version mismatch when reading .gcno files:

https://github.com/acgetchell/CDT-plusplus/actions/runs/4898327490/jobs/8747323081#step:9:20

Prune some unreachable code.

Remove some deprecated SonarCloud properties.

* Add back default cases and remove Expects and Ensures

Removing the default case from switches triggers a warning on Sonarcloud.

Ensures and Expects just end up calling std::terminate, but without any indication as to where the error is. So replace these with assert which will at least print the error line in Debug and be removed with NDEBUG.

* Update vcpkg

vcpkgGitCommitId: 65e91ebd9e1d8a5c054b98b87abef68d5d36ce6f

* Update packages

Add Settings tests back in.

vcpkgGitCommitId: a960fde0b60b6392d70375fe513dfa7eb083cc3a

* Update vcpkg to commit 5d2a0a9 in workflows and tests

This commit updates the vcpkg dependency in all GitHub workflows and tests from commit a960fde to commit 5d2a0a9. This change was made to ensure that the latest version of vcpkg is being used, which should improve compatibility with other dependencies. The changes were made using lukka/run-vcpkg@v11 instead of lukka/run-vcpkg@v10.

* Refactor build and test scripts for CI/CD workflows

- Update Appveyor script to run ctest on success
- Add continue-on-error flag to Github workflow test jobs
- Add test job to Linux and MacOS Github workflows

* feat: Add test for check_move function

This commit adds a new test scenario to the `Ergodic_moves_3_test.cpp` file. The test scenario checks if the `check_move` function returns true when a correct (2,3) move is performed on a given triangulation setup. The test creates a manifold with vertices and timevalues, performs the move, and then checks various properties of the resulting manifold. If all properties are as expected, the `check_move` function should return true.

The commit also includes a new free function called `make_causal_vertices`. This function takes in vectors of vertices and timevalues and creates causal vertices by pairing each vertex with its corresponding timevalue. If the sizes

* Update AppVeyor and Codecov configurations

- Updated the test script in `.appveyor.yml` to include generating JUnit test results and uploading them to AppVeyor API.
- Modified the `patch` and `changes` settings in `.codecov.yml` to disable patch uploads and changes detection.
- Changed the GCC version from 11 to 12 in `.github/workflows/codecov-upload.yml`.
- Added `gcov` package installation in `.github/workflows/codecov-upload.yml`.

* Refactor build and test scripts, update dependencies

- Refactored the build script in `.appveyor.yml` to use `cmake --preset=appveyor` and `cmake --build build`.
- Updated the test script in `.appveyor.yml` to run tests using `ctest`, outputting results to `test-results.xml`.
- Modified the after-test script in `.appveyor.yml` to upload test results using cURL.
- Updated dependencies in `.github/workflows/codecov-upload.yml` by upgrading packages and installing additional ones.

* Refactor code to use `foliated_triangulations::make_causal_vertices` function for creating causal vertices from points and timevalues.

- Refactored the `manifolds::make_causal_vertices` function in `Manifold.hpp` to use the `foliated_triangulations::make_causal_vertices` function.
- Updated the test cases in `Foliated_triangulation_test.cpp` to use the new `foliated_triangulations::make_causal_vertices` function.
- Removed unnecessary comments and debug statements.

* Refactor code for Manifold initialization and mutation

- Refactored the code in `Manifold.hpp` to update data structures when constructing a new triangulation or geometry.
- Updated the test cases in `Manifold_test.cpp` to use a 3-manifold instead of a manifold with four vertices.
- Added comments to clarify the purpose of constructing a new triangulation or geometry.

This commit improves the code for initializing and mutating 3-manifolds.

* Update GCC and Clang versions in CI configuration

- Updated the GCC version from 12 to 11 in `.github/workflows/codecov-upload.yml`
- Updated the GCC and Clang versions from 11 and 14 to 12 and 15 respectively in `.travis.yml`

Remove unused code

- Removed the unused `Causal_vertices` type from `Tetrahedron_test.cpp`

* Fixed FoliatedTriangulation copy constructor

Fixed macOS workflow and copy constructor

The commit updates the macOS workflow to run on macOS-13 instead of macos-latest. This ensures that the workflow runs on a specific version of macOS.

Additionally, the copy constructor of the `FoliatedTriangulation` class is fixed. It now correctly initializes the copied object with the same properties as the original, including the initial radius and foliation spacing. This ensures that all relevant data is properly copied when creating a new instance of `FoliatedTriangulation`.

* Fix macOS build


The commit fixes the macOS build by installing the pkg-config package as a dependency for macOS.

Also update vcpkgGitCommitId to 1ec3d05438d4c1edf62a330f65fcfe1d86e791b2 in multiple workflows.

* Update vcpkgGitCommitId in workflow files

- Updated the vcpkgGitCommitId in multiple workflow files to 78784c0b0aa87ae63bce01c2c040ce1b3269ecd1. This ensures that the correct version of vcpkg is used during the build process.

* Update vcpkgGitCommitId in workflow files

- Updated the vcpkgGitCommitId in multiple workflow files to "16eeb024de901eb84cde966f656027beaad8b450" for consistency and compatibility.

* Update vcpkgGitCommitId in GitHub workflows

- Updated the vcpkgGitCommitId in multiple GitHub workflow files to use a new commit ID (0895a813036f4d189e2bdd1b62741744614347b4) instead of the previous one (16eeb024de901eb84cde966f656027beaad8b450).

* Update vcpkgGitCommitId in GitHub workflows

- Updated the vcpkgGitCommitId in multiple GitHub workflow files to d5b03c125afee1d9cef38f4cfa77e229400fb48a. This ensures that the correct version of vcpkg is used during the build process.

* Add get_cell function

The commit adds a new function called "get_cell" to the Manifold.hpp file. This function retrieves a cell handle from four vertex handles. The commit also includes changes to various workflow files and a test file, updating the vcpkgGitCommitId value.

* Add new function

- Added a new function `get_vertex` to the `Manifold.hpp` file that obtains a vertex handle from a given point.
- Updated the `.github/workflows/codecov-upload.yml`, `.github/workflows/codeql-analysis.yml`, `.github/workflows/linux-clang.yml`, `.github/workflows/linux-gcc.yml`, `.github/workflows/macos.yml`, and `.github/workflows/windows-msvc.yml` files to use a different commit ID for restoring artifacts or setting up vcpkg.
- Added a new file, `.clang-tidy`, in the `cmake` directory with content to disable all checks in that folder.
- Modified the `Foliated_triangulation.hpp` file to correct a typo in a comment.
- Modified the `scripts/clang-tidy.sh` script to copy the blank `.clang-tidy` file into the build directory, which tells clang-tidy to ignore Qt files causing warnings.
- Modified the `Geometry_test.cpp` and `Manifold_test.cpp` test files by adding const qualifiers where appropriate and updating variable names for clarity.
- Modified the `Utilities_test.cpp` test file by adding constinit specifier for constant variables and updating an auto iterator declaration.

* Fix AppVeyor

MSVC complains about auto* here:

error: variable 'adjacent_iterator' with type 'auto *' has incompatible initializer of type 'std::_Array_iterator<int, 6>'
        auto* adjacent_iterator =
              ^

Change sonarcloud.yml to use gcc-11 just like codecov, due to the gcov database incompatibility with gcc.

Update the vcpkgGitCommitId in workflows to "962e5e39f8a25f42522f51fffc574e05a3efd26b".

* Boost 1.83

Update vcpkgGitCommitId to 7476f0d4e77d3333fbb249657df8251c28c4faae in workflow files

The commit updates the vcpkgGitCommitId to 7476f0d4e77d3333fbb249657df8251c28c4faae in multiple workflow files. This change ensures that the current version of Boost (Boost 1.83) is used for the build and analysis processes.

* Backed out qt

qt is broken on arm64-osx

https://github.com/microsoft/vcpkg/issues/33882

Commented out code depending on qt, e.g. cdt-viewer and related tests.

* Use a span of Vertex_handles for read-only

The commit introduces the use of a span of `Vertex_handle` objects for read-only access in the code. It modifies the `Foliated_triangulation.hpp` and `Manifold.hpp` files to add a new member function `get_vertices_span()` that returns a span of vertices. The changes also include updating the test cases in `Vertex_test.cpp` to use the new member function.

* More ranges

More ranges

Refactor the `make_causal_vertices` function in both `Foliated_triangulation.hpp` and `Manifold.hpp` to accept `std::span` instead of `std::vector`. This allows for more flexibility when passing in vertex and timevalue containers. The function now uses `std::ranges::transform` instead of `transform`, improving code readability.

Update vcpkg

* Re-added Qt

Issue fixed. https://github.com/microsoft/vcpkg/issues/33882.

Also updated clang-tidy config file and vcpkg ports.

Now that we're building Qt again, though, there are unfixable (by me) clang-tidy errors from Qt that prevent clang-tidy from running.

It's similarly grim on PVS Studio.

* feat: Add <chrono> header for time-related functionality

This commit adds the `<chrono>` header to the `Utilities.hpp` file, allowing for the use of time-related functionality. The change is made in the `current_date_time()` function, where `std::chrono::system_clock::now()` is used instead of just `system_clock::now()`. This ensures that the code compiles correctly and provides accurate date and time information.

refactor: Update function signature in write_file()

The `write_file()` function in the `Utilities.hpp` file now takes a `std::filesystem::path` object as its second parameter instead of a `std::string`. This change improves type safety and makes it clearer that a file path is expected. Additionally, within this function, the filename is printed using `.string()` to obtain its string representation.

refactor: Update function signature in read_file()

Similar to the previous change, the `read_file()` function now takes a `std::filesystem::path` object as its parameter instead of a `std::string`. This modification enhances type safety and clarifies that a file path should be provided. The filename is also printed using `.string()` to display its string representation.

docs: Remove outdated information from README.md

In this commit, outdated information regarding CodeCov coverage dropping significantly has been removed from the README.md file. The related links have also been removed since they are no longer relevant.

test: Update string comparison in Utilities_test.cpp

The string comparisons in the Utilities_test.cpp file have been updated to use `.string()` on filenames before calling `.find()`. This ensures that correct substring matching occurs when checking various parts of filenames. Additionally, print statements have been modified to use `.string()` for displaying filenames during testing.

* Refactor code to remove unused code and add debug log messages

- Remove commented out code for fixing cells in `Ergodic_moves_3.hpp`
- Refactor `classify_cells` function in `Foliated_triangulation.hpp` to be static
- Add include for `<format>` in `Utilities.hpp`
- Comment out unused code in test scenarios in `Ergodic_moves_3_test.cpp`
- Add debug log messages to test scenarios in `Ergodic_moves_3_test.cpp`

The commit message is:

"Refactor code, remove unused code, and add debug log messages"

* Add Linux Clang with pkgx workflow and comment out unsupported std::format

- Added a new workflow file for Linux Clang with pkgx
- Set up necessary dependencies and tools in the workflow
- Configured cmake, built, and tested the project
- Commented out the use of std::format due to lack of support in clang-15

* Update Linux-clang-pkgx workflow [skip ci]

This commit updates the Linux-clang-pkgx workflow by adding a step to print the version of clang.

* Start using pkgx on ci

Use pkgx to install compilers in GitHub Actions.

Replaces egor-tensin/setup-clang and egor-tensin/setup-gcc, which are no longer maintained.

Fix clang-format warning.

* Switch more GitHub Actions to pkgx

- Updated the version of clang-format-action from v4.5.0 to v4.11.0.
- Changed the GCC version in setup-gcc action from 11 to 13.
- Updated the version of cpp-linter-action from v2 to v3.
- Removed unnecessary steps related to GCC setup in codeql-analysis.yml and sonarcloud.yml workflows.
- Added a step to print the GCC version using "gcc --version" command.

Note: These changes improve compatibility and enhance code formatting and linting processes.

* Fix GitHub Actions

I deleted all the old caches, so this will rebuild the needful.

Also, the vcpkg qt5-base port has some fixes, so this will trigger a rebuild of qt5.

Added badges in README.md to track cpp-linter and whitespace checks.

* De-cluttering test printouts

- Removed unnecessary test printouts in the code
- Updated vcpkgGitCommitId to ae360361a434310ffee36d84eb01c033b648fb22 in multiple workflows
- Modified classify_cells function to be const

* Use C++23 standard

* Use c++23 std::expected

This removes a dependency on tl::expected.

* Reset develop back to C++20

* Revert to C++20

* feat: Add print_cell function and update print_cells

- Added a new function `print_cell` to the `Foliated_triangulation` class that prints information about a cell in the triangulation.
- Updated the existing `print_cells` function to use the new `print_cell` function for printing each cell in the container.
- Modified error handling in `bistellar-flip.cpp` and `cdt-viewer.cpp` to use spdlog for logging critical errors.
- Added test cases in `Foliated_triangulation_test.cpp` to verify the correctness of the new functions.

* feat: Add cache directory to AppVeyor configuration

The cache directory `c:\tools\vcpkg\installed\` has been added to the AppVeyor configuration file `.appveyor.yml`. This change ensures that the installed packages are cached and can be reused in subsequent builds, improving build performance.

refactor: Refactor print_cell function in Foliated_triangulation.hpp

The `print_cell` function in the `Foliated_triangulation.hpp` file has been refactored. The function now correctly prints the timevalues of each vertex in the cell and the resulting cell info.

feat: Add print_neighboring_cells function in Foliated_triangulation.hpp

A new function `print_neighboring_cells` has been added to the `Foliated_triangulation.hpp` file. This function allows printing neighboring cells of a given cell in a triangulation.

test: Update test cases for FoliatedTriangulation functions

Several test cases have been updated for the `FoliatedTriangulation` functions. The changes ensure that containers of cells are printed correctly and that neighbors of a chosen cell can be printed as expected. Additionally, some test cases have been modified to improve code readability and consistency.

fix: Fix vertex error detection in Detecting and fixing problems with vertices and cells tests

In the "Detecting and fixing problems with vertices and cells" tests, vertex error detection has been fixed. Previously, an incorrect condition was used which resulted in false positives for detecting vertex errors. The fix ensures accurate detection of vertex errors.

chore: Update dependencies for Delaunay3 functions from FoliatedTriangulation_3

Dependencies have been updated for Delaunay3 functions used by FoliatedTriangulation_3. This update ensures compatibility with newer versions of external libraries or frameworks being used.

docs: Update documentation for FoliatedTriangulation_3 functions

Documentation for the FoliatedTriangulation_3 functions has been updated to reflect recent changes and improvements. This update improves the accuracy and clarity of the documentation, making it easier for developers to understand and use these functions.

refactor: Improve code readability in FoliatedTriangulation_test.cpp

Code readability has been improved in the `FoliatedTriangulation_test.cpp` file. This includes better indentation, consistent naming conventions, and removing unnecessary comments or code blocks. These changes make the code easier to read and understand.

* Update clang-format version to 17 and update compiler versions in Travis CI configuration file.

Add a new function `debug_print_cells` to print time values of each vertex in the cell and the resulting cell info.

Modify the script `clang-tidy.sh` to create a blank `.clang-tidy` file in the build directory to ignore Qt files causing warnings.

* Remove unused compilers and dependencies in .travis.yml

- Removed gcc-13, g++-13, clang-16 from the list of compilers

Comply with clang-format-17.

Update vcpkg to 01acfdfde3ed99280d3883a8fccd5fa4408f5214

* Update before_install script in .travis.yml

- Add travis_wait 60 before the existing command to increase timeout
- Update the code to use gcc-13 as the C++ compiler

* Update Travis CI configuration to use `curl -fsS` instead of `eval "$(curl https://pkgx.sh)"` for installing packages.

Fix pkgx install.

* Update Travis CI configuration

- Remove unnecessary `travis_wait` command
- Update package installation process using `pkgx`
- Add command to display help information for `pkgx`
- Update environment variables for GCC version 13

* Refactor GitHub workflow files for improved concurrency handling

This commit refactors the GitHub workflow files to improve concurrency handling. The changes include adding a new `concurrency` section to each file, which allows builds to complete even if merging happens faster. This makes it easier to discover at which point something broke. The `group` value in the `concurrency` section is set based on the branch being built, using a combination of the branch name and the commit SHA.

The affected files are:
- `.github/workflows/clang-format-check.yml`
- `.github/workflows/codecov-upload.yml`
- `.github/workflows/codeql-analysis.yml`
- `.github/workflows/linux-clang-pkgx.yml`
- `.github/workflows/linux-clang.yml`
- `.github/workflows/linux-gcc.yml`
- `.github/workflows/macos.yml`
- `.github/workflows/sonarcloud.yml`
- `.github/workflows/windows-msvc.yml`
- `.github/workflows/windows-pkgx.yml`

Additionally, the Travis CI configuration file (`.travis.yml`) has been updated to handle different versions of GCC and Clang compilers.

These changes aim to enhance build performance and reliability by ensuring that all builds complete successfully, regardless of merge speed.

* Travis-CI and pkgx don't get along

* Refactor GitHub Actions workflows to use a dynamic concurrency group

This commit refactors the GitHub Actions workflows to use a dynamic concurrency group based on the workflow and branch name. The previous implementation used a static format for the concurrency group, which caused issues when merging changes quickly. Now, each workflow will have its own unique concurrency group based on the workflow name and branch name. This change improves build completion and makes it easier to identify breaking points in the CI pipeline.

* Update vcpkg, AppVeyor, more ranges

- Updated vcpkg and AppVeyor configurations
- Added test_script and after_test steps in .appveyor.yml
- Updated vcpkgGitCommitId in codecov-upload.yml, codeql-analysis.yml, linux-clang-pkgx.yml, linux-clang.yml, linux-gcc.yml, macos.yml, sonarcloud.yml, windows-msvc.yml, windows-pkgx.yml
- Updated constants in Settings.hpp and Torus_d.hpp
- Removed t_output_flag parameter from expected_points_per_timeslice function in Utilities.hpp
- Created logger with console_sink, debug_sink and trace_sink in create_logger function of Utilities.hpp
- Modified main function in cdt.cpp to use const for argc and dimensions variables

* Apply a bunch of suggested fixes

- Removed unused include statements
- Replaced std::shuffle with std::ranges::shuffle
- Replaced std::any_of with std::ranges::any_of
- Replaced std::all_of with std::ranges::all_of
- Replaced std::for_each with std::ranges::for_each
- Simplified boolean expressions in return statements

* feat: Add Python 3.11 support to macOS workflow

The macOS workflow now installs Python 3.11 using Homebrew and links it as the default version.

fix: Update logging statements in Ergodic_moves_3.hpp

Replaced `fmt::print` with `spdlog::info` for logging the number of cells in the triangulation after adding new cells. Also added a warning log if the triangulation is not valid.

refactor: Include Move_command.hpp in Metropolis.hpp and Move_always.hpp

Added an include statement for Move_command.hpp in both Metropolis.hpp and Move_always.hpp.

refactor: Improve comments and documentation in MoveCommand class

Updated comments and documentation for various member functions of the MoveCommand class to provide more clarity on their purpose and usage.

refactor: Improve comments and documentation in MoveStrategy class

Improved comments and documentation for the MoveStrategy class, specifying that it selects a move algorithm based on the chosen strategy enum value.

fix: Handle invalid results in cdt-opt.cpp and cdt.cpp

Added error handling code to throw runtime_error if the result is invalid. Updated catch blocks to handle runtime_error exceptions separately, printing an appropriate error message.

* feat: Update macOS workflow and MoveCommand class

- Removed the `2to3` binary from `/usr/local/bin`
- Updated the macOS workflow to install necessary dependencies
- Added comments to clarify the purpose of variables and functions in the `MoveCommand` class
- Improved documentation for the `move_type` enum and related functions in the `Move_tracker` namespace

* Remove unnecessary files and update dependencies in macOS workflow.

Refactor MoveTracker class to improve readability and maintainability:
- Add brief descriptions for member functions
- Use consistent naming conventions for access functions
- Improve documentation comments for each move type

* Update macOS and Travis CI configurations

- Try to fix macOS on GitHub Actions
- Try to install gcc-13 on Travis-CI
- AppVeyor nicely increased my timeout to 90 minutes, so remove Issue

* Use pkgx to install gcc-13 and clang-16 on Travis-CI

* Travis-CI + pkgx

* Bog standard install of gcc-13

clang-16 seems to be already present.

* Add gcc-12 to the list of required packages in .travis.yml

This commit adds gcc-12 to the list of required packages in .travis.yml. This change ensures that the build environment has gcc-12 available for compilation.

* Update Travis CI configuration

- Update the `apt` section to enable package updates
- Add `g++-12` package to the list of packages to be installed
- Set environment variables for CXX and CC in the `before_install` section

These changes ensure that the necessary packages are updated and installed correctly, and set the appropriate compiler versions for building.

* Update compiler versions in .travis.yml

- Update gcc to g++-12
- Update clang to clang-16

* Update macOS.yml and .travis.yml

- Remove idel3.11 from the list of removed files in macOS.yml
- Add update-alternatives commands to set g++-12 and clang++-16 as default compilers in .travis.yml

* Fix Travis, update GitHub actions

- Put old compilers back in place on Travis-CI
- Test out a GitHub action to build and deploy documentation using Doxygen + GitHub Pages
- Update vcpkg, since new version rebuilds qt5
- Delete linux-clang-pkgx.yml, since we're now using pkgx to install the latest versions of clang and gcc on the GitHub Actions runner

If Doxygen GHA works, may consider retiring the use of Travis-CI since it's hard to get up-to-date C++ compilers installed.

* Deprecate Doxygen on Travis-CI [skip ci]

Allow Doxygen GitHub Pages Deploy Action to run on pushes to develop branch and all pull_requests.

Remove yet another annoying macos-13 python update library glitch.

* Still fixing macos on GitHub [skip ci]

* And another python3 error in GHA [skip ci]

* Yet another python3 update error in GHA [skip ci]

* Setup Valgrind on GHA [skip ci]

* Add Valgrind installation to the workflow

This commit adds the installation of Valgrind to the workflow, ensuring that it is available for use in subsequent steps.

* Fix macOS and Valgrind [ci skip]

* Fix Valgrind [ci skip]

Be more prescriptive about when to run expensive checks like CodeCov, CodeQL, and SonarCloud. Likewise, only build documentation for develop and main branches.

* Fix known Valgrind/ASAN issue [skip ci]

https://github.com/google/sanitizers/issues/856

Don't use -fsanitize=address on compile step.

* Update Valgrind configuration for Clang [ci skip]

- Change the setup to use Clang instead of GCC
- Update CMakePresets.json to use Clang as the C and C++ compilers

* Fix Valgrind on clang [ci skip]

* Revert Valgrind back to g++, at least some tests work [skip ci]

* Run Valgrind checks separately [ci skip]

So a failed check doesn't abort succeeding checks.

* Update vcpkg

Remove Valgrind from Travis-CI.

* Enable ASAN on GHA [skip ci]

Also run valgrind in Debug mode.

* Migrate Sanitizers to GHA [skip ci]

* Use a repo variable to update vcpkg

Also deprecate those tests in Travis-CI.

Update documentation.

* Add Cppcheck workflow, presets, and build steps [skip ci]

- Added a new file `.github/workflows/cppcheck.yml` to include a Cppcheck workflow.
- Modified `.travis.yml` to comment out the CppCheck job.
- Modified `CMakePresets.json` to add a new preset for cppcheck.
- Updated badges in `README.md`.

This commit adds support for running Cppcheck as part of the CI/CD pipeline.

* Update HPC and PVS Studio scripts

Also update version of vcpkg to c8696863d371ab7f46e213d8f5ca923c4aef2a00 in repo

* Update Slurm script

For running on HPC

* Boost 1.84

Small fixes in bistellar-flip.cpp.

This commit is to document a compile-time bug with vcpkg's CGAL port with the qt feature enabled.

* Update vcpkg to fix macOS qt build issue

* Fixing vcpkg build of python on macOS [skip ci]

* Remaining vcpkg python macOS update fixes [skip ci]

* Still need old fixes too [skip ci]

* Fix docopt

They also got rid of the annoying difference where the Linux library was oddly named 'docopt_s' and the Windows library was the more sensible 'docopt'. So I can collapse my cmake file.

* Fix docopt #2

Windows and macOS builds and links to docopt library, Linux links to docopt_s.

* ci: Try clang-18 via pkgx [ci skip]

* ci: Fix when checks run

More checks run on pull requests.

Switch to using M1 macOS runner.

* ci: Update to clang-18

* ci, style: clang-format and macOS

Fix clang-format changes.
Go back down to the free tier for macOS.
Update code-ql action.

* test: format/fix tests

* feat: Switch from docopt to boost::program_options

Docopt isn't being maintained anymore, has long-standing reported bugs, and generates different linker targets depending on platform. In particular, building for HPC was getting to be a pain.

This explores using boost::program_options, since I already need Boost for CGAL.

* ci, fix: macOS and Linux builds

Enable macOS builds on all pull requests.

Add linker target for boost::program_options on Linux.

* feat: Replace docopt on cdt

Add usage message back to initialize.

Swap out docopt for boost::program_options on cdt executable.

* feat: Replace docopt on cdt-viewer

Also remove docopt from vcpkg.

* docs: Update documentation [ci skip]

Remove references to docopt and update help screen.

* ci, fix: Fix fmt::join, update Github actions

* ci: update GitHub Actions

* ci: Update remaining actions

Fix SonarCloud, remove building on macOS until fontconfig issue resolved.

* fix: MSVC error

The error message indicates that the Clang compiler does not recognize the `/utf-8` option, which is a Microsoft Visual C++ (MSVC) specific option. To resolve this issue, you need to conditionally add the `/utf-8` flag only when using the MSVC compiler.

Here's how you can modify your `CMakeLists.txt` to conditionally add the `/utf-8` flag:

1. Check if the compiler is MSVC.
2. If it is, add the `/utf-8` flag.

* ci: Check if clang-19 available [skip ci]

* ci: Update to clang-19

* Feature/c++23 (#76)

* Make separate branch for C++23

* Fix merge errors from develop

* ci: update to clang-18 via pkgx

This should resolve the build failure for updating to C++23. clang-17 didn't support std::expected, but clang-18 should.

* ci: Fix checking twice on PRs and pushes

* ci: Fix Travis and AppVeyor

* ci: Fix clang on Travis-CI

* ci: Don't double build PR pushes on Travis-CI

* Feature/fix appveyor (#77)

* ci: Fix appveyor

* ci: Fix pkgx windows error

* ci: pkgx fixes [skip ci]

* ci: Updates [skip ci]

* ci: Allow clang-format to run by request [skip ci]

* fix: strip out qt temporarily

Until we can get it to compile again

* fix: CoderabbitAI suggestions

* fix: Coderabbit suggestions part 2

* fix: More Coderabbit tuning

* fix: AppleClang

C++23 support check left out AppleClang

* Update src/bistellar-flip.cpp

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* ci: disable macos

* ci: Fix workflows mostly

Note we also updated vcpkg

* ci: CodeRabbit suggestions

* ci: Fix comment [ci skip]

* ci: revert Coderabbit suggestion [ci skip]

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* ci: Fix macOS GitHub Action [skip ci]

* ci: Coderabbit and macOS update

* Improves move application and validation

Refactors move application to handle cases where a move cannot be applied due to manifold configuration.

Skips the test when a move cannot be applied, and logs a warning message providing better test reporting.

Also, the Boost library is now found using config mode. A cmake policy is set to avoid warnings.

* ci: Update gcc [skip ci]

* Improves Bistellar flip reliability

Adds checks for invalid and infinite cells and vertices during the Bistellar flip operation to improve reliability. Includes extensive debugging information to diagnose failures.  Also includes a suite of tests to verify that bistellar flips are correctly implemented.

* ci: Updates CI workflows for newer tool versions

Updates the CI workflows to use newer versions of Clang and GCC. Also updates the pkgxdev/setup action to v4 to ensure compatibility.

The change ensures that the CI environment uses the latest compiler versions for better code analysis and compatibility testing.

An additional change orders the includes.

* ci: Configures Dependabot for GitHub Actions [skip ci]

Sets up Dependabot to automatically update GitHub Actions dependencies on a weekly basis.

This ensures that the project stays up-to-date with the latest security patches and feature improvements for GitHub Actions workflows.

* Bump jidicula/clang-format-action from 4.13.0 to 4.15.0 (#80)

Bumps [jidicula/clang-format-action](https://github.com/jidicula/clang-format-action) from 4.13.0 to 4.15.0.
- [Release notes](https://github.com/jidicula/clang-format-action/releases)
- [Commits](https://github.com/jidicula/clang-format-action/compare/v4.13.0...v4.15.0)

---
updated-dependencies:
- dependency-name: jidicula/clang-format-action
  dependency-version: 4.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pkgxdev/setup from 2 to 4 (#79)

Bumps [pkgxdev/setup](https://github.com/pkgxdev/setup) from 2 to 4.
- [Release notes](https://github.com/pkgxdev/setup/releases)
- [Commits](https://github.com/pkgxdev/setup/compare/v2...v4)

---
updated-dependencies:
- dependency-name: pkgxdev/setup
  dependency-version: '4'
  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>

* Create codeql.yml

* ci: Remove old CodeQL

* Bump codecov/codecov-action from 4 to 5 (#81)

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>

* fix: Explicitly use MPFR and GMP and turn off BoostMP

Boost Multiprecision has a packaging bug. And we rely on MPFR/GMP for intensive calculations anyways, so configure CGAL to use them instead of Boost Multiprecision.

* ci, doc: Fix macOS runner, update README [ci skip]

* ci: Check which version of clang is active in macOS [ci skip]

* Really setup Xcode 15.3 [skip ci]

* refactor(tooling): modernize the v1.0.0 development workflow (#99)

Closes #89

* refactor(tooling): modernize the v1.0.0 development workflow

- pin the official vcpkg baseline and add local and pkgx bootstrap paths
- unify supported platforms in GitHub Actions and retire legacy services
- replace tl-function-ref with Boost.Compat and remove unused dependencies
- document the main-based maintenance and regression-oracle workflow

* refactor(tooling): complete the v1.0.0 development workflow

- add Just recipes for checks, formatting, builds, runs, and action updates
- enforce the pinned vcpkg bootstrap across Unix and Windows
- provide Unix build tooling through pkgx with compatible version pins
- consolidate platform CI and pin GitHub Actions to immutable revisions
- remove legacy scan-build support and refresh contributor guidance
- tighten smoke-test and time-formatting behavior

Refs #89

* fix(tooling): harden CI and bootstrap validation

- authenticate Codecov uploads with OIDC and remove the committed token
- run the build matrix for develop-targeted pull requests during migration
- align local formatting with CI using clang-format 18
- reject unusable cached vcpkg executables before reuse

* fix(ci): restore cross-platform build validation

- resolve GCC and Clang within a single pkgx environment
- emit UTC timestamps without requiring an external timezone database
- run a portable Windows smoke suite while deferring the initializer crash
- scope Codecov OIDC access and validate cached vcpkg tool releases

* fix(ci): stabilize cross-platform validation

- avoid nested pkgx environments when selecting Linux compilers
- generate filename-safe UTC timestamps and exclude stochastic utilities from smoke presets
- verify cached Windows vcpkg binaries against pinned release hashes
- document the Codecov OIDC permission rationale

* fix(ci): remove ccache from reference builds

Stop provisioning ccache through pkgx because the supported reference
preset disables compiler caching, and align the documented prerequisites.

Simplify filename-safe timestamp sanitization with std::replace.

* refactor(build): consolidate the supported CMake presets

Replace the legacy platform and compiler preset matrix with a shared reference configure, build, and smoke-test contract.

Route Windows and fast-build entry points through the reference output tree while retaining focused diagnostic presets and the known Windows
smoke-test exclusion.

* ci: target pull requests at main

* fix: harden CDT moves and release verification

- enforce causal 2-to-3 proposals and implement failure-atomic 4-to-4
  moves with checked CGAL primitives
- preserve manifold settings, validate runtime bounds, and prevent move
  counters from carrying across runs
- make sanitizer, CodeQL, Codecov, and cross-platform CI failures
  actionable
- add locked Python 3.12 quality tooling and retire PVS-Studio

* ci: restore Just setup and C++ formatting checks

Correct the immutable action pin used to install Just and align the
reported C++ files with clang-format 18.

* fix!: harden 3D moves and stabilize release validation

- make rejected moves failure-atomic and implement the causal 6→2 retriangulation
- correct 6→2 Metropolis action bookkeeping and add cdt --no-output
- consolidate LLVM 22 formatting, clang-tidy, sanitizer, and quality workflows
- preserve compatible CMake and vcpkg caches across incremental builds
- remove cdt-opt, Valgrind integration, and unsupported 4D scaffolding
- document the maintenance-mode release workflow

BREAKING CHANGE: Remove the cdt-opt executable and unsupported 4D manifold, geometry, move, and cell-type APIs.

* ci: make fresh runner setup reliable

- allow clean builds to proceed when no CMake cache exists
- reuse pinned vcpkg checkouts containing generated artifacts
- install the pinned zizmor version before repository quality checks

* refactor(tooling): remove cppcheck integration

Remove the cppcheck workflow, CMake preset, local runner, CodeRabbit
configuration, and documentation references.

---------
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant