Comments (5)
Sorry for the delay. I had a look and due to the asynchrounous nature of pipeline triggering, there's currently no way to know at trigger time whether any workflows will be launched successfully.
That being said, we are looking at deprecating the current "error workflows" which run to display your error in a job (you've probably seen one at some point, the ones that say "don't rerun this workflow"), and making pipeline errors a more first-class entity. They will then also get their own place in the new UI that's currently in preview. With these you can probably streamline your automation to look out for these errors once your config has been processed.
I don't think we have a concrete timeline for this yet, I'm personally hoping for this quarter though. If you have any thoughts/ideas/wishes/etc., we welcome input to aide our design process.
from api-preview-docs.
Not sure right now about the error response, let me get back to you on Monday, but I can tell you that we actually just swapped the response code to 201 for the happy path, so it doesnโt reflect a failure. You should not be seeing any 202s on this route going forward.
from api-preview-docs.
Ahhh gotcha...did that just happen within the last day or so? That might explain why it was 202 before and 201 today and I might have just wrongly assumed it was due to whether or not the workflow actually launched.
from api-preview-docs.
Yes, I believe that was yesterday (EU time).
from api-preview-docs.
Ok, I've been able to confirm so I'll just expect 201s for now. I'd still be interested to know if a "successful" call that does not actually trigger workflows could potentially become an error but more than willing to wait until Monday (or whenever) for that.
from api-preview-docs.
Related Issues (20)
- Question: Filtering scheduled pipelines by branch name HOT 3
- Conditions should allow operators HOT 1
- Retrying workflows
- Triggering a pipeline by tag doesn't trigger any workflows HOT 2
- List projects by organisation HOT 5
- Body parser is not tolerant of whitespace?? HOT 3
- Pipeline Parameters Ignored with API HOT 2
- Trigger workflow in different repo with same user HOT 1
- Unable to access v2 APIs with project-specific API tokens HOT 3
- Cannot access job output HOT 2
- Unable to trigger pipeline to build forked Pull Request via V2 API, error message: *Branch not found*
- Add v1 deprecation to v1 docs
- Pipeline updated_at field not actually updating
- How to pass executor parameters
- Workflow jobs and Workflow runs documentation HOT 3
- curl command in README is incorrect HOT 1
- Typo in CircleCI API v2 Docs HOT 2
- List projects API (v2) is missing HOT 7
- typo in orb reference in docs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api-preview-docs.