scripting / drummerSupport

Support for Drummer users.
19 stars 0 forks source link

Stress testing Instant Outlines #139

Open scripting opened 2 years ago

scripting commented 2 years ago

See this post for background.

http://scripting.com/drummer/blog/2021/12/16/190505.html?title=stressTestingInstantOutlines

If you have any problems to report, this is the place.

scotthansonde commented 2 years ago

It's evening now in Germany. I've opened an incognito browser with Drummer logged in to a test Twitter account and two normal outlines and the pingmonster outline open. Let's see how it looks in the morning.

scripting commented 2 years ago

Well I ran the stress test all night, and Drummer is fine. All the outlines are where they are supposed to be containing the content they're supposed to contain. As far as I can tell nothing was overwritten.

Maybe the outline has to be a certain size? This is something that is easily tested, but I seriously doubt that's the problem.

It seems to me the user has to do something to cause the overwrite to take place (obviously not the user's fault).

akaKenSmith commented 2 years ago

I also ran it without seeing anything overwritten.

akaKenSmith commented 2 years ago

Would it make any sense just to keep the console open here as I work for the next few days?

scripting commented 2 years ago

I always keep it open myself.

But Ken I'm going to be really blunt, your strength is not testing and reporting. There are other people around here who do it better. I always have to be careful what I say because the flamers are basically always ready to pounce (not you) but I also feel responsible for helping you choose wise ways to spend your time with Drummer.

BTW, I expect to have more news about the Scripting News concordance shortly. Not a breakthrough, but still interesting. That imho is why you're here. You understand what that sentence means. ;-)

scotthansonde commented 2 years ago

I'm not seeing anything either. Maybe I can automate the browser to have it click through the tabs while the pingmonster keeps updating.

akaKenSmith commented 2 years ago

I'm still letting the stress test outline run with the console open, and no outlines show any damage. But I just came back to the machine and I see, in the console, a new red light has come on with 8 cases that it refers to. One is a websocket connection failure to tweets.opml.org and the other seven might be identical to each other, not sure. The seven mention oauth token and connection reset and name the blog.opml file.

If this is significant, let me know and I'll take some more detailed pictures of the console.

Screen Shot 2021-12-17 at 2 49 46 PM
scripting commented 2 years ago

It’s not significant @akaKenSmith . I’ve been working on that server.

scripting commented 2 years ago

@akaKenSmith -- when I'm working on a server I often have to turn it off for a moment while it reboots, and if your computer had a connection open to it, it has to then reconnect. That's what the console was showing you there.

andysylvester commented 2 years ago

I was doing some programming in Drummer using my PDXProtestNews account. I decided that I wanted to try posting again to my Old School blog at http://oldschool.scripting.com/AndySylvester99/, so I switched from Google Chrome to Brave, where I was already logged in as AndySylvester99. The two tabs that came up were Andy’s Status and Change Notes. I then opened blog.opml and added a short post. I downloaded my files, then selected the “Build my blog…” command from the Tools menu. Normally, I would see a new tab open when the blog was rebuilt, but this did not happen. I opened the Developer Tools menu, but did not see any errors displayed (several saveTab messages were the most recent in the Console). I then selected the Hard Reload command from the Tools menu. When the browser refreshed, again I saw two tabs open (Andy’s Status and Change Notes). I looked at the Console, there was an error for some syntax error (will include console text at the end of this report). The Drummer version displayed in the upper right corner was v2.0.14.

I looked at the Change Notes tab, and saw that it had the short post I made to blog.opml. Next, I decided to check my Old School blog to see if any changes happened there (http://oldschool.scripting.com/AndySylvester99/). I saw that the contents of my blog had been replaced by the Change Notes tab contents. Sigh….

Here is a Drummer screenshot: DrummerOverwrite

Here is a screenshot of my blog: OldSchoolBlogOverwrite

Here is the current console text:

startup api.js:1129 twStorageToPrefs: downloaded 2013 chars from server in 0.101 secs. code.js:613 hitCounter: msgFromServer == "We got your ping on 12/26/2021, 3:29:32 PM" code.js:644 getFilestatsForNewInactiveTab: options.filestats == { "size": 8650, "whenAccessed": "Sun, 26 Dec 2021 05:00:01 GMT", "whenCreated": "Fri, 09 Jul 2021 18:58:43 GMT", "whenModified": "Fri, 13 Aug 2021 22:49:44 GMT", "title": "Andy's Status", "dateCreated": "Fri, 09 Jul 2021 18:58:43 GMT", "ownerTwitterScreenName": "AndySylvester99", "ownerName": "Andy Sylvester", "ownerId": "http://twitter.com/AndySylvester99", "urlUpdateSocket": "ws://drummer.scripting.com:1232/", "dateModified": "Fri, 13 Aug 2021 22:49:44 GMT", "expansionState": "1,2,4,7,9,15,21,24,26,28,31,33,36,39,45,46,50", "lastCursor": "8", "flPublic": "true", "urlPublic": "http://drummer.scripting.com/AndySylvester99/notes.opml" } code.js:3508 startRoot: codetext == root. =

VM83:1 Uncaught SyntaxError: Unexpected token '=' at code.js:3510 at code.js:2967 at code.js:204 at Object.success (api.js:389) at c (jquery-1.9.1.min.js:3) at Object.fireWith [as resolveWith] (jquery-1.9.1.min.js:3) at k (jquery-1.9.1.min.js:5) at XMLHttpRequest.r (jquery-1.9.1.min.js:5) (anonymous) @ code.js:3510 (anonymous) @ code.js:2967 (anonymous) @ code.js:204 success @ api.js:389 c @ jquery-1.9.1.min.js:3 fireWith @ jquery-1.9.1.min.js:3 k @ jquery-1.9.1.min.js:5 r @ jquery-1.9.1.min.js:5 XMLHttpRequest.send (async) send @ jquery-1.9.1.min.js:5 ajax @ jquery-1.9.1.min.js:5 twGetOptionalFile @ api.js:385 drummerGetOptionalFile @ code.js:369 (anonymous) @ code.js:194 success @ api.js:389 c @ jquery-1.9.1.min.js:3 fireWith @ jquery-1.9.1.min.js:3 k @ jquery-1.9.1.min.js:5 r @ jquery-1.9.1.min.js:5 XMLHttpRequest.send (async) send @ jquery-1.9.1.min.js:5 ajax @ jquery-1.9.1.min.js:5 twGetOptionalFile @ api.js:385 drummerGetOptionalFile @ code.js:369 getOptionalFilePublicOrPrivate @ code.js:192 getSpecialOpml @ code.js:2962 getOpmltext @ code.js:3502 startRoot @ code.js:3505 (anonymous) @ code.js:4341 (anonymous) @ code.js:3339 success @ api.js:389 c @ jquery-1.9.1.min.js:3 fireWith @ jquery-1.9.1.min.js:3 k @ jquery-1.9.1.min.js:5 r @ jquery-1.9.1.min.js:5 XMLHttpRequest.send (async) send @ jquery-1.9.1.min.js:5 ajax @ jquery-1.9.1.min.js:5 twGetOptionalFile @ api.js:385 drummerGetOptionalFile @ code.js:369 getStorageFromServer @ code.js:3329 (anonymous) @ code.js:4329 docallback @ api.js:1219 (anonymous) @ api.js:1243 success @ api.js:156 c @ jquery-1.9.1.min.js:3 fireWith @ jquery-1.9.1.min.js:3 k @ jquery-1.9.1.min.js:5 r @ jquery-1.9.1.min.js:5 XMLHttpRequest.send (async) send @ jquery-1.9.1.min.js:5 ajax @ jquery-1.9.1.min.js:5 twGetUserInfo @ api.js:152 (anonymous) @ api.js:1241 success @ api.js:1072 c @ jquery-1.9.1.min.js:3 fireWith @ jquery-1.9.1.min.js:3 k @ jquery-1.9.1.min.js:5 r @ jquery-1.9.1.min.js:5 XMLHttpRequest.send (async) send @ jquery-1.9.1.min.js:5 ajax @ jquery-1.9.1.min.js:5 twGetTwitterConfig @ api.js:1066 (anonymous) @ api.js:1240 (anonymous) @ api.js:1170 (anonymous) @ api.js:1135 success @ api.js:366 c @ jquery-1.9.1.min.js:3 fireWith @ jquery-1.9.1.min.js:3 k @ jquery-1.9.1.min.js:5 r @ jquery-1.9.1.min.js:5 XMLHttpRequest.send (async) send @ jquery-1.9.1.min.js:5 ajax @ jquery-1.9.1.min.js:5 twGetFile @ api.js:362 twStorageToPrefs @ api.js:1122 twStorageStartup @ api.js:1155 start @ api.js:1237 startup @ code.js:4327 (anonymous) @ (index):476 c @ jquery-1.9.1.min.js:3 fireWith @ jquery-1.9.1.min.js:3 ready @ jquery-1.9.1.min.js:3 H @ jquery-1.9.1.min.js:3

code.js:908 activateThisOutline: options.filestats == { "size": 132087, "whenAccessed": "Sun, 26 Dec 2021 20:28:48 GMT", "whenCreated": "Wed, 22 Sep 2021 16:20:18 GMT", "whenModified": "Sun, 26 Dec 2021 20:28:44 GMT", "title": "Change notes", "dateCreated": "Wed, 22 Sep 2021 16:20:18 GMT", "urlPublic": "http://drummer.scripting.com/davewiner/drummer/changeNotes.opml", "urlJson": "http://drummer.scripting.com/davewiner/drummer/changeNotes.json", "flPublic": "true", "description": "Dave Winer's notes on development with Drummer and related projects.", "copyright": "Copyright 2021, Dave Winer.", "urlHeaderImage": "http://scripting.com/images/2021/05/10/pissaro.png", "ownerTwitterScreenName": "AndySylvester99", "ownerName": "Andy Sylvester", "ownerId": "http://twitter.com/AndySylvester99", "urlUpdateSocket": "ws://drummer.scripting.com:1232/", "dateModified": "Sun, 26 Dec 2021 20:28:44 GMT", "expansionState": "1,2,4", "lastCursor": "2" } code.js:3821 wsConnectToServer: msg == user 2281547624-5wLIXIiClqDjfvG3v96Z8o2ANrVvvHoCokWTX8H npjcEJsQQaiW7gaSEdEOKGG8J080Q8pE9x4KqwjaA1OW7