FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Demo: SQL review failure (non-snake_case table) by adela-bytebase · Pull Request #87 · adela-bytebase/example-gitops-github-flow · GitHub

Demo: SQL review failure (non-snake_case table) - #87

Closed
adela-bytebase wants to merge 4 commits into
mainfrom
demo-sql-review-fail-mysql
Closed

Demo: SQL review failure (non-snake_case table)#87
adela-bytebase wants to merge 4 commits into
mainfrom
demo-sql-review-fail-mysql

Conversation

Copy link
Copy Markdown
Owner

Summary

Intentionally adds `EmployeeProfile` (PascalCase) to `schema-mysql/schema.sql` to demonstrate the SQL review check failing against the `.bytebase/sql-review.md` snake_case naming rule.

Expected: `declarative-sql-review-action-mysql.yml` fails.

Mirrors the existing Postgres declarative pipeline against the new
mysql-project / mysql-test-instance-05k8 (testdb, proddb) for testing
the SDL feature on MySQL.
Intentionally breaks the .bytebase/sql-review.md naming convention
to demonstrate the SQL review check catching a violation.
adela-bytebase changed the base branch from add-mysql-sdl-workflow to main July 30, 2026 14:20

github-actions Bot commented Jul 30, 2026
edited
Loading

Copy link
Copy Markdown

SQL Review Summary

  • Total Affected Rows: 0
  • Overall Risk Level: ⚪ None
  • Advices Statistics: 1 Error(s), 0 Warning(s)

Detailed Results

File Target Affected Rows Risk Level Advices
schema-mysql/schema.sql instances/mysql-test-instance-05k8/databases/proddb 0 ⚪ None 1 Error(s)

The custom snake_case rule alone didn't fail the check (resultCount=0
even for PascalCase EmployeeProfile - likely AI custom-rule review
isn't enabled server-side). Add a broken FK reference so the check
fails on real schema validation instead.

Copy link
Copy Markdown
Owner Author

Demo complete — AI SQL review correctly flagged the non-snake_case table. Closing.

adela-bytebase deleted the demo-sql-review-fail-mysql branch July 30, 2026 15:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL