Skip to content

[WIP] Add binary repair photometry ordering#479

Open
antoine-le-calloch wants to merge 5 commits into
mainfrom
add_binary_repair_photometry_ordering
Open

[WIP] Add binary repair photometry ordering#479
antoine-le-calloch wants to merge 5 commits into
mainfrom
add_binary_repair_photometry_ordering

Conversation

@antoine-le-calloch

Copy link
Copy Markdown
Contributor

No description provided.

@antoine-le-calloch antoine-le-calloch self-assigned this May 18, 2026
Copilot AI review requested due to automatic review settings May 18, 2026 13:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a maintenance binary to scan survey aux collections and repair photometry time-series arrays so they are ordered and deduplicated by jd.

Changes:

  • Adds repair_photometry_ordering binary with survey selection, batching, partitioned scanning, dry-run mode, and bulk update repair logic.
  • Adds shared CLI parsing/progress-bar helpers.
  • Includes the new binary in container images.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/bin/repair_photometry_ordering.rs Implements the photometry ordering repair tool.
src/utils/parser.rs Adds a positive usize parser for CLI arguments.
src/utils/mod.rs Exposes the parser utility module.
src/utils/data.rs Adds a shared progress-bar helper.
Dockerfile Copies the repair binary into the app image.
Dockerfile.gpu Builds and copies the repair binary into the GPU image.
Cargo.toml Adds a new dependency.
Cargo.lock Locks the new dependency and transitive packages.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +406 to +408
Err(e) => {
error!("partition join failed: {}", e);
}
Comment thread Cargo.toml
apache-avro = { version = "0.21.0", features = ["snappy", "derive"] }
apache-avro-derive = "0.21.0"
apache-avro-macros = { version = "1", path = "apache-avro-macros" }
async-channel = "2.5.0"
@antoine-le-calloch antoine-le-calloch moved this to In Progress in BOOM Dev May 18, 2026
@antoine-le-calloch antoine-le-calloch changed the title Add binary repair photometry ordering [WIP] Add binary repair photometry ordering May 18, 2026
@github-actions

Copy link
Copy Markdown

Throughput results (94be8a153e96ff5017aff75b4417e9e8103d40bb):

Storage New wall time Baseline wall time Difference
mongo 259.9 245.8 5.00%
s3 290.6 271.6 6.00%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants