-
Notifications
You must be signed in to change notification settings - Fork 14
refactor: use sharded WAL #1231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
View your CI Pipeline Execution ↗ for commit 54195ec
☁️ Nx Cloud last updated this comment at |
@code-pushup/ci
@code-pushup/cli
@code-pushup/core
@code-pushup/create-cli
@code-pushup/models
@code-pushup/nx-plugin
@code-pushup/axe-plugin
@code-pushup/coverage-plugin
@code-pushup/eslint-plugin
@code-pushup/js-packages-plugin
@code-pushup/jsdocs-plugin
@code-pushup/lighthouse-plugin
@code-pushup/typescript-plugin
@code-pushup/utils
commit: |
# Conflicts: # packages/utils/docs/profiler.md # packages/utils/src/lib/profiler/constants.ts # packages/utils/src/lib/profiler/profiler.int.test.ts # packages/utils/src/lib/profiler/profiler.ts # packages/utils/src/lib/profiler/profiler.unit.test.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 49 out of 49 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@BioPhoton I've opened a new pull request, #1232, to work on those changes. Once the pull request is ready, I'll request review from you. |
|
@BioPhoton I've opened a new pull request, #1233, to work on those changes. Once the pull request is ready, I'll request review from you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 49 out of 49 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| export type RecoverResult<T> = { | ||
| /** Successfully recovered records */ | ||
| records: T[]; | ||
| records: (T | InvalidEntry)[]; | ||
| /** Errors encountered during recovery with line numbers and context */ |
Copilot
AI
Feb 2, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RecoverResult.records is typed as (T | InvalidEntry)[], but InvalidEntry is generic and the raw type is effectively string for file-backed WALs (and InvalidEntry<string> is already used elsewhere in this file). Consider changing this to (T | InvalidEntry<string>)[] (or parameterizing RecoverResult with the raw type) to avoid losing type information and to keep RecoverResult consistent with WriteAheadLogFile.recover() / WalStats.lastRecovery types.
Related:
@cursor review