-
Notifications
You must be signed in to change notification settings - Fork 89
Autopopulate 2.0 #1244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ttngu207
wants to merge
44
commits into
datajoint:feat/autopopulate2
Choose a base branch
from
ttngu207:autopopulate-2.0
base: feat/autopopulate2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Autopopulate 2.0 #1244
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
4f01ea3
added JobsConfig
de4437c
successful prototype for key_source
8edf179
added `refresh_jobs` and `purge_invalid_jobs`
fd849bc
Merge branch 'populate_success_count' into autopopulate-2.0
8692eb4
rename function: `schedule_jobs`
f38ce9f
implement `schedule_jobs` as part of `populate()`
ef3adc2
Merge branch 'master' into autopopulate-2.1
8b9ac0f
remove JobConfigTable and register_key_source
71b0696
bugfix, add tests
c13b3e1
bugfix - remove `jobconfig`
1f3fac1
Merge branch 'master' into autopulate-2.0
ttngu207 32fbc6d
Merge branch 'master' into autopulate-2.0
ttngu207 0d9ec01
chore: minor bugfix
ttngu207 4cc170d
chore: code cleanup
ttngu207 b7e4d9b
fix: `key` attribute of type `JSON`
ttngu207 57c7247
feat: prevent excessive scheduling with `min_scheduling_interval`
ttngu207 3f5247b
chore: minor cleanup
ttngu207 45b5658
feat: improve logic to prevent excessive scheduling
ttngu207 9903e02
chore: minor bugfix
ttngu207 872c5dc
chore: tiny bugfix
ttngu207 69d8831
fix: fix scheduling logic
ttngu207 cc0f398
chore: minor logging tweak
ttngu207 2ac9fa2
fix: log run_duration in error jobs
ttngu207 db93e0a
fix: improve logic in `purge_invalid_jobs`
ttngu207 c9a5750
docs: new `jobs_orchestration.md` docs
ttngu207 28df6c2
Update jobs_orchestration.md
ttngu207 b0308e2
Update jobs_orchestration.md
ttngu207 e9f5377
feat: add `run_metadata` column to `jobs` table
ttngu207 eb90d3d
Merge branch 'datajoint:master' into autopopulate-2.0
ttngu207 e7c8943
fix: improve error handling when `make_fetch` referential integrity f…
ttngu207 e55bbcb
style: black format
ttngu207 964743e
style: format
ttngu207 53e38f7
Merge pull request #1245 from ttngu207/bugfix-three-part-make
dimitri-yatsenko 0cf1ea0
Merge remote-tracking branch 'upstream/master' into autopopulate-2.0
ttngu207 15f791c
feat: add `_job` hidden column for `Imported` `Computed` tables
ttngu207 18727e9
chore: rename `purge_valid_jobs` -> `purge_jobs`
ttngu207 efbb920
feat: insert `_job` metadata upon `make` completion
ttngu207 918cc9d
chore: minor code optimization in `purge_jobs`
ttngu207 dcfeaf5
feat: remove logging of `success` jobs in Jobs table
ttngu207 1f773fa
docs: minor updates
ttngu207 7184ce5
format: black
ttngu207 9d3a9e4
chore: remove the optional `purge_jobs` in `schedule_jobs`
ttngu207 269c4af
chore: code cleanup
ttngu207 3d7c4ea
fix: update job metadata in the make's transaction
ttngu207 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than baking this operation into populate, which makes the logic more convoluted, consider making
schedule_jobs
a separate, explicit process.