Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Backend/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ import { eventsRouter } from "./routes/events";
import { enforcementRouter } from "./routes/enforcement";
import { autofixRouter } from "./routes/autofix";

// PR Intelligence QA (dummy): harmless marker on server bootstrap path. Mirrors “feature landed →
// reverted on main → small follow-up touch” so overlap / KG tests have a realistic diff. Delete after QA.

/** Comma-separated in CORS_ORIGIN; first entry is default for non-browser clients. */
function allowedCorsOrigins(): string[] {
const raw = process.env.CORS_ORIGIN || "http://localhost:8080,http://127.0.0.1:8080";
Expand Down
2 changes: 2 additions & 0 deletions Frontend/src/pages/Overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import {
import { useRealtimeUpdates, formatCacheEventTime } from "@/hooks/useRealtimeUpdates";
import { startGithubOAuth as oauthNav } from "@/lib/githubOAuth";

// PR Intelligence QA (dummy): overview page is a common conflict surface when re-introducing UX after a revert.

const HealthBar = ({ score, max }: { score: number; max: number }) => (
<div className="flex items-center gap-3">
<progress className="overview-health-progress h-2 w-full overflow-hidden rounded-sm" value={score} max={max} />
Expand Down