Skip to content

chore(phenoUtils): P0 cleanup — standardize justfile, update STATUS.md#54

Open
KooshaPari wants to merge 7 commits into
mainfrom
chore/phenoutils-p0-cleanup-20260608
Open

chore(phenoUtils): P0 cleanup — standardize justfile, update STATUS.md#54
KooshaPari wants to merge 7 commits into
mainfrom
chore/phenoutils-p0-cleanup-20260608

Conversation

@KooshaPari

@KooshaPari KooshaPari commented Jun 8, 2026

Copy link
Copy Markdown
Owner

User description

Summary

  • Standardize on justfile; remove redundant Taskfile.yml
  • Update STATUS.md with current state (2026-06-08)
  • Merge PR chore(workflow): hygiene pass #53 (workflow hygiene) to main
  • Clean stale branches

QA

  • Working tree clean
  • On main branch
  • Stashes cleared
  • Single build tool (justfile)
  • STATUS.md present and current

Note

Low Risk
Changes are CI, docs, and deny policy only; the new deny bans may fail future cargo-deny runs if the workspace violates them, but no runtime application code is touched.

Overview
Build tooling: Removes Taskfile.yml so local workflows rely on the existing justfile only; STATUS.md is refreshed (2026-06-08) with repo state, billing note, and recent cleanup (PR #53, stale branches).

GitHub Actions: Adds a new CI workflow on push/PR (cargo test + clippy/check with rust-cache). Most other workflows get concurrency (cancel-in-progress), ubuntu-24.04 runners, and a few pinned action SHAs (e.g. cargo-deny rust-toolchain, Scorecard). ci.yml still uses ubuntu-latest and floating @v4/@stable tags unlike the pinned workflows.

Policy: Extends deny.toml with a [bans] block (workspace-features, multiple-mains, unnameable types/traits, unknown-lints, etc.) so cargo-deny will enforce stricter crate/workspace rules when runs are unblocked.

Reviewed by Cursor Bugbot for commit 9c06319. Bugbot is set up for automated code reviews on this repo. Configure here.


CodeAnt-AI Description

Standardize repo workflows and tighten CI checks

What Changed

  • Adds a push/PR CI workflow that runs tests, linting, and a fallback check automatically
  • Limits duplicate workflow runs for the same branch or pull request, so newer changes cancel older queued runs
  • Moves several workflows to a fixed Ubuntu version and pins selected third-party actions
  • Tightens dependency policy checks so more workspace and lint rule issues are caught during cargo-deny
  • Removes the old Taskfile.yml, keeping justfile as the single local build tool
  • Updates STATUS.md with the current repo state and recent cleanup

Impact

✅ Fewer duplicate CI runs
✅ More consistent workflow behavior
✅ Earlier detection of dependency policy issues

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

@codeant-ai

codeant-ai Bot commented Jun 8, 2026

Copy link
Copy Markdown

CodeAnt AI is reviewing your PR.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@coderabbitai

coderabbitai Bot commented Jun 8, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@KooshaPari, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 28 minutes and 28 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 2cdc3982-ea92-4f9d-ab17-499444731b09

📥 Commits

Reviewing files that changed from the base of the PR and between e5f6f0c and 9c06319.

📒 Files selected for processing (13)
  • .github/workflows/cargo-audit.yml
  • .github/workflows/cargo-deny.yml
  • .github/workflows/cargo-semver-checks.yml
  • .github/workflows/ci.yml
  • .github/workflows/codeql-rust.yml
  • .github/workflows/codeql.yml
  • .github/workflows/doc-links.yml
  • .github/workflows/fr-coverage.yml
  • .github/workflows/scorecard.yml
  • .github/workflows/trufflehog.yml
  • STATUS.md
  • Taskfile.yml
  • deny.toml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/phenoutils-p0-cleanup-20260608
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch chore/phenoutils-p0-cleanup-20260608

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request updates the status documentation in STATUS.md, removes the Taskfile.yml build configuration, and adds a new [bans] section to deny.toml. A critical issue was identified in deny.toml where unsupported configuration keys (such as workspace-features and multiple-mains) were added to the [bans] section, which would cause cargo deny check to fail. It is recommended to replace these invalid keys with supported ones like multiple-versions = "deny".

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread deny.toml
Comment on lines +1 to +8
[bans]
workspace-features = "deny"
multiple-mains = "deny"
main = "deny"
unnameable-traits = "deny"
unnameable-types = "deny"
unknown-lints = "deny"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

The cargo-deny tool does not support these keys (such as workspace-features, multiple-mains, etc.) in the [bans] section of deny.toml. Including them will cause cargo deny check to fail with a configuration parsing error.

If you intended to configure Rust compiler/clippy lints, those should be defined in Cargo.toml under [workspace.lints.rust] or [workspace.lints.clippy]. If you want to use cargo-deny to prevent multiple versions of the same crate, you can use multiple-versions = "deny" instead.

Suggested change
[bans]
workspace-features = "deny"
multiple-mains = "deny"
main = "deny"
unnameable-traits = "deny"
unnameable-types = "deny"
unknown-lints = "deny"
[bans]
multiple-versions = "deny"

@codeant-ai codeant-ai Bot added the size:M This PR changes 30-99 lines, ignoring generated files label Jun 8, 2026

@cursor cursor 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.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

Bugbot Autofix is ON. A cloud agent has been kicked off to fix the reported issues.

Reviewed by Cursor Bugbot for commit 9c06319. Configure here.

Comment thread .github/workflows/ci.yml
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo test --all-features --workspace
- run: cargo clippy --all-features -- -D warnings 2>/dev/null || cargo check

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Clippy failures masked by fallback

High Severity

The CI lint step runs cargo clippy with -D warnings, redirects stderr to /dev/null, and on any non-zero exit runs cargo check instead. A failing Clippy run can still leave the job green, so warning-level lint regressions never fail the pipeline.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 9c06319. Configure here.

Comment thread deny.toml
main = "deny"
unnameable-traits = "deny"
unnameable-types = "deny"
unknown-lints = "deny"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Invalid keys in deny.toml

Medium Severity

The new [bans] entries (workspace-features, multiple-mains, main, unnameable-traits, unnameable-types, unknown-lints) are not valid cargo-deny ban settings. They match Cargo manifest lint names, so cargo deny check is likely to fail when parsing this file.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 9c06319. Configure here.

@codeant-ai

codeant-ai Bot commented Jun 8, 2026

Copy link
Copy Markdown

CodeAnt AI finished reviewing your PR.

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

Labels

size:M This PR changes 30-99 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant