Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe("GithubStatsChip", () => {

// The fallback should have been called with the direct GitHub repos endpoint
expect(vi.mocked(fetch)).toHaveBeenCalledWith(
"https://github.com/ghapi/repos/jsonbored/gittensory",
"https://github.com/ghapi/repos/jsonbored/loopover",
expect.objectContaining({ headers: { accept: "application/vnd.github+json" } }),
);
});
Expand Down
6 changes: 3 additions & 3 deletions apps/loopover-ui/src/components/site/github-stats-chip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { cn } from "@/lib/utils";
import { getApiOrigin } from "@/lib/api/origin";
import { apiFetch, notifyApiFailure, notifyApiRecovered } from "@/lib/api/request";

const REPO = "jsonbored/gittensory";
const CACHE_KEY = "gh-stats-jsonbored-gittensory";
const REPO = "jsonbored/loopover";
const CACHE_KEY = "gh-stats-jsonbored-loopover";
const CACHE_TTL = 1000 * 60 * 10; // 10 min

type RepoStats = { stargazers_count: number; forks_count: number };
Expand Down Expand Up @@ -42,7 +42,7 @@ function writeCache(stats: RepoStats) {

async function fetchRepo(): Promise<RepoStats> {
const result = await apiFetch<{ stargazers_count?: number; forks_count?: number }>(
`${getApiOrigin()}/v1/public/github/repos/jsonbored/gittensory/stats`,
`${getApiOrigin()}/v1/public/github/repos/jsonbored/loopover/stats`,
{
label: "GitHub stats",
timeoutMs: 6000,
Expand Down
6 changes: 3 additions & 3 deletions worker-configuration.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable */
// Generated by Wrangler by running `wrangler types` (hash: d411e8ee26c7cd1c187a4a1cd446d65e)
// Generated by Wrangler by running `wrangler types` (hash: c499f8db790cb34ddd16f4c494cc34dd)
// Runtime types generated with workerd@1.20260701.1 2026-05-28 nodejs_compat
interface __BaseEnv_Env {
REVIEW_AUDIT: R2Bucket;
Expand All @@ -13,7 +13,7 @@ interface __BaseEnv_Env {
GITTENSOR_REGISTRY_URL: "https://github.com/ghraw/entrius/gittensor/test/gittensor/validator/weights/master_repositories.json";
SCORING_TIME_DECAY_ENABLED: "true";
LOOPOVER_AUTO_FILE_DRIFT_ISSUES: "false";
LOOPOVER_DRIFT_ISSUE_REPO: "JSONbored/gittensory";
LOOPOVER_DRIFT_ISSUE_REPO: "JSONbored/loopover";
PUBLIC_API_ORIGIN: "https://api.loopover.ai";
PUBLIC_SITE_ORIGIN: "https://loopover.ai";
ADMIN_GITHUB_LOGINS: "JSONbored";
Expand Down Expand Up @@ -43,7 +43,7 @@ interface __BaseEnv_Env {
LOOPOVER_REVIEW_REPOS: "";
LOOPOVER_PUBLIC_STATS: "true";
LOOPOVER_PUBLIC_STATS_REPOS: "JSONbored/gittensory,JSONbored/awesome-claude,JSONbored/metagraphed";
PUBLIC_REPO_STATS_ALLOWLIST: "JSONbored/gittensory";
PUBLIC_REPO_STATS_ALLOWLIST: "JSONbored/loopover";
LOOPOVER_DUPLICATE_WINNER: "true";
LOOPOVER_OPEN_PR_FILE_COLLISION: "true";
LOOPOVER_SKIP_AUTOMATION_BOT_PRS: "true";
Expand Down
4 changes: 2 additions & 2 deletions wrangler.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
// unaffected (decay 1.0); only aged-PR projections decay. Owner-reviewed; this is the go-live switch.
"SCORING_TIME_DECAY_ENABLED": "true",
"LOOPOVER_AUTO_FILE_DRIFT_ISSUES": "false",
"LOOPOVER_DRIFT_ISSUE_REPO": "JSONbored/gittensory",
"LOOPOVER_DRIFT_ISSUE_REPO": "JSONbored/loopover",
// LoopOver rebrand (issue #4765): full cutover, loopover.ai only. gittensory.aethereal.dev is retired
// as a production origin -- no longer routed to this Worker (see routes[] below) and no longer accepted
// as a PUBLIC_SITE_ORIGIN_ALIASES redirect target. normalizeReturnTo (src/auth/github-oauth.ts) already
Expand Down Expand Up @@ -203,7 +203,7 @@
"LOOPOVER_PUBLIC_STATS_REPOS": "JSONbored/gittensory,JSONbored/awesome-claude,JSONbored/metagraphed",
// Website chrome repo stats are public and proxied through the server-side GitHub token, so require
// an explicit narrow allowlist instead of letting unset config proxy arbitrary owner/repo pairs.
"PUBLIC_REPO_STATS_ALLOWLIST": "JSONbored/gittensory",
"PUBLIC_REPO_STATS_ALLOWLIST": "JSONbored/loopover",
// Duplicate-winner adjudication (#dup-winner): when a same-issue cluster of OPEN PRs forms, spare exactly
// ONE winner — the lowest-numbered (earliest opened) open PR — instead of blocking/closing every sibling.
// Only the LOSERS get the duplicate blocker + close reason + slop penalty + panel block; the winner is
Expand Down