Skip to content

BDMS-408: add water level csv feature#288

Merged
jirhiker merged 9 commits into
jir-cli-photofrom
cm-water-level-feature
Dec 11, 2025
Merged

BDMS-408: add water level csv feature#288
jirhiker merged 9 commits into
jir-cli-photofrom
cm-water-level-feature

Conversation

@chasetmartin

Copy link
Copy Markdown
Collaborator

Why

This PR addresses the following problem / context:

  • Water level csv file upload backend feature definition

Notes

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

  • Please provide notes or feedback.

jacob-a-brown and others added 8 commits December 9, 2025 16:48
Add the id to the asset search properties and update the
things associated with assets to correspond with the things
associated with contacts
This better captures the intent of the notes related to sampling activities.
This refactor enables all notes related to sampling procedures
to be stored under a unified "Sampling Procedure" note type.
…actor

BDMS 389: measuring notes refactor

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

Copy link
Copy Markdown

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.

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

Comment on lines +18 to +22
@positive @happy_path @BDMS-TBD
Scenario: Uploading a valid water level entry CSV containing required and optional fields
Given a valid CSV file for bulk water level entry upload
And my CSV file is encoded in UTF-8 and uses commas as separators
And my CSV file contains multiple rows of water level entry data

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Add step definitions for water-level CSV scenarios

This new feature is tagged @backend and @production and introduces steps like Given a valid CSV file for bulk water level entry upload, but there are no corresponding step implementations anywhere in tests/features/steps (rg finds none). When the CI job runs uv run behave tests/features --tags="@backend and @production" the Behave run will stop with undefined steps and return a non-zero status, failing the BDD stage before any functionality is exercised. Please add the matching step definitions or adjust the tags so the suite stays green.

Useful? React with 👍 / 👎.

@jacob-a-brown

Copy link
Copy Markdown
Contributor

Should the base branch be well-inventory-csv since that is where this is all getting implemented?

@chasetmartin chasetmartin changed the title feat: add water level csv feature BDMS-408: add water level csv feature Dec 11, 2025
@chasetmartin

Copy link
Copy Markdown
Collaborator Author

Should the base branch be well-inventory-csv since that is where this is all getting implemented?

I added the additional water level fields to the well-inventory-csv.feature in that branch. This feature is for an endpoint to add a csv of water level measurements for existing wells (not at inventory time). I can make that more clear in the feature.

@jirhiker jirhiker changed the base branch from staging to jir-cli-photo December 11, 2025 16:49
@jirhiker

Copy link
Copy Markdown
Member

@jacob-a-brown @chasetmartin I changed the base branch to jir-cli-photo because that is where the work for this will take place

@jacob-a-brown

Copy link
Copy Markdown
Contributor

should we create a new branch water-level-csv to keep all relevant work there? Like how we have well-inventory-csv. jir-cli-photo deals with using cli to upload photos. Mixing the water-level-csv with that branch will make it more difficult to track what is happening and why.

@jirhiker

jirhiker commented Dec 11, 2025

Copy link
Copy Markdown
Member

only a few branches should be so longed lived that their name matters e.g. productions, staging

@jirhiker jirhiker merged commit 2486b39 into jir-cli-photo Dec 11, 2025
5 of 6 checks passed
@jacob-a-brown

jacob-a-brown commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

the branch names may not matter, but I think mixing the work done for the cli and the water level csv will muddle the work done on both, making it harder to track what is being done and why. Keeping those two branches separate will help us understand and review new/updated features

@jirhiker

Copy link
Copy Markdown
Member

the work for the water_level_csv is related to the cli.

"This feature is for an endpoint to add a csv of water level measurements for existing wells (not at inventory time)."

@TylerAdamMartinez TylerAdamMartinez deleted the cm-water-level-feature branch February 26, 2026 18:28
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