fix(ci): restore required main PR checks
CI / UI Checks (pull_request) Successful in 18s
CI / Rust Checks (pull_request) Successful in 58m11s
CI / Community Image Smoke (pull_request) Successful in 26m51s
CI / Frontend E2E (pull_request) Failing after 38m53s
CI / Rust Feature Validation (pull_request) Failing after 1h25m27s
CI / Required Checks (pull_request) Failing after 4s
CI / Deploy (pull_request) Skipped

This commit is contained in:
Codex (teamlead-profile) committed 2026-11-21 23:47:06 +00:00
1 parent e056e1487e
commit 824259dc7c
3 files changed
+16 -4

No files matched your search

+7 -1
View File
@@ -319,7 +319,13 @@ jobs:
run: npx playwright install --with-deps chromium run: npx playwright install --with-deps chromium
- name: Prebuild e2e services - name: Prebuild e2e services
run: cargo build -p admin-api -p mcp-server --jobs "$CARGO_BUILD_JOBS" env:
SQLX_OFFLINE: "true"
# Match playwright-stack.sh so Cargo reuses these artifacts during startup.
run: |
cargo build -p admin-api --bin crank-migrate --jobs "$CARGO_BUILD_JOBS"
cargo build -p admin-api --bin admin-api --example e2e_storage_counts --jobs "$CARGO_BUILD_JOBS"
cargo build -p mcp-server --jobs "$CARGO_BUILD_JOBS"
- name: Run Playwright e2e - name: Run Playwright e2e
working-directory: apps/ui working-directory: apps/ui
+8 -2
View File
@@ -12,7 +12,9 @@ use crank_observability::{
MetricService, MetricsConfig, ObservabilityConfig, ObservabilityLifecycle, OtlpTraceConfig, MetricService, MetricsConfig, ObservabilityConfig, ObservabilityLifecycle, OtlpTraceConfig,
RedactionLimits, SentryConfig, ServiceIdentity, bound_metric_service, RedactionLimits, SentryConfig, ServiceIdentity, bound_metric_service,
}; };
use crank_registry::{MASTER_KEY_CIPHER_CONTRACT, MasterKeyIdentityCandidate, PostgresRegistry}; use crank_registry::{
MASTER_KEY_CIPHER_CONTRACT, MasterKeyIdentityCandidate, MigrationAuthority, PostgresRegistry,
};
use crank_runtime::SecretCrypto; use crank_runtime::SecretCrypto;
use time::{OffsetDateTime, format_description::well_known::Rfc3339}; use time::{OffsetDateTime, format_description::well_known::Rfc3339};
use tower::ServiceExt; use tower::ServiceExt;
@@ -120,12 +122,16 @@ async fn real_admin_startup_runs_immediate_import_maintenance() {
String::from_utf8_lossy(&applied.stderr) String::from_utf8_lossy(&applied.stderr)
); );
let pool = sqlx::PgPool::connect(&database_url).await.unwrap(); let pool = sqlx::PgPool::connect(&database_url).await.unwrap();
let canonical_version = MigrationAuthority::sequence()
.last()
.expect("canonical migration sequence is nonempty")
.version;
assert_eq!( assert_eq!(
sqlx::query_scalar::<_, Option<i64>>("select max(version) from __crank_migrations") sqlx::query_scalar::<_, Option<i64>>("select max(version) from __crank_migrations")
.fetch_one(&pool) .fetch_one(&pool)
.await .await
.unwrap(), .unwrap(),
Some(23), Some(canonical_version),
"migration binary must install the current canonical ledger", "migration binary must install the current canonical ledger",
); );
sqlx::query( sqlx::query(
+1 -1
View File
@@ -15,7 +15,7 @@ COPY crank-community.png ./crank-community.png
RUN npm run build RUN npm run build
FROM nginx:1.30.6-alpine3.24-slim FROM nginx:1.30.7-alpine3.24-slim
RUN apk add --no-cache --upgrade \ RUN apk add --no-cache --upgrade \
'pcre2>=10.49-r0' \ 'pcre2>=10.49-r0' \