Skip to content

feat: migrate audit to query-lib schema objects - #206

Open
abnegate wants to merge 2 commits into
mainfrom
codex/audit-query-lib-publish-20260905
Open

feat: migrate audit to query-lib schema objects#206
abnegate wants to merge 2 commits into
mainfrom
codex/audit-query-lib-publish-20260905

Conversation

@abnegate

@abnegate abnegate commented Sep 4, 2026

Copy link
Copy Markdown
Member

Summary

Canonical continuation of utopia-php/audit#133 in packages/audit, following the approved move to the monorepo.

  • Return typed Attribute and Index schema objects and use Collection for database setup.
  • Adapt ClickHouse schema, DDL and encoding paths to value objects while preserving existing fields, indexes, null handling and tenant behavior.
  • Require the genuine Database dev-feat-query-lib VCS branch without an inline alias; declare PDO MySQL and Swoole test extensions.
  • Cover nullable logs, schema defaults and string filtering.

Verification

Both registry and linked modes passed:

  • Unit: 22 tests, 106 assertions.
  • E2E: 92 tests, 1,023 assertions, including MariaDB and ClickHouse.

Pint, PHPStan, Rector, Composer validation and monorepo validation passed.

Hosted CI and PR review remain pending. No package split, release, tag or merge has been performed.

@abnegate

abnegate commented Sep 4, 2026

Copy link
Copy Markdown
Member Author

@greptile-apps review

@abnegate

abnegate commented Sep 6, 2026

Copy link
Copy Markdown
Member Author

@greptileai review the current head 394aa7f. The September 4 request using the older bot handle did not start a review; this uses the currently documented trigger.

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