Skip to content

adds incremental override and resource folder to state.json#358

Merged
CarlosCoelhoSL merged 4 commits intomainfrom
add-incremental-loading-override-to-state-json
Mar 5, 2025
Merged

adds incremental override and resource folder to state.json#358
CarlosCoelhoSL merged 4 commits intomainfrom
add-incremental-loading-override-to-state-json

Conversation

@CarlosCoelhoSL
Copy link
Copy Markdown
Contributor

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

Please replace this line with a brief description of the changes made.

Related Tickets & Documents

  • Ticket Link
  • Related Issue #
  • Closes #

QA Instructions, Screenshots, Recordings

Please replace this line with instructions on how to test your changes, a note
on the devices and browsers this has been tested on, as well as any relevant
images for UI changes.

Added/updated tests?

We encourage you to keep the code coverage percentage at 80% and above. Please refer to the Digital Land Testing Guidance for more information.

  • Yes
  • No, and this is why: please replace this line with details on why tests
    have not been included
  • I need help with writing tests

[optional] Are there any post deployment tasks we need to perform?

[optional] Are there any dependencies on other PRs or Work?

Comment thread digital_land/commands.py Outdated
compare.pop("incremental_override")

if current == compare:
# if current override = false and compare override = true we need to update state.json on s3 but we don't need to process everything
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.

Aren't we updating the state.json file here? If incremental_override changes from 'True' to 'False' (and everything else stays the same) we would also need the state.json file to incorporate this too.

Copy link
Copy Markdown
Contributor

@alexglasertpx alexglasertpx left a comment

Choose a reason for hiding this comment

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

Still not sure we've resolved the issue of when incremental_override is 'True' one day, then the next day it is 'False' and everything else stays the same.

@CarlosCoelhoSL CarlosCoelhoSL marked this pull request as ready for review March 5, 2025 16:08
@CarlosCoelhoSL CarlosCoelhoSL merged commit 122b3fb into main Mar 5, 2025
3 checks passed
@CarlosCoelhoSL CarlosCoelhoSL deleted the add-incremental-loading-override-to-state-json branch March 5, 2025 16:35
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.

2 participants