-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[codex] add real MySQL Router compatibility plugin for ProxySQL 4.0 #6144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renecannao
wants to merge
60
commits into
v3.0
Choose a base branch
from
agent/mysql-router-plugin
base: v3.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
bd07307
docs: design MySQL Router plugin for ProxySQL 4.0
renecannao b7b9dd8
docs: plan MySQL Router plugin implementation
renecannao f2833c5
refactor(v4): remove legacy bootstrap from core
renecannao cf4d97e
fix(v4): preserve bootstrap init interface
renecannao baf33ee
feat(plugin): register named plugin CLI options
renecannao a96dd6e
test(plugin): cover executable plugin help
renecannao e6963de
test(plugin): isolate executable help fixture
renecannao 4299e92
feat(plugin): add early action lifecycle phase
renecannao ed922f2
feat(plugin): add encrypted secret storage
renecannao 34a8248
fix(plugin): harden secret storage errors
renecannao 2b9430e
fix(plugin): hide secret test hooks
renecannao 2d6e2ef
feat(plugin): gate listeners on runtime readiness
renecannao 8a947a4
feat(plugin): publish scoped MySQL config generations
renecannao 319a72f
fix(plugin): harden MySQL config publication
renecannao 0ace3d9
fix: harden atomic MySQL config publication
renecannao 68f3f35
fix: make Auth checksum locking exception-safe
renecannao 7313864
test(plugin): lock Router chassis contract
renecannao d22ff66
test(plugin): strengthen Router chassis contract
renecannao 5d6275c
fix(plugin): preserve exact managed user state
renecannao 8c6c1ae
fix(plugin): discriminate exact user ownership
renecannao 9147554
fix(admin): preserve plugin ownership schema
renecannao bab9572
fix(admin): reject stale ownership migrations
renecannao cc313ee
Merge remote-tracking branch 'origin/v3.0' into agent/mysql-router-pl…
renecannao be3744d
Merge remote-tracking branch 'origin/v3.0' into agent/mysql-router-pl…
renecannao dab8d32
test(ci): register Router chassis unit tests
renecannao bbc4a09
feat(query-rules): expose fast-forward action
renecannao 7fd416b
feat(mysql): switch COM_QUERY sessions to fast-forward
renecannao 282b587
fix(mysql): reject unsafe query-rule transitions
renecannao 981826d
feat(mysql-router): scaffold the real Router plugin
renecannao e58ec58
feat(mysql-router): parse secure bootstrap options
renecannao b471eb6
feat(mysql-router): model metadata and GR health
renecannao 3ae0a68
feat(mysql-router): bootstrap and register InnoDB Cluster
renecannao 4b25833
feat(mysql-router): compile native Classic routing
renecannao d40fc59
feat(router): synchronize managed MySQL users
renecannao 9fce431
feat(router): reconcile topology continuously
renecannao a8b3c74
Merge remote v3.0 into mysql-router-plugin
renecannao 7b4db85
feat(mysql-router): validate real InnoDB Cluster routing
renecannao 8598581
docs(mysql-router): design fast-forward rule publication
renecannao 6208b33
docs(mysql-router): plan fast-forward rule publication
renecannao 2aca69e
docs(router): align direct builds with v3 feature tiers
renecannao abb3fa7
feat(plugin): add versioned MySQL rule attributes service
renecannao ae25d06
feat(plugin): publish managed query-rule attributes atomically
renecannao fb57362
feat(mysql-router): enable fast-forward on direct Classic routes
renecannao 89a9c27
docs(mysql-router): document ABI-9 Router operation
renecannao 73f2638
fix(plugin): restore default-tier compilation
renecannao 5c78404
fix(plugin): reject unsafe ownership collisions
renecannao 759236f
fix(plugin): harden chassis discovery and services
renecannao e9ddff4
fix(plugin): harden manager publication boundaries
renecannao f1126f1
fix(mysql-router): validate metadata and health transitions
renecannao 8772774
fix(mysql-router): make runtime publication consistent
renecannao 2bfef7e
fix(mysql-router): harden bootstrap state transitions
renecannao de93600
fix(mysql-router): close runtime error boundaries
renecannao ca61e54
test(mysql-router): run the real plugin in InnoDB Cluster CI
renecannao bc1e25a
Merge remote v3.0 into MySQL Router plugin branch
renecannao 55106ea
test(admin): scope bootstrap importer coverage
renecannao ff3e774
test(plugin): resolve Sonar reliability findings
renecannao c9ad778
test(admin): keep bootstrap test in unit manifest
renecannao 675af4d
build(mysql-router): keep runtime staging writable
renecannao a76ffe3
build(mysql-router): secure runtime plugin staging
renecannao ce8f596
fix(mysql-router): keep listener gates open across user reconcile
renecannao File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| name: CI-mysql-router-ic-g1 | ||
| run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}' | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| workflow_run: | ||
| workflows: [ CI-trigger ] | ||
| types: [ completed ] | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| run: | ||
| if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }} | ||
| # The shared ubuntu24 PROXYSQL40+GCOV handoff builds every chassis plugin. | ||
| # mysql_router stages its real .so in test/tap/tap/_runtime_libs so this | ||
| # group does not depend on the GenAI-only restore destination. | ||
| permissions: write-all # NOSONAR: required by and consistent with the shared CI caller contract. | ||
| uses: sysown/proxysql/.github/workflows/ci-ai-gcov.yml@GH-Actions # NOSONAR: repository-owned integration branch. | ||
| secrets: inherit # NOSONAR: the shared CI workflow selects the credentials needed by its infrastructure. | ||
| with: | ||
| trigger: ${{ toJson(github) }} | ||
| tap_group: mysql-router-ic-g1 | ||
| infra_id: ci-mysql-router-ic-g1 |
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
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.