Skip to content

V0.8.1 - #16

Merged
dsecurity49 merged 2 commits into
mainfrom
v0.8.1
Sep 6, 2026
Merged

V0.8.1#16
dsecurity49 merged 2 commits into
mainfrom
v0.8.1

Conversation

@dsecurity49

@dsecurity49 dsecurity49 commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • New Features
    • GitHub Actions setup now warns before configuring secrets when the baseline environment is missing, unverifiable, or lacks required protection rules.
    • Warnings identify missing reviewers or deployment-branch restrictions and allow setup to continue.
  • Bug Fixes
    • Prepared transaction completion is no longer treated as ending the analyzed migration transaction.
    • Aggregate and function signatures preserve ordered-set details.
    • Invalid timeout values and additional PostgreSQL syntax are handled more reliably.
  • Tests
    • Expanded coverage for transaction handling, function types, constraints, and interactive terminal behavior.

@coderabbitai

coderabbitai Bot commented Sep 5, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

Next included review available in 56 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: b3e8c925-72e2-4a38-bba3-f3ef094bc5bb

📥 Commits

Reviewing files that changed from the base of the PR and between 019b699 and 730416f.

📒 Files selected for processing (6)
  • .github/ISSUE_TEMPLATE/database-feedback.yml
  • README.md
  • docs/BENCHMARKS.md
  • docs/CONTRACT.md
  • docs/GITHUB_ACTIONS.md
  • scripts/test-action-contract

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: 42433d8e-925d-45c2-a77b-1f87832a250f

📥 Commits

Reviewing files that changed from the base of the PR and between 5a74076 and 019b699.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (8)
  • CHANGELOG.md
  • Cargo.toml
  • docs/CONTRACT.md
  • docs/GITHUB_ACTIONS.md
  • src/_internal/ast/visitor.rs
  • src/_internal/ast/visitor_tests.rs
  • src/_internal/report/interactive.rs
  • src/cli_init.rs

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The release updates Squawk integration to 2.64.0, adjusts AST extraction for new syntax APIs, validates interactive terminals, warns before GitHub secret setup when environment protection is insufficient, and documents the changes in version 0.8.1.

Changes

Squawk integration and analysis

Layer / File(s) Summary
Squawk 2.64.0 AST extraction updates
Cargo.toml, src/_internal/ast/visitor.rs, src/_internal/ast/visitor_tests.rs
The AST visitor uses updated Squawk APIs. Prepared transaction completion becomes OpaqueBlock. Function signatures, constraints, configuration values, and typed returns receive updated extraction logic and tests.

Runtime safeguards

Layer / File(s) Summary
Interactive terminal validation
src/_internal/report/interactive.rs
Interactive reporting validates stdin and stdout separately before enabling raw mode. Tests cover incomplete and valid terminal states.
GitHub environment protection warning
src/cli_init.rs, docs/CONTRACT.md, docs/GITHUB_ACTIONS.md
GitHub Actions initialization checks baseline environment protection before prompting for the database URL. Documentation describes warnings for missing, unverifiable, or unprotected environments.

Release metadata

Layer / File(s) Summary
Release metadata and changelog
Cargo.toml, CHANGELOG.md
The crate version changes to 0.8.1. The changelog records the parser upgrade and behavior changes.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Merge Risk: ⚪ Minimal · up to 019b6

This release updates parser integration, terminal handling, and GitHub environment warnings with matching tests and documentation. No merge-blocking risk remains.

Sequence Diagram(s)

sequenceDiagram
  participant Init as github-actions init
  participant GH as gh CLI
  participant GitHub as GitHub environment API
  participant Prompt as Secret prompt
  Init->>GH: Request baseline environment metadata
  GH->>GitHub: Fetch environment protection data
  GitHub-->>GH: Return protection metadata
  GH-->>Init: Return environment status
  Init->>Prompt: Warn when needed, then prompt for database URL
Loading
🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 47.50% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 40 functions across 4 files. (4 skipped: … Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title identifies the release version but does not describe the primary changes, such as the dependency upgrade and GitHub environment protection warnings. Replace the title with a concise change summary, such as "Bump to v0.8.1 and add GitHub environment protection warnings".
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
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.
Full details: Docstring Coverage

Explanation

Docstring coverage is 47.50% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 40 functions across 4 files. (4 skipped: 4 unsupported.)

✨ Finishing Touches 💡 2
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch v0.8.1

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.

@dsecurity49
dsecurity49 merged commit 57ad7da into main Sep 6, 2026
12 checks passed
@dsecurity49
dsecurity49 deleted the v0.8.1 branch September 6, 2026 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant