diff --git a/devops/compose/docker-compose.stella-ops.yml b/devops/compose/docker-compose.stella-ops.yml index f5337be0e..0c887247a 100644 --- a/devops/compose/docker-compose.stella-ops.yml +++ b/devops/compose/docker-compose.stella-ops.yml @@ -1119,6 +1119,7 @@ services: stellaops: aliases: - jobengine.stella-ops.local + - orchestrator.stella-ops.local frontdoor: {} healthcheck: test: ["CMD-SHELL", "bash -c 'echo > /dev/tcp/$(hostname)/80'"] diff --git a/docs/implplan/SPRINT_20260306_001_Web_contextual_search_suggestions.md b/docs/implplan/SPRINT_20260306_001_Web_contextual_search_suggestions.md index bc4910b77..a7a8c71e7 100644 --- a/docs/implplan/SPRINT_20260306_001_Web_contextual_search_suggestions.md +++ b/docs/implplan/SPRINT_20260306_001_Web_contextual_search_suggestions.md @@ -149,12 +149,16 @@ Completion criteria: | 2026-03-06 | Added typed chip-context registry contract (`search-context.registry.ts`) and shifted suggestion selection to route-context arrays + bounded last-few-action prioritization + deterministic rotation. | Developer (FE) | | 2026-03-06 | Synced architecture docs for automatic page-open suggestions and ambient `lastAction` contract: `docs/modules/ui/architecture.md`, `docs/modules/advisory-ai/knowledge-search.md`, `docs/modules/advisory-ai/unified-search-architecture.md`. | Documentation author | | 2026-03-06 | Added UI governance rule for chip ownership and page-context interface in `docs/modules/ui/search-chip-context-contract.md`. | Documentation author | +| 2026-03-06 | Added exhaustive Playwright query-matrix suite (`tests/e2e/unified-search-exhaustive-matrix.e2e.spec.ts`) generating 1200 deterministic query types with end-to-end UI execution and >=99.5% success gate. | Test Automation | +| 2026-03-06 | Migrated default hostname from 127.1.0.1 to stella-ops.local across envsettings-override, proxy.conf, playwright config, perf fixtures, README, and smoke scripts. | Developer (FE) | +| 2026-03-06 | QA iteration: 23/23 sprint unit tests pass (ambient-context 6, global-search 11, chat-message 6). Live behavioral verification via Playwright confirms contextual placeholders and suggestion chips adapt per page (dashboard/triage/policy/scanning). OIDC login flow works end-to-end at stella-ops.local. | QA | ## Decisions & Risks - Decision needed: whether route context should remain a hard domain filter in FE (`buildContextFilter`) or become a soft ranking hint only via ambient payload. - Decision needed: final schema for `lastAction` ambient metadata and retention policy in FE memory/session scope. - Decision: FE emits `ambient.lastAction` now as a forward-compatible field; current backend deployments may ignore it without regressing behavior. - Decision: chip definitions are now governed by typed context arrays (`SEARCH_CONTEXT_DEFINITIONS`) and an explicit page-level interface contract (`SearchContextComponent`) instead of ad-hoc route conditionals. +- Decision: exhaustive >1000 query E2E coverage uses a deterministic matrix (1200 queries) with a reliability threshold (`>=99.5%`) to avoid false-red from occasional debounce drop events while still failing on meaningful regressions. - Docs updated: `docs/modules/ui/architecture.md`, `docs/modules/ui/search-chip-context-contract.md`, `docs/modules/advisory-ai/knowledge-search.md`, `docs/modules/advisory-ai/unified-search-architecture.md`. - Risk: stale action context may bias suggestions toward irrelevant domains. - Mitigation: TTL + bounded history + explicit reset on session boundaries. diff --git a/src/Web/StellaOps.Web/src/app/core/api/approval.client.ts b/src/Web/StellaOps.Web/src/app/core/api/approval.client.ts index d27662d7d..5ba63ff75 100644 --- a/src/Web/StellaOps.Web/src/app/core/api/approval.client.ts +++ b/src/Web/StellaOps.Web/src/app/core/api/approval.client.ts @@ -34,7 +34,7 @@ export class ApprovalHttpClient implements ApprovalApi { private readonly http = inject(HttpClient); private readonly queueBaseUrl = '/api/v2/releases/approvals'; private readonly detailBaseUrl = '/api/v1/approvals'; - private readonly legacyBaseUrl = '/api/release-orchestrator/approvals'; + private readonly legacyBaseUrl = '/api/v1/release-orchestrator/approvals'; listApprovals(filter?: ApprovalFilter): Observable { if (filter?.urgencies?.length || (filter?.statuses?.length ?? 0) > 1) { @@ -63,20 +63,20 @@ export class ApprovalHttpClient implements ApprovalApi { getPromotionPreview(releaseId: string, targetEnvironmentId: string): Observable { return this.http.get( - `/api/release-orchestrator/releases/${releaseId}/promotion-preview`, + `/api/v1/release-orchestrator/releases/${releaseId}/promotion-preview`, { params: { targetEnvironmentId } } ); } getAvailableEnvironments(releaseId: string): Observable { return this.http.get( - `/api/release-orchestrator/releases/${releaseId}/available-environments` + `/api/v1/release-orchestrator/releases/${releaseId}/available-environments` ); } submitPromotionRequest(releaseId: string, request: PromotionRequestDto): Observable { return this.http.post( - `/api/release-orchestrator/releases/${releaseId}/promote`, + `/api/v1/release-orchestrator/releases/${releaseId}/promote`, request ); }