Skip to content

Add get-recently-created-directories - #589

Merged
ce10-sanger merged 4 commits into
wtsi-npg:develfrom
ce10-sanger:NPG-4205-get-recently-changed-directories
Sep 14, 2026
Merged

ce10-sanger merged 4 commits into
wtsi-npg:develfrom
ce10-sanger:NPG-4205-get-recently-changed-directories

Conversation

@ce10-sanger

@ce10-sanger ce10-sanger commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

@ce10-sanger ce10-sanger changed the title Add get-recently-changed-directories (Work in progress) Add get-recently-changed-directories Sep 8, 2026
@ce10-sanger ce10-sanger changed the title (Work in progress) Add get-recently-changed-directories (Work in progress) Add get-recently-created-directories Sep 8, 2026
See get-recently-created-directories description and epilog for context
@ce10-sanger
ce10-sanger force-pushed the NPG-4205-get-recently-changed-directories branch from 1d36f96 to cff8606 Compare September 9, 2026 15:16
@ce10-sanger ce10-sanger changed the title (Work in progress) Add get-recently-created-directories Add get-recently-created-directories Sep 9, 2026
@ce10-sanger
ce10-sanger marked this pull request as ready for review September 9, 2026 15:17

@mksanger mksanger 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.

All looks good, assuming it's been fully tested in the appropriate environment

SECOND_SUNDAY_3AM = datetime(2024, 1, 14, 3, 0, 0, tzinfo=UTC)


class FakeFilesystem:

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.

A mock is never 100% equivalent, have you run some tests without this on the actual filesystem? Or at least checked all the same cases manually, there?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yep important point :)

(apologies forgot to include what manual testing I'd been doing)

I've been manually testing this within an integration solution for xenium publishing (some parts not yet ready for review) including cases where files modified some time after initial creation

Comment thread tests/test_get_recently_created_directories.py Outdated
@ce10-sanger

Copy link
Copy Markdown
Contributor Author

All looks good, assuming it's been fully tested in the appropriate environment

Cheers for the review @mksanger :)

@ce10-sanger
ce10-sanger merged commit 025a86a into wtsi-npg:devel Sep 14, 2026
6 checks passed
@ce10-sanger
ce10-sanger deleted the NPG-4205-get-recently-changed-directories branch September 14, 2026 10:47
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