mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-04 16:37:46 +08:00
fix(ci): stabilize cross-platform workflow checks
This commit is contained in:
@@ -2133,7 +2133,7 @@ fn admin_provider_oauth_dispatch_batch_mod_stays_thin() {
|
||||
"pub(super) fn apply_admin_provider_oauth_batch_import_hints(",
|
||||
"pub(super) async fn extract_admin_provider_oauth_batch_error_detail(",
|
||||
"pub(super) fn build_admin_provider_oauth_batch_import_response(",
|
||||
"pub(super) fn build_admin_provider_oauth_batch_task_state(",
|
||||
"pub(in super::super) fn build_admin_provider_oauth_batch_task_state(",
|
||||
] {
|
||||
assert!(
|
||||
batch_parse.contains(pattern),
|
||||
|
||||
@@ -4994,6 +4994,8 @@ fn retired_api_format_occurrences_are_whitelisted() {
|
||||
"crates/aether-data/runtime/src/lifecycle/migrate/tests.rs",
|
||||
"crates/aether-usage/runtime/src/report.rs",
|
||||
"frontend/src/api/endpoints/types/__tests__/api-format.spec.ts",
|
||||
"frontend/src/views/admin/module-management/modelDirectivesConfig.ts",
|
||||
"frontend/src/views/admin/module-management/__tests__/modelDirectivesConfig.spec.ts",
|
||||
];
|
||||
let allowed = allowed_paths
|
||||
.into_iter()
|
||||
|
||||
@@ -1750,7 +1750,8 @@ fn usage_repositories_are_owned_by_contracts_and_driver_adapters() {
|
||||
}
|
||||
let mysql_facade =
|
||||
read_workspace_file("crates/aether-data/runtime/src/repository/usage/mysql.rs");
|
||||
assert!(mysql_facade.contains("aether_data_mysql::MysqlUsageStorage"));
|
||||
assert!(mysql_facade.contains("use aether_data_mysql::"));
|
||||
assert!(mysql_facade.contains("MysqlUsageStorage"));
|
||||
for forbidden in ["sqlx::query", "FROM `usage`", "INSERT INTO `usage`"] {
|
||||
assert!(
|
||||
!mysql_facade.contains(forbidden),
|
||||
|
||||
@@ -332,7 +332,8 @@ fn testkit_gateway_harness_is_opt_in() {
|
||||
"aether-gateway = { workspace = true, features = [\"testkit\"], optional = true }"
|
||||
));
|
||||
|
||||
let testkit_lib = read_workspace_file("crates/aether-testing/testkit/src/lib.rs");
|
||||
let testkit_lib =
|
||||
read_workspace_file("crates/aether-testing/testkit/src/lib.rs").replace("\r\n", "\n");
|
||||
for module in ["execution_runtime", "gateway", "tunnel"] {
|
||||
assert!(
|
||||
testkit_lib.contains(&format!("#[cfg(feature = \"gateway\")]\nmod {module};")),
|
||||
|
||||
Reference in New Issue
Block a user