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

Notice: Lightshow is temporarily offline #4168

Closed
lildude opened this issue Jun 21, 2018 · 30 comments
Closed

Notice: Lightshow is temporarily offline #4168

lildude opened this issue Jun 21, 2018 · 30 comments

Comments

@lildude
Copy link
Member

lildude commented Jun 21, 2018

We don't really have a better place for notifications, so I'm opening an issue.

Lightshow has been temporarily pulled offline whilst we address a few critical problems with it. We'll bring it back up as soon as we can.

I'll close this issue once it's back online.

Sorry for the inconvenience.

@pchaigno
Copy link
Contributor

pchaigno commented Jul 2, 2018

@lildude Any news on this? We can't really test any syntax highlighting change without Lightshow...

@lildude
Copy link
Member Author

lildude commented Jul 2, 2018

Nope. 😞 Still ironing out the issues.

@kivikakk
Copy link
Contributor

kivikakk commented Aug 9, 2018

Hiya! I've been working on getting Lightshow up and running with our new backend; it should be usable right now! Would you like to give it a test and tell me how you find it?

https://github-lightshow.herokuapp.com/

@kivikakk
Copy link
Contributor

kivikakk commented Aug 9, 2018

(We might like to ping the issues in the Awaiting Lightshow tag, but I think @pchaigno is mostly on top of them all!)

@pchaigno
Copy link
Contributor

pchaigno commented Aug 9, 2018

@kivikakk
Copy link
Contributor

kivikakk commented Aug 9, 2018

Something weeeeird happened with its HTTPS certificates. I've restarted the app and that particular problem seems to have cleared up, but now I'm getting timeouts on actually doing the work. Maybe because it's …/blob/… and not …/raw/….

@pchaigno
Copy link
Contributor

pchaigno commented Aug 9, 2018

Nop, looks like a timeout with ../raw/.. too. I'll try another grammar.

@kivikakk
Copy link
Contributor

kivikakk commented Aug 9, 2018

Yep, just tried. It's hitting the 10s processing timeout on the actual highlighting service. I could extend that, but I'd be wary of going too far.

@pchaigno
Copy link
Contributor

pchaigno commented Aug 9, 2018

@kivikakk
Copy link
Contributor

kivikakk commented Aug 9, 2018

Actually, weird: it's Lightshow's own configured timeout that is being hit here. Your latest example is trivial and not working. Looking into it. Thanks so much for your patience 🙏

@kivikakk
Copy link
Contributor

kivikakk commented Aug 9, 2018

Okay, turns out the lovely new service I've put into production has died hard on a malformed grammar, and hasn't restored itself 😅 It's a trivial fix/oversight of mine, so I'll let you know when I've fixed it and tested that the above samples you've demonstrated actually work.

@Alhadis
Copy link
Collaborator

Alhadis commented Aug 9, 2018

What grammar was it, out of interest?

@kivikakk
Copy link
Contributor

kivikakk commented Aug 9, 2018

No idea, haven't looked that deeply into it yet. Still testing the hopeful-fix locally.

@kivikakk
Copy link
Contributor

kivikakk commented Aug 9, 2018

Oh, it was indeed https://github.com/github-linguist/babel-sublime/raw/master/JavaScript%20(Babel).tmLanguage! A bool which isn't playing ball (playing bool?):

<key>applyEndPatternLast</key>
<integer>1</integer>

It looks like the newer compiler is expecting an actual bool here, i.e. <true/> or <false/> instead of an integer. We're quite a lot stricter now, but I suspect this is something we should handle. I'll try making the adjustment.

@Alhadis
Copy link
Collaborator

Alhadis commented Aug 9, 2018

playing bool?

Aahaaaaa, I get it.

@kivikakk
Copy link
Contributor

kivikakk commented Aug 9, 2018

Yay! Working locally. I'll deploy now.

image

@Alhadis
Copy link
Collaborator

Alhadis commented Aug 9, 2018

Yay!

God I hate that indentation.

@kivikakk
Copy link
Contributor

kivikakk commented Aug 9, 2018

It's online and 'working' again, but for a reason I cannot fathom it's highlighting very poorly compared to my local deploy of the same (!) code.

image

This weirdness aside (I'll need to look into it), it should be ready for testing against again.

@worldbeater
Copy link
Contributor

Trying to test this F# source file highlighting using this F# grammar, but Lightshow says something went wrong :(

@kivikakk
Copy link
Contributor

It's getting very newly hammered by spammers/metasploit-type stuff, and it's not happy. Looking into it again today though 👍

@kivikakk
Copy link
Contributor

Finally back online. There's an intermittent issue with SSL causing page load fails which I'm hoping has gone away with a change, but may not have; please report if you see any further difficulties.

@pchaigno
Copy link
Contributor

Thanks @kivikakk!

Would it be possible to make the inputs of Lightshow (grammar link and source code) GET parameters whenever possible (i.e., unless there's a large snippet of code posted and it exceeds the URL limit)? We had this before and it's very useful to show working and broken examples to reviewers.

@pchaigno pchaigno mentioned this issue Aug 12, 2018
1 task
@kivikakk
Copy link
Contributor

@pchaigno Yep, can do. I'd changed it during testing since mine were all failing due to URL limit issues, but I'll change it to be conditional on size as you've suggested.

@kivikakk
Copy link
Contributor

@pchaigno Fixed! The method is a little on the conservative side; let me know if you think it's too conservative. It'd just be super annoying if legitimate input outright failed because it picked GET incorrectly.

@kivikakk
Copy link
Contributor

Right now the results are a bit non-deterministic (!) — sometimes the result looks correct, sometimes it looks half-errored-out like the above screenshot of the source.js.jsx render. I'm on this today.

@kivikakk
Copy link
Contributor

Determinism has returned to Lightshow!

image

This is the last issue I'm aware of, so if you see any more, please, let me know!

@davidhq
Copy link
Contributor

davidhq commented Apr 20, 2022

Hi !

Is Lightshow gone?

Screenshot 2022-04-20 at 11 57 42

@lildude
Copy link
Member Author

lildude commented Apr 20, 2022

@davidhq yes. See #5844

Unfortunately, we've had to abruptly bring the sunset date forward due to https://github.blog/2022-04-15-security-alert-stolen-oauth-user-tokens/

@davidhq
Copy link
Contributor

davidhq commented Apr 20, 2022

@lildude thank you for explaining... does this mean the tool is gone forever?

@lildude
Copy link
Member Author

lildude commented Apr 21, 2022

@davidhq yes. There are more details in the issue.

@github-linguist github-linguist locked as resolved and limited conversation to collaborators Jun 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants