Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Conversation

@mxstbr
Copy link
Contributor

@mxstbr mxstbr commented Mar 13, 2018

Let's deploy the subscriptions changes to prod 🔥 I've been testing them all day and it's been working great!

Changes

  • Improves the experience of managing notifications across multiple channels in a community
  • Shows the total member count of a community on desktop view
  • More consistent (and smarter!) linkification across threads and messages
  • Further improved stability of the site

brianlovin and others added 18 commits March 12, 2018 22:42
**TL;DR: Rework our asyncify util and all the subscriptions once more to
both plug the memory leak and stop our db connections from crashing.**

Yesterday, while just sitting around and daydreaming I finally saw the
light and understood why the shit that has been happening with our API
has been happening.

There are two phases to this story: The first phase is the
phase of memory leaks and the second phase is the more recent one of
database connection errors.

We had those memory leaks, and I investigated them and reworked our
entire subscriptions setup so that each user would get one changefeed
per subscription. That worked beautifully, but unfortunately we started
getting errors of db connections dropping. Thanks to @thelinuxlich I
realized that those were happening because it turns out changefeeds
don't scale well, especially not to hundreds at a time.

This patch fixes the connection dropping by reverting back to a setup
similar to our earlier version where we only have 4 changefeeds total
and then filter the live results on the server per listener.

Now you might be thinking "Hold on but didn't we have memory leaks
then?", and we totally did and the great thing is that I realised why:
The old `asyncify` util would buffer incoming live results. It would
buffer all incoming results for any subscriber that came after. That
means after six hours of production traffic we'd have buffered hundreds
of messages and threads in memory, which led to the server running out
of memory, which led to it crashing.

So this time, I've reworked our asyncify util again but without that
buffering, which means we'll have the stability of the connections by
only having 4 changefeed open, but we also won't have memory leaks. Win
win! 🎉
…-for-all

Plug the memory leak and stop the db connections from crashing
…tion-preferences

Upgrade community notification preferences
brianlovin
brianlovin previously approved these changes Mar 13, 2018
@spectrum-bot
Copy link

Fails
🚫

🃏 FAIL in user.test.js

  • should render
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    Error: Navigation Timeout Exceeded: 30000ms exceeded
        at NavigatorWatcher.waitForNavigation (/home/rof/src/github.com/withspectrum/spectrum/node_modules/puppeteer/lib/NavigatorWatcher.js:76:20)
        at 
    Error: waiting failed: timeout 30000ms exceeded
        at WaitTask._timeoutTimer.setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/puppeteer/lib/FrameManager.js:502:58)
        at Timeout.callback (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should show the users data
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    Error: expect(string).toContain(value)
    

    Expected string:
    ""
    To contain value:
    "mxstbr"
    at Object..it (/home/rof/src/github.com/withspectrum/spectrum/src/test-e2e/user.test.js:36:19)
    at
    at process._tickCallback (internal/process/next_tick.js:118:7)


  • should list threads the users has posted
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should list the communities a user is a member of, including their rep in that community
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • 🚫

    🃏 FAIL in splash.test.js

  • should render the splash page
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    Error: Navigation Timeout Exceeded: 30000ms exceeded
        at NavigatorWatcher.waitForNavigation (/home/rof/src/github.com/withspectrum/spectrum/node_modules/puppeteer/lib/NavigatorWatcher.js:76:20)
        at 
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should have a login button
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should have a button to explore
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should have a button to /new/community
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • 🚫

    🃏 FAIL in login.test.js

  • should render the login page
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    Error: Navigation Timeout Exceeded: 30000ms exceeded
        at NavigatorWatcher.waitForNavigation (/home/rof/src/github.com/withspectrum/spectrum/node_modules/puppeteer/lib/NavigatorWatcher.js:76:20)
        at 
    Error: waiting failed: timeout 30000ms exceeded
        at WaitTask._timeoutTimer.setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/puppeteer/lib/FrameManager.js:502:58)
        at Timeout.callback (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should have a link to twitter auth
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should have a link to facebook auth
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should have a link to google auth
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should have a link to the code of conduct
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • 🚫

    🃏 FAIL in thread.test.js

  • should render
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    Error: Navigation Timeout Exceeded: 30000ms exceeded
        at NavigatorWatcher.waitForNavigation (/home/rof/src/github.com/withspectrum/spectrum/node_modules/puppeteer/lib/NavigatorWatcher.js:76:20)
        at 
    Error: waiting failed: timeout 30000ms exceeded
        at WaitTask._timeoutTimer.setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/puppeteer/lib/FrameManager.js:502:58)
        at Timeout.callback (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should show the threads content
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    Error: expect(string).toContain(value)
    

    Expected string:
    ""
    To contain value:
    "The first thread! 🎉"
    at Object..it (/home/rof/src/github.com/withspectrum/spectrum/src/test-e2e/thread.test.js:45:19)
    at
    at process._tickCallback (internal/process/next_tick.js:118:7)


  • should show the threads author
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    Error: expect(string).toContain(value)
    

    Expected string:
    ""
    To contain value:
    "Brian Lovin"
    at Object..it (/home/rof/src/github.com/withspectrum/spectrum/src/test-e2e/thread.test.js:53:19)
    at
    at process._tickCallback (internal/process/next_tick.js:118:7)


  • should have a link to the author
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    Error: waiting failed: timeout 30000ms exceeded
        at WaitTask._timeoutTimer.setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/puppeteer/lib/FrameManager.js:502:58)
        at Timeout.callback (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should have a link to the community
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should show all its messages
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • 🚫

    🃏 FAIL in community.test.js

  • should render
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    Error: Navigation Timeout Exceeded: 30000ms exceeded
        at NavigatorWatcher.waitForNavigation (/home/rof/src/github.com/withspectrum/spectrum/node_modules/puppeteer/lib/NavigatorWatcher.js:76:20)
        at 
    Error: waiting failed: timeout 30000ms exceeded
        at WaitTask._timeoutTimer.setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/puppeteer/lib/FrameManager.js:502:58)
        at Timeout.callback (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should show the communities data
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    Error: expect(string).toContain(value)
    

    Expected string:
    ""
    To contain value:
    "The future of communities"
    at Object..it (/home/rof/src/github.com/withspectrum/spectrum/src/test-e2e/community.test.js:36:19)
    at
    at process._tickCallback (internal/process/next_tick.js:118:7)


  • should show a list of the threads in that community
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should show a list of channels in that community
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • 🚫

    🃏 FAIL in channel.test.js

  • should render
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    Error: Navigation Timeout Exceeded: 30000ms exceeded
        at NavigatorWatcher.waitForNavigation (/home/rof/src/github.com/withspectrum/spectrum/node_modules/puppeteer/lib/NavigatorWatcher.js:76:20)
        at 
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should show the channels data
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    Error: expect(string).toContain(value)
    

    Expected string:
    ""
    To contain value:
    "General chatter"
    at Object..it (/home/rof/src/github.com/withspectrum/spectrum/src/test-e2e/channel.test.js:39:19)
    at
    at process._tickCallback (internal/process/next_tick.js:118:7)


  • should show a list of the threads in that channel
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    Error: waiting failed: timeout 30000ms exceeded
        at WaitTask._timeoutTimer.setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/puppeteer/lib/FrameManager.js:502:58)
        at Timeout.callback (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • 🚫

    🃏 FAIL in inbox.test.js

  • should render the inbox view
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    Error: Navigation Timeout Exceeded: 30000ms exceeded
        at NavigatorWatcher.waitForNavigation (/home/rof/src/github.com/withspectrum/spectrum/node_modules/puppeteer/lib/NavigatorWatcher.js:76:20)
        at 
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should render a list of threads in the channels the user is a member of
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    Error: waiting failed: timeout 30000ms exceeded
        at WaitTask._timeoutTimer.setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/puppeteer/lib/FrameManager.js:502:58)
        at Timeout.callback (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should render a list of communities the user is a member of
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • should render a thread view
    Full message
    
    Error: Timeout - Async callback was not invoked within the 30000ms timeout specified by jest.setTimeout.
        at /home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/queue_runner.js:68:21
        at setTimeout (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-cli/node_modules/jest-jasmine2/build/p_timeout.js:24:44)
        at Timeout.callback [as _onTimeout] (/home/rof/src/github.com/withspectrum/spectrum/node_modules/jest-runner/node_modules/jsdom/lib/jsdom/browser/Window.js:633:19)
        at ontimeout (timers.js:466:11)
        at tryOnTimeout (timers.js:304:5)
        at Timer.listOnTimeout (timers.js:267:5)
    

  • Generated by 🚫 dangerJS

    @mxstbr
    Copy link
    Contributor Author

    mxstbr commented Mar 13, 2018

    This is live. God damn tests...

    @brianlovin
    Copy link
    Contributor

    Lol so uh...now what?

    @brianlovin
    Copy link
    Contributor

    Merge anyways?

    @mxstbr mxstbr merged commit 05bd081 into production Mar 13, 2018
    Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

    Labels

    None yet

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    4 participants