bump limit to 100_000 versions (#731)

This commit is contained in:
Will Chen authored and GitHub committed 2025-07-29 11:03:57 -07:00
1 parent 64a7ddd364
commit c57f6e35f0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -99,7 +99,7 @@ export function ChatHeader({
};
// REMINDER: KEEP UP TO DATE WITH app_handlers.ts
const versionPostfix = versions.length === 10_000 ? `+` : "";
const versionPostfix = versions.length === 100_000 ? `+` : "";
const isNotMainBranch = branchInfo && branchInfo.branch !== "main";
+1 -1
View File
@@ -37,7 +37,7 @@ export function registerVersionHandlers() {
fs,
dir: appPath,
// KEEP UP TO DATE WITH ChatHeader.tsx
depth: 10_000, // Limit to last 10_000 commits for performance
depth: 100_000, // Limit to last 100_000 commits for performance
});
return commits.map((commit: ReadCommitResult) => ({