Split manifest storage by version to prevent 20MB+ single files#696
Split manifest storage by version to prevent 20MB+ single files#696Copilot wants to merge 8 commits into
Conversation
Co-authored-by: MiguelRodo <23501332+MiguelRodo@users.noreply.github.com>
Co-authored-by: MiguelRodo <23501332+MiguelRodo@users.noreply.github.com>
Co-authored-by: MiguelRodo <23501332+MiguelRodo@users.noreply.github.com>
|
@codex review |
|
To use Codex here, create a Codex account and connect to github. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| # Read all split manifest files | ||
| manifest_split <- .manifest_split_read_all() | ||
| if (nrow(manifest_split) > 0) { |
There was a problem hiding this comment.
Merge split manifests with consolidated history
When _projr/manifest/ exists, .manifest_read_project() returns the split manifests immediately (lines 152-154) and only reads manifest.csv if no split rows exist. On a project that already has historical versions only in the consolidated manifest, the first post-upgrade build will create a split file for the new version and all older versions disappear from manifest queries because the consolidated data is never merged once the split directory is present.
Useful? React with 👍 / 👎.
|
@copilot P1 Badge Merge split manifests with consolidated history When _projr/manifest/ exists, .manifest_read_project() returns the split manifests immediately (lines 152-154) and only reads manifest.csv if no split rows exist. On a project that already has historical versions only in the consolidated manifest, the first post-upgrade build will create a split file for the new version and all older versions disappear from manifest queries because the consolidated data is never merged once the split directory is present. Useful? React with 👍 / 👎. |
Previously, .manifest_read_project() would return only split manifests once the split directory existed, losing all historical versions from manifest.csv during the first post-upgrade build. Now merges both sources to preserve historical data during migration period. Fixes comment 3546728155 Co-authored-by: MiguelRodo <23501332+MiguelRodo@users.noreply.github.com>
Fixed in commit 6a7d98b. The function now merges split manifests with consolidated manifest.csv to preserve all historical versions during migration. Old projects upgrading will see their historical data retained as new split files are created with each build. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
MiguelRodo
left a comment
There was a problem hiding this comment.
@copilot merge in latest changes from main
…fest-csv # Conflicts: # R/build-manifest.R # R/manifest.R
Merged latest changes from main in commit 53410b7. Resolved conflicts in R/manifest.R and R/build-manifest.R by:
|
MiguelRodo
left a comment
There was a problem hiding this comment.
@copilot merge in still more recent changes from main branch and check that ALL (not just LITE or CRAN or manifest specific) tests pass
Merged latest changes from main in commit a3bb078. Full test suite results (ALL tests, not LITE/CRAN):
All manifest functionality verified:
The 3 failures are pre-existing issues in other parts of the codebase, not introduced by this PR. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
MiguelRodo
left a comment
There was a problem hiding this comment.
@copilot have another think through this, does it work well, when wil it break?
|
@copilot merge in latest changes from main |
…fest-csv # Conflicts: # NAMESPACE
Summary: Split Manifest Files by Version
This PR solves the issue where
manifest.csvcan grow to 20MB+ with many builds by implementing a split manifest system.Current Status
The Solution
Split Manifest System:
_projr/manifest/v{version}.csv_projr/manifest/directorymanifest.csvmaintained for backward compatibilityKnown Design Trade-offs (identified in code review)
manifest_partsfiltering assumes pre/post/previous orderingOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.