Skip to content
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

Automation Rules: keep history of recent matches #7658

Merged
merged 7 commits into from Dec 7, 2020

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Nov 10, 2020

I did a basic template change for this element, I'm not sure if we should wait for the new templates first or just ship this simple version first or make more changes.

Only the latest 15 matches per project are saved.

Screenshot_2020-11-10 Automation Rules Read the Docs

Screenshot_2020-11-10 Automation Rules Read the Docs(3)

Also, I think I figured out why the tests are slow, trigger_build wasn't mocked in the other tests, so it was hitting the api till it times out, probably I'll add that change in another PR so is merged faster.

Ref #7653
Close #6393

@humitos
Copy link
Member

humitos commented Nov 11, 2020

Also, I think I figured out why the tests are slow, trigger_build wasn't mocked in the other tests, so it was hitting the api till it times out, probably I'll add that change in another PR so is merged faster.

It would be amazing to have it merged soon! 🎉

readthedocs/builds/managers.py Show resolved Hide resolved
readthedocs/builds/models.py Outdated Show resolved Hide resolved
readthedocs/builds/models.py Show resolved Hide resolved
readthedocs/builds/models.py Outdated Show resolved Hide resolved
Copy link
Member

@humitos humitos left a comment

Choose a reason for hiding this comment

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

Looks good to me!

I'm pinging @agjohnson here to decide if we can merge this now and then adapt the templates in the new theme. Otherwise, how we should handle this?

@agjohnson
Copy link
Contributor

Yeah, looks like a good addition! Thanks for the ping, I've noted on the new theme project to return to this PR. If anyone is merging any work that touches templates or JS, be sure to ping me so that we can track the addition in the new theme.

@stsewd stsewd merged commit 9461768 into master Dec 7, 2020
3 checks passed
@stsewd stsewd deleted the keep-history-matched-version branch December 7, 2020 19:20
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.

Keep history of matching versions and actions for automation rules
3 participants