Skip to content

fix(ci): unblock main by resolving CodeQL action skew and RustSec advisory - #1723

Merged
robcohen merged 2 commits into
mainfrom
copilot/main-checks-failing
Jul 7, 2026
Merged

robcohen merged 2 commits into
mainfrom
copilot/main-checks-failing

Conversation

Copilot AI commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

main was failing in two independent CI gates: CodeQL had a pinned-action mismatch (init vs analyze) that produced a configuration-version error, and cargo deny failed on RUSTSEC-2026-0204 via crossbeam-epoch 0.9.18.

  • CodeQL workflow alignment

    • Updated .github/workflows/codeql.yml so analyze uses the same pinned github/codeql-action commit as init.
    • Removes the Loaded a configuration file for version '4.36.3', but running version '4.36.2' failure mode.
  • Dependency advisory remediation

    • Updated Cargo.lock to resolve crossbeam-epoch from 0.9.18 to 0.9.19.
    • Addresses the RustSec finding that caused cargo deny to fail in the Quality workflow.
# .github/workflows/codeql.yml
- uses: github/codeql-action/init@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a
- uses: github/codeql-action/analyze@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a

@robcohen
robcohen marked this pull request as ready for review July 7, 2026 06:05
@robcohen
robcohen requested a review from a team as a code owner July 7, 2026 06:05
Copilot AI review requested due to automatic review settings July 7, 2026 06:05
@robcohen
robcohen enabled auto-merge (squash) July 7, 2026 06:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR unblocks failing CI on main by (1) aligning the pinned CodeQL GitHub Action revision across workflow steps to eliminate a CodeQL configuration/action version skew, and (2) updating a Rust dependency lock to remediate a RustSec advisory that was tripping cargo deny.

Changes:

  • Pin github/codeql-action/analyze to the same commit as github/codeql-action/init in the CodeQL workflow.
  • Update Cargo.lock to bump crossbeam-epoch from 0.9.18 to 0.9.19 (including checksum) to address RUSTSEC-2026-0204.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/codeql.yml Aligns CodeQL action pins (init/analyze) to prevent CodeQL tool/config version mismatch failures.
Cargo.lock Updates locked crossbeam-epoch version/checksum to resolve the RustSec advisory failing cargo deny.

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

@github-actions

github-actions Bot commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

📊 Benchmark Results

Tool Time Memory
rustledger 34.3ms ± 1.6ms 23.6 MB
beancount 916.7ms ± 10.2ms 50.6 MB
Comparison 26.7x faster 2.1x less

vs main branch (2026-07-07)

Metric main this PR Change
Time 32.2ms 34.3ms +6.5% 🟡
10K transactions · 5 runs, 2 warmup · hyperfine
What do these numbers mean?
  • Time: Wall-clock time to parse and validate the ledger (± std dev)
  • Memory: Peak resident set size (RSS)
  • vs main: Compared to latest nightly benchmark on main branch

@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

auto-merge was automatically disabled July 7, 2026 06:08

Head branch was pushed to by a user without write access

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

✅ Compatibility Test Results

Metric Result
Check Compatibility 100%
BQL Compatibility 100%
Full AST Match 100%
Total Files 810
What's tested
  • Check: Exit codes and error counts match bean-check
  • BQL: Query results match bean-query
  • Files: ~800 test files downloaded from 10+ beancount repositories

Full results available in workflow artifacts

Copilot AI requested a review from robcohen July 7, 2026 06:12
@robcohen
robcohen merged commit 24d706d into main Jul 7, 2026
43 of 45 checks passed
@robcohen
robcohen deleted the copilot/main-checks-failing branch July 7, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants