Closed Bug 1525273 Opened 6 years ago Closed 6 years ago

PhabBugs feed stuck - null `text` in story feed

Categories

(bugzilla.mozilla.org :: Phabricator Integration, defect, P1)

Staging
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: dkl)

Details

Use of uninitialized value in length at local/lib/perl5/Mojo/IOLoop/Stream.pm line 37.
Use of uninitialized value in length at local/lib/perl5/Mojo/IOLoop/Stream.pm line 37.
{"Fields":{"msg":
   "Undef did not pass type constraint \"Str\" (in $_[3]) at /app/extensions/PhabBugz/lib/Feed.pm line 194
    \"Str\" is a subtype of \"Value\"
    \"Value\" is a subtype of \"Defined\"
    Undef did not pass type constraint \"Defined\" (in $_[3])
    \"Defined\" is defined as: (defined($_))
"},
"Hostname":"ip-172-31-26-183.us-west-2.compute.internal",
"Logger":"STDERR",
"Pid":"8",
"Type":"Bugzilla.Extension.PhabBugz.Feed",
"Timestamp":1549374690000000000,
"EnvVersion":2,
"Severity":0
}

possibly related:

{"Fields":{"msg":"Fetching new stories","type":"FEED"},...}
Use of uninitialized value in length at local/lib/perl5/Mojo/IOLoop/Stream.pm line 37.
Use of uninitialized value $story_text in concatenation (.) or string at /app/extensions/PhabBugz/lib/Feed.pm line 163.

Assignee: nobody → dkl

ah, the text field isn't returned by default when using the feed.query_id web ui.

    {
      "id": "240173",
      "phid": "PHID-STRY-hfxsoodfxkkywhzfcjza",
      "class": "PhabricatorApplicationTransactionFeedStory",
      "epoch": 1549373626,
      "authorPHID": "PHID-USER-p7a62wknonfqkih2zlnc",
      "chronologicalKey": "6654509054567392063",
      "objectPHID": "PHID-DREV-3zthelxzzye4kerlhool",
      "text": null
    },

dkl found the corresponding story here: https://phabricator.services.mozilla.com/feed/6654509054567392063/

that text is null is the crux of the problem.

Summary: PhabBugs feed stuck - Undef did not pass type constraint "Str" → PhabBugs feed stuck - null `text` in story feed

this is https://phabricator.services.mozilla.com/D17238#477275

this comment was "Signed with MFA", and https://secure.phabricator.com/w/changelog/2019.05/

"Signed With MFA" stories are now hidden from feed.

if possible we'll disable the ability to sign comments with mfa.

The feed issue is fixed now by manually updating the DB to bypass the offending feed story. This is due to a new feature where you can MFA sign transactions such as comments, etc. We will be disabling this new feature in another bug to keep this from occurring in the future.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.