mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-01 21:02:12 +03:00
chore(quality): fix release-tip base-reds — providerTierField case collision + stryker 7806 registration
(1) #7838 added providerTierField.ts next to ProviderTierField.tsx in the same directory — a case-only collision that breaks webpack on case-insensitive filesystems; the #6584 guard fails Unit shard 4/4 on every fresh PR run. Rename the helper to providerTierFieldApi.ts (import + test path adjusted). (2) check:mutation-test-coverage --strict fails on the tip because merged #7806's combo-skip-conn-disable-plugin-block test was never registered in stryker tap.testFiles. Register it.
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
- **chore(quality):** fix two release-tip base-reds blocking every fresh PR run: rename `providerTierField.ts` → `providerTierFieldApi.ts` (case-only filename collision with `ProviderTierField.tsx` from #7838 — breaks webpack on case-insensitive filesystems, caught by the #6584 guard) and register `combo-skip-conn-disable-plugin-block-7806.test.ts` (from merged #7806) in stryker `tap.testFiles`.
|
||||||
@@ -4,7 +4,7 @@ import { useEffect, useState } from "react";
|
|||||||
import { useTranslations } from "next-intl";
|
import { useTranslations } from "next-intl";
|
||||||
import { Select } from "@/shared/components";
|
import { Select } from "@/shared/components";
|
||||||
import type { ProviderTier } from "@omniroute/open-sse/services/tierTypes";
|
import type { ProviderTier } from "@omniroute/open-sse/services/tierTypes";
|
||||||
import { fetchProviderTierOverride, saveProviderTierOverride } from "./providerTierField";
|
import { fetchProviderTierOverride, saveProviderTierOverride } from "./providerTierFieldApi";
|
||||||
|
|
||||||
export interface ProviderTierFieldProps {
|
export interface ProviderTierFieldProps {
|
||||||
/** Provider connection id string — the same key `classifyTier()` matches on. */
|
/** Provider connection id string — the same key `classifyTier()` matches on. */
|
||||||
|
|||||||
@@ -154,6 +154,7 @@
|
|||||||
"tests/unit/combo-scoring-inspector.test.ts",
|
"tests/unit/combo-scoring-inspector.test.ts",
|
||||||
"tests/unit/combo-selected-connection-success.test.ts",
|
"tests/unit/combo-selected-connection-success.test.ts",
|
||||||
"tests/unit/combo-sessionless-pin-3825.test.ts",
|
"tests/unit/combo-sessionless-pin-3825.test.ts",
|
||||||
|
"tests/unit/combo-skip-conn-disable-plugin-block-7806.test.ts",
|
||||||
"tests/unit/combo-speed-telemetry-6875.test.ts",
|
"tests/unit/combo-speed-telemetry-6875.test.ts",
|
||||||
"tests/unit/combo-strategies.test.ts",
|
"tests/unit/combo-strategies.test.ts",
|
||||||
"tests/unit/combo-strategy-fallbacks.test.ts",
|
"tests/unit/combo-strategy-fallbacks.test.ts",
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import test from "node:test";
|
|||||||
import assert from "node:assert/strict";
|
import assert from "node:assert/strict";
|
||||||
|
|
||||||
const { normalizeTierValue, fetchProviderTierOverride, saveProviderTierOverride } = await import(
|
const { normalizeTierValue, fetchProviderTierOverride, saveProviderTierOverride } = await import(
|
||||||
"../../src/app/(dashboard)/dashboard/providers/[id]/components/modals/providerTierField.ts"
|
"../../src/app/(dashboard)/dashboard/providers/[id]/components/modals/providerTierFieldApi.ts"
|
||||||
);
|
);
|
||||||
|
|
||||||
type FetchCall = { url: string; init?: RequestInit };
|
type FetchCall = { url: string; init?: RequestInit };
|
||||||
|
|||||||
Reference in New Issue
Block a user