Skip to content

feat: only run expectations if today matches scheduled day#553

Merged
tombrooks248 merged 2 commits into
mainfrom
feat/only-run-expectations-if-today-matches-schedule
May 19, 2026
Merged

feat: only run expectations if today matches scheduled day#553
tombrooks248 merged 2 commits into
mainfrom
feat/only-run-expectations-if-today-matches-schedule

Conversation

@tombrooks248
Copy link
Copy Markdown
Contributor

@tombrooks248 tombrooks248 commented May 19, 2026

Description

Configure expectations rule generation so that it can skip a rule if that rule has a schedule set and today is not the day of the week set in the schedule.

Why

Tree and Tree Preservation Order when they run duplicate_geometry_check take a long time slowing down the pipelines this change will enable us to only run those checks on saturdays when it doesnt matter if the pipelines take a bit longer.

Related Tickets & Documents

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

I have also run a full run through of ancient-woodland locally and it seems to run as expected.

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

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

@tombrooks248 tombrooks248 force-pushed the feat/only-run-expectations-if-today-matches-schedule branch from dfa8ae7 to 3714ced Compare May 19, 2026 11:50
Copy link
Copy Markdown
Contributor

@salabi salabi left a comment

Choose a reason for hiding this comment

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

LGTM

@tombrooks248 tombrooks248 merged commit 5994a81 into main May 19, 2026
5 checks passed
@tombrooks248 tombrooks248 deleted the feat/only-run-expectations-if-today-matches-schedule branch May 19, 2026 15:09
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