Граф коммитов

32 Коммитов

Автор SHA1 Сообщение Дата
Daniel Smith 85faf4a48f
Add setting for automated OT creation flag (#4122)
* Add setting for automated OT creation toggle

* Update cron.yaml

* add/change tests
2024-07-17 15:14:50 -07:00
Daniel Smith 877b6e193b
Origin trial activation cron job (#3869)
* add new field "ot_activation_date"

* add to StageDict

* make ot_activation_date optional on stagedict

* ot_activation_date not required

* initial creation cron job setup

* creation cron job outline

* Add testing

* update tests

* Make cron job unavailable for now

* Add TODO

* email name fix

* test teardown fix

* Update docstring

* Use IN keyword

* create ot activation cron job

* Use IN keyword
2024-05-15 20:02:48 -07:00
Daniel Smith ba64d25c53
Origin trial creation cron job (#3861)
* add new field "ot_activation_date"

* add to StageDict

* make ot_activation_date optional on stagedict

* ot_activation_date not required

* initial creation cron job setup

* creation cron job outline

* Add testing

* update tests

* Make cron job unavailable for now

* Add TODO

* email name fix

* test teardown fix

* Update docstring

* Use IN keyword
2024-05-15 19:43:30 -07:00
Daniel Smith 82eab3fa5f
Migrate OT Process reminders to Chromestatus (#3835)
* migrate OT process reminder emails

* add OT process reminders cron job

* Add testing for each email

* add test param

* more tests

* fix date format

* changes suggested by @jrobbins

* simplify get_trials function

* fix test
2024-05-09 12:52:02 -07:00
Jason Robbins 99e7b3bd55
Notify reviewers of overdue reviews (#3560)
* Progress

* fixes and template

* Added tests
2023-12-26 15:30:05 -08:00
Daniel Smith eac7b3de0f
Update cron description (#3323)
* Update cron.yaml

* Update cron.yaml
2023-09-12 12:54:34 -07:00
Daniel Smith 855878da1a
Revert "temporarily remove OT cron" (#3322)
This reverts commit 5da4d251a9.
2023-09-12 11:50:44 -07:00
Daniel Smith 8dec4a3845
temporarily remove OT cron (#3294) 2023-08-31 16:43:50 -07:00
Daniel Smith 1cdae06804
Script to associate origin trials with existing stages (#3286)
* Create script to associate trials with stages

* Update test

* move to cron job

* comments and cleanup

* changes suggested by @jrobbins
2023-08-30 11:23:03 -07:00
Ping 08619bbe2a
Cron job to update all feature links (#3235)
* Add cron job to update feature links

* Add unit test

* Add ndb projection index

* Rename params

* Fix code style
2023-08-10 00:08:47 +08:00
Daniel Smith df1059f044
Remove standard maturity backfill script (#2477)
* Remove standard maturity backfill script

* remove from cron.yaml
2022-11-15 11:17:11 -08:00
Daniel Smith 583cff4df5
Move schema migration cron jobs to different url (#2403)
* Move schema migration cron jobs to different url

* remove test line
2022-10-26 14:01:28 -07:00
Daniel Smith 6bcc97ea9d
Migrate votes and set Gate state separately (#2374)
This change is to handle the timeout issues for the schema migration script.

It includes:
- Separating Vote migration into a separate script.
- Evaluating Gate state in a separate script.
- Removing convoluted entity count tracking from main script.
2022-10-24 16:54:05 -07:00
Daniel Smith 7dc0dc12a0
Move most entities to single migration script (#2325)
* Move most entities to single migration

* comma typo

* Move additional entity writes into special handler
2022-10-13 09:09:53 +02:00
Daniel Smith c422b05881
Migrate Approval entities to Vote entities (#2279)
* migrate approvals to votes

* cron boilerplate

* refactor using generic function
2022-10-03 10:54:32 -07:00
Daniel Smith 2eab43d7af
Migrate Feature entities to FeatureEntry entities (#2275)
* migrate Feature entities to FeatureEntry entities

* fix test

* Handle cc_recipients and comments fields

* Check for already migrated features efficiently

* typo

* remove square brackets from comprehension

* remove spaces

* comments on renaming

* refactor for generic function use
2022-10-03 10:10:15 -07:00
Jason Robbins 84cbd9016a
Refactored reminders and added prepublication notice. (#2262)
* Refactored reminders and added prepublication notice.

* Added links to references

* Improved tests

* Update internals/reminders.py

Co-authored-by: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com>

* Updated comment

Co-authored-by: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com>
2022-09-23 10:23:55 -07:00
Daniel Smith a49ef32b30
Handle inactive users (#2243)
* handle inactive users

Notify inactive users at 6 months and remove inactive users at 9 months

* Changes suggested by @jrobbins

* update comment
2022-09-15 13:43:22 -07:00
Daniel Smith 43cf1ef933
migrate Comment entities to Activity entities (#2244) 2022-09-15 12:55:48 -07:00
Daniel Smith 5f584d30f3
Populate standard_maturity field with deprecated standardization field (#2195)
* create standard_maturity backfill cron

* new line

* Update cron.yaml
2022-09-05 09:08:07 -07:00
Jason Robbins 547e77515a
Delete write_creator because it is done. (#2134) 2022-08-16 10:16:18 -07:00
Daniel Smith 8625cf3c61
Send reminders to verify accuracy of data before important milestones (#2078)
* accuracy notifications cron job

* send emails in staging environment

* Update templates/accuracy_notice_email.html

Co-authored-by: Joe Medley <jmedley@google.com>

* changes suggested by @jrobbins

* remove unnecessary type conversion

* typo fix

Co-authored-by: Joe Medley <jmedley@google.com>
2022-08-08 11:33:18 -04:00
Daniel Smith 8ee81f5d82
Create new creator field for features (#2034)
* add creator field

* cron job to add creator field

* changes suggested by @jrobbins

* add logging
2022-07-20 09:43:19 -07:00
Daniel Smith 8e42e5ca0c
Create scheduled DataStore backups. (#2021)
* create cron job to back up data

* use settings.py for referencing bucket names
2022-07-14 17:04:45 -07:00
Jason Robbins 9cbc5345de Make metrics fetch more robust and debuggable. 2021-01-20 19:21:14 -05:00
Jason Robbins ac06abd4e8
Work-around inability to check stackrank expected cache chunks. (#1063)
* Work-around inability to check stackrank expected cache chunks.

* Batch-get datapoints to improve memcache miss performance
2020-10-09 14:47:34 -07:00
jrobbins f76f8cc59a
Work around GAE deadline for feature popularity
This request was never succeeding because it was taking longer than GAE's 60s deadline.

There is no deadline when it is run as a cron, which allows it to succeed and put data into memcache for user requests to access.

This change has already been deployed for about a week.
2019-10-28 13:09:38 -07:00
Eric Bidelman 6740ab38f8 Fix cron description 2017-06-30 16:04:31 -07:00
Eric Bidelman 97ba7e5b10 Add cron job to update list of blink components 2017-06-30 16:04:31 -07:00
Eric Bidelman bbd3c98fbf Run job at night 2016-03-11 14:27:49 -08:00
Francois Beaufort 03dd210818 Added cron job to fetch chromium histograms 2015-02-10 18:31:50 +01:00
Eric Bidelman 83e1f51459 Initial commit of uma stuff 2013-04-12 10:19:21 -07:00