-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CI: Auto-cancel redundant builds #23523
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
CI: Auto-cancel redundant builds #23523
Conversation
I've had 3 commits
|
In theory, https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=2495&view=logs should not be built, since there are later commits on the same branch. |
Heh, this was testing azure, but I notice circleci isn't cancelling either. https://discuss.circleci.com/t/auto-cancel-redundant-builds-not-working-for-workflow/13852/33 says that workflows don't support it yet, but we don't need workflows anymore, since we only have a single build. Will make this into a real PR now :) |
I'm hoping they're canceled when the build (attempts to) start? |
Maybe? Even so, I prefer Travis' behavior of auto-detecting and cancelling before they even get a chance to start, but perhaps I'm a bit spoiled by Travis :) |
https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=2495&view=logs ran, even though we'd like it to have been auto-canceled (I manually canceled the last two). @chrispatterson do you know if azure pipelines supports auto-cancelling builds when a branch has new commits? Something similar to what's described in https://blog.travis-ci.com/2017-03-22-introducing-auto-cancellation. If not, is there a place I should go to voice support for that feature? |
@vtbassmatt do you know if there's a way to auto-cancel queued (or maybe running) builds when new commits are pushed to a PR branch? |
That should be the current behavior. (In fact, we've been asked for an explicit flag to override that behavior, which we're in the process of building.) @davidstaheli any thoughts on why Pandas PR pipelines aren't auto-canceling? |
Codecov Report
@@ Coverage Diff @@
## master #23523 +/- ##
=======================================
Coverage 92.26% 92.26%
=======================================
Files 161 161
Lines 51212 51212
=======================================
Hits 47252 47252
Misses 3960 3960
Continue to review full report at Codecov.
|
@TomAugspurger, this is a bug specific to using the Azure Pipelines GitHub App. I'm so sorry for the time it cost you! We should have a fix deployed to production tomorrow (Thursday) or Friday. |
@TomAugspurger lgtm. Pls merge if this will fix the issue. |
This will hopefully fix circle. Azure should be fixed with no config changeable. |
…fixed * upstream/master: (47 commits) CLN: remove values attribute from datetimelike EAs (pandas-dev#23603) DOC/CI: Add linting to rst files, and fix issues (pandas-dev#23381) PERF: Speeds up creation of Period, PeriodArray, with Offset freq (pandas-dev#23589) PERF: define is_all_dates to shortcut inadvertent copy when slicing an IntervalIndex (pandas-dev#23591) TST: Tests and Helpers for Datetime/Period Arrays (pandas-dev#23502) Update description of Index._values/values/ndarray_values (pandas-dev#23507) Fixes to make validate_docstrings.py not generate warnings or unwanted output (pandas-dev#23552) DOC: Added note about groupby excluding Decimal columns by default (pandas-dev#18953) ENH: Support writing timestamps with timezones with to_sql (pandas-dev#22654) CI: Auto-cancel redundant builds (pandas-dev#23523) Preserve EA dtype in DataFrame.stack (pandas-dev#23285) TST: Fix dtype mismatch on 32bit in IntervalTree get_indexer test (pandas-dev#23468) BUG: raise if invalid freq is passed (pandas-dev#23546) remove uses of (ts)?lib.(NaT|iNaT|Timestamp) (pandas-dev#23562) BUG: Fix error message for invalid HTML flavor (pandas-dev#23550) ENH: Support EAs in Series.unstack (pandas-dev#23284) DOC: Updating DataFrame.join docstring (pandas-dev#23471) TST: coverage for skipped tests in io/formats/test_to_html.py (pandas-dev#22888) BUG: Return KeyError for invalid string key (pandas-dev#23540) BUG: DatetimeIndex slicing with boolean Index raises TypeError (pandas-dev#22852) ...
@davidstaheli just in case you're not aware, auto-cancel is still not working |
Thanks @datapythonista. It looks like deployment was delayed at the end of last week and is proceeding again. Fingers crossed, the fix will be in production by Tuesday afternoon (eastern time) at the latest. |
I guessed it was just delayed, but wanted to let you know just in case you thought it was fix. Thanks for the update @davidstaheli |
@davidstaheli I'd say that auto-cancel is still not working, is that expected? |
This removes the
workflows
section from thecirleci
config, which broke auto-cancellation.Also testing whether azure auto-cancels builds.
cc @gfyoung