Skip to content

Conversation

@jirhiker
Copy link
Member

Why

This PR addresses the following problem / context:

  • Use bullet points here

How

Implementation summary - the following was changed / added / removed:

  • Use bullet points here

Notes

Any special considerations, workarounds, or follow-up work to note?

  • Use bullet points here

Copilot AI review requested due to automatic review settings January 23, 2026 21:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds support for transferring field parameters data by introducing a new FieldParametersTransferer class and integrating it into the existing transfer pipeline with associated metrics tracking.

Changes:

  • Added transfer_field_parameters configuration option with environment variable support
  • Integrated field parameters transfer into both parallel and sequential transfer execution paths
  • Added metrics handling for field parameters and NMA stratigraphy data
  • Renamed "Stratigraphy" to "StratigraphyLegacy" for clarity in parallel transfer execution

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
transfers/transfer.py Added field parameters transfer configuration, import, and execution in both parallel and sequential paths; renamed stratigraphy label
transfers/metrics.py Added metrics methods for field parameters and NMA stratigraphy with appropriate model imports

@jirhiker jirhiker requested a review from chasetmartin January 23, 2026 21:50
@jirhiker jirhiker marked this pull request as draft January 23, 2026 22:22
@jirhiker jirhiker marked this pull request as ready for review January 23, 2026 23:01
Copilot AI review requested due to automatic review settings January 23, 2026 23:01
Copy link
Contributor

Copilot AI left a 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 46 out of 46 changed files in this pull request and generated 8 comments.

Comment on lines 9 to 11
from typing import Sequence, Union

from alembic import op
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

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

The migration file has removed imports for geoalchemy2, sqlalchemy, and sqlalchemy_utils. If these imports were removed because they're unused, this is good. However, verify that the migration still functions correctly without these dependencies.

Copilot uses AI. Check for mistakes.
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 129668e75b

ℹ️ 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".

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings January 23, 2026 23:47
Copy link
Contributor

Copilot AI left a 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 46 out of 46 changed files in this pull request and generated 3 comments.

future = executor.submit(
_execute_transfer_with_timing,
"Stratigraphy",
"StratigraphyLegacy",
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

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

The display name "StratigraphyLegacy" is inconsistent with the actual transferer class name StratigraphyLegacyTransferer and doesn't match the pattern used elsewhere (e.g., "WaterLevelsPressureDaily" for NMA_WaterLevelsContinuous_Pressure_DailyTransferer). Consider using a name that better reflects the model being transferred, such as "NMA_Stratigraphy" to maintain consistency with other legacy table names.

Copilot uses AI. Check for mistakes.
Copy link
Collaborator

@chasetmartin chasetmartin left a comment

Choose a reason for hiding this comment

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

tests are passing now with a couple name fixes

@chasetmartin chasetmartin merged commit 74f129f into staging Jan 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants