Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Prepare for release #1020

Merged
merged 5 commits into from
May 6, 2019
Merged

Prepare for release #1020

merged 5 commits into from
May 6, 2019

Conversation

christianbundy
Copy link
Contributor

  • Re-enables npm test via Travis (oops)
  • Updates all npm dependencies
  • Removes old ssb-ebt code that wasn't doing anything

Anything else we need before a release? Should this be 3.12.0 or 3.12.0-beta?

sbot/index.js Show resolved Hide resolved
@black-puppydog
Copy link
Contributor

Running this for test, I get this:

TypeError: next is not a function
    at Server.no_handler (/home/daan/code/scuttlebutt/patchwork/node_modules/ssb-ws/inject.js:20:7)
    at Server.emit (events.js:187:15)
    at parserOnIncoming (_http_server.js:652:12)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)

Not quite sure how to trigger those though, the seem to come in batches of six, but at irregular intervals.

@christianbundy
Copy link
Contributor Author

christianbundy commented May 4, 2019 via email

@christianbundy
Copy link
Contributor Author

Thanks @mmckegg, that's important to remember. I made an issue for re-enabling ssb-ebt once that bug is resolved and made sure to link the code we need to re-add: #1021

I thought that the "TypeError: next is not a function" but was resolved
in [email protected] but it looks like it still exists.

See: ssbc/ssb-ws#19

Note: this commit previously featured a deep update to secret-handshake
but it broke the build on Windows.

See: auditdrivencrypto/secret-handshake#18
@christianbundy christianbundy force-pushed the prepare-for-release branch from dfedde9 to ead493c Compare May 4, 2019 16:50
@black-puppydog
Copy link
Contributor

okay, no more of those messages, tested on two machines. seems to work for me.
On the other hand, my feed only shows very few updates. It's the weekend though, so it could just be that all the ssb folks are out and about. :P

@christianbundy
Copy link
Contributor Author

Cool, I appreciate you testing. Hopefully you're seeing more messages now? I'm seeing normal activity on my end, FWIW.

I'm thinking maybe we should release this as a beta, ask for some testing on SSB, and then plan to release 3.12.0 or something on Monday -- what do you think?

@black-puppydog
Copy link
Contributor

There are so many version changes, bug fixes etc in this release that having some more people test it is definitely a good idea.
I also just stumbled over something new (?) %f5dkMKJdfRM+KEsRx8SCS1jrQkLkYuSwzIR2hR3n6dI=.sha256 that I didn't notice before because I'm leading the classic western "always online" lifestyle :P

@christianbundy
Copy link
Contributor Author

christianbundy commented May 5, 2019

Sweet, once someone has time to approve this PR then I'll merge, release as 3.12.0-beta.0, and ask for folks on SSB to test it out. 👍

Regarding that bug: that's weird, it looks like two instances of atomic-file may be trying to write to gossip.json at the same time? If you can consistently repro on master please create a new issue (or if it's specific to prepare-for-release please comment on this PR!). I'll copy the same message to Scuttlebutt for posterity.

@black-puppydog
Copy link
Contributor

I can repro this consistently on one machine. I checked and there are no two processes. On the other machine at home it doesn't happen, so it might just be my setup.
How about we summarize what's new, and make a beta release & call for testing with a list of things that people can specifically focus on while testing?

@christianbundy
Copy link
Contributor Author

I can repro this consistently on one machine. I checked and there are no two processes. On the other machine at home it doesn't happen, so it might just be my setup.

Interesting, I'd love if you could make a bug report so that we can refer to it. I'll merge this and plan to release a beta. The thing with atomic-file is that we use it in a few different places, so I think we could get a race condition even within the same process. Here's a bug I opened upstream a bit ago: ssbc/ssb-server#597

How about we summarize what's new, and make a beta release & call for testing with a list of things that people can specifically focus on while testing?

👍 Sounds good to me.

@christianbundy christianbundy merged commit a04b958 into master May 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants