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

No email sent when "publish" job fails #202

Closed
tidoust opened this issue Jul 1, 2015 · 1 comment
Closed

No email sent when "publish" job fails #202

tidoust opened this issue Jul 1, 2015 · 1 comment
Assignees
Labels

Comments

@tidoust
Copy link
Member

tidoust commented Jul 1, 2015

Apparently, Echidna does not to send any email to the public-tr-notifications mailing-list when the publish job fails.

An example of a job that was started at about 2015-06-30T22:07:17Z:
http://labs.w3.org/echidna/api/status?id=47b38647-30e3-4d7c-9193-ee25e1b0c983

... Here is a copy of the task status in JSON if that link disappears:

{
  "status": "failure",
  "jobs": {
    "retrieve-resources": {
      "status": "ok",
      "errors": []
    },
    "specberus": {
      "status": "ok",
      "errors": []
    },
    "token-checker": {
      "status": "ok",
      "errors": []
    },
    "third-party-checker": {
      "status": "ok",
      "errors": []
    },
    "publish": {
      "status": "failure",
      "errors": [
        {
          "property_path": "editorDraft",
          "message": "The editor draft URL is invalid."
        }
      ]
    },
    "tr-install": {
      "status": "",
      "errors": []
    },
    "update-tr-shortlink": {
      "status": "",
      "errors": []
    }
  },
  "history": [
    {
      "time": "2015-06-30T22:07:17.166Z",
      "fact": "The file has been retrieved."
    },
    {
      "time": "2015-06-30T22:07:18.560Z",
      "fact": "The document passed specberus."
    },
    {
      "time": "2015-06-30T22:07:19.203Z",
      "fact": "The document passed the third party checker."
    },
    {
      "time": "2015-06-30T22:07:19.514Z",
      "fact": "The document could not be published: List [ \"The editor draft URL is invalid.\" ]"
    }
  ],
  "metadata": {
    "previousVersion": "http://www.w3.org/TR/2015/WD-presentation-api-20150217/",
    "deliverers": [
      {
        "homepage": "http://www.w3.org/2014/secondscreen/",
        "name": "Second Screen Presentation\n        Working Group"
      }
    ],
    "delivererIDs": [
      74168
    ],
    "docDate": "2015-06-30T00:00:00.000Z",
    "editorIDs": [
      68454,
      63802
    ],
    "process": "http://www.w3.org/2014/Process-20140801/",
    "latestVersion": "http://www.w3.org/TR/presentation-api/",
    "status": "WD",
    "title": "Presentation API",
    "thisVersion": "http://www.w3.org/TR/2015/WD-presentation-api-20150630/",
    "editorsDraft": "http://w3c.github.io/presentation-api/ \n          "
  }
}

Note: the failure in that case was due to #201 and was easy to fix. This issue is really just about not receiving the failure notification on the mailing-list.

@tripu
Copy link
Member

tripu commented Jul 30, 2015

@deniak hopefully just fixed this in #216.
I'm keeping this open until we confirm in production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants