Commit 8f85a98
authored
refactor(frozen-api): optimize API boundary protection (#18649)
* refactor(frozen-api): optimize API boundary protection
- Reduce from 35 protected structures to 8 key entry points
- Remove hash protection from child structures, keep FrozenAPI derives
- Preserve transitive verification chain integrity
- Add support for project-specific type aliases in validation
- Clean up unused imports and machete warnings
Entry points preserved: TableSchema, Scalar, SegmentStatistics,
TableSnapshotStatistics, SegmentInfo(v2/v4), CompactSegmentInfo, TableSnapshot
* fix: configure nextest for proc-macro crate compatibility
- Add single-threaded execution for databend-common-frozen-api in nextest
- Use serial-integration test group to avoid linking issues
- Resolve CI test failures with nextest runner
* Revert "fix: configure nextest for proc-macro crate compatibility"
This reverts commit 7613f4f.
* fix: enable rpath for nextest dynamic library linking
- Set rpath = true in test profile to fix nextest SIGABRT errors
- Allows nextest to find libstd and other dynamic libraries at runtime
- Resolves proc-macro crate testing issues in CI
* Revert "fix: enable rpath for nextest dynamic library linking"
This reverts commit 1d970a6.
* fix: add frozen_api UI test golden files and nextest compatibility
- Add .stderr golden files for trybuild error validation
- Update .gitignore to allow frozen_api test golden files
- Enable rpath=true to fix nextest dynamic library linking issues
- Ensures CI tests pass with proper error message validation1 parent 1a588ff commit 8f85a98
File tree
38 files changed
+675
-421
lines changed- src
- common/frozen_api
- src
- tests
- ui
- errors
- query
- expression/src
- storages/common/table_meta/src/meta
- v2
- v4
- tests/metactl
- subcommands
38 files changed
+675
-421
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
647 | 647 | | |
648 | 648 | | |
649 | 649 | | |
650 | | - | |
| 650 | + | |
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments