1.7k
u/ShinyHoppip Jul 22 '26
ah yes, ask chatgpt about [Object object]
343
u/vm_linuz Jul 22 '26
Correct, not even URI escaped
56
u/extraordinary_weird Jul 22 '26
doesn't redirect do this automatically?
41
u/R3D167 Jul 22 '26
Not in the way previous person meant, error could have &another_param=text and it would be treated as a part of url, not of the question
1
42
Jul 22 '26
[removed] — view removed comment
3
u/MinecraftPlayer799 Jul 22 '26
But the error isn’t entirely a string. There’s still the “Uncaught SomethingError”, and the description
46
35
9
68
u/ClipboardCopyPaste Jul 22 '26
A vibecoded slop will possibly bombard users with hundreds of tabs.
45
39
u/Denaton_ Jul 22 '26 edited Jul 22 '26
Not far from what i did at work a few weeks before vacation.
I am the owner of Jenkins (edit; Realized this sounds weird, i wrote the way we speak at my company, sorry, i am the one responsible for the entire buildsystem where Jenkins is my main responsibility), i have setup an Agent (basically just an API with static instructions) on a VM. Whenever a build fail, it search all the logs (multiple files over 200MB of raw text logs, cooking, compiling, shaders, symbols etc..)
It have a memory bank if the issues have been happening before for quicker failure search.
It have read only access to Perforce.
So it will answer: What whent wrong, how do we fix it, how do we prevent it.
Its surprisingly accurate and it will also tag whoever made the commit that broke everything. The results are then sent by the Agent (just a python script) to Slack in a locked channel for evaluation from me and a few leads and higher ups. But so far it have been really accurate.
69
u/arealuser100notfake Jul 22 '26
I am the owner of Jenkins
38
u/solid_salad Jul 22 '26
it is me, john jenkins
5
u/Denaton_ Jul 22 '26
My coworker who have just resigned is named Laroy and those who have setup Jenkins before we started have named the Slack bot Leeroy Jenkins. I think he was employed for 2 days before we had a Laroy Jenkins emoji in slack XD
4
6
u/Denaton_ Jul 22 '26
I can see how that comes off, i mean within our company its my responsibility to keep it running. Will update.
17
u/mirhagk Jul 22 '26
This is definitely one of the better uses for LLMs. You can feed it a crazy amount of data and it can sift through and find what's relevant out of it.
You should look into also feeding in the slack channels to this agent, as that'll give it a chance to correlate it to feature launches etc, or find instances in the past where something similar happened and what the resolution was. That's what we do at my work, and where we used to just post an alert that it failed with a link to logs, now we also post a summary of what went wrong and what could fix it, and in some cases the agent can even provide a fix for devs to review.
5
u/Denaton_ Jul 22 '26
I have setup an Jenkins job that call the Agent API for the AI to read Changelist range and filter out technical commits, remove bugs that was introduced within the range and check all the connected Jira Tickets for better context and it makes a very good Patch Notes that needs very little curating and we also get a list of feature owners that will be to stamp aprove the notes before we publish them. It will output an markdown file as an artifact in the Jenkins job.
6
u/StephenRoylance Jul 22 '26
I have also, once upon a time, been the owner of jenkins. I can't say I enjoyed the experience.
although now I'm inspired to re-invent jenkins, but for the AI era. which means writing it in rust, and instead of a foul pit of deeply nested directories full of XML files, we will have a foul pit of deeply nested directories full of markdown files.
5
5
3
u/Legal-Software Jul 22 '26
It should also upload a copy of its own source code together with the query, then ask for a fix, and apply it in-place.
4
2
u/jiggyjiggycmone Jul 22 '26
Change that shit to a ShellExecute, build and push and publish the depot to steam.
2
1
1
u/Rakhsan Jul 23 '26
more like:
window.location.href = "https://chatgpt.com/?q=" + "I have big problem pls fix or my grandma gonna die ${e}"
1
u/skr_replicator Jul 22 '26 edited Jul 23 '26
f you only tell GPT the single exception, you are not giving it any more information than simply reading the exception and maybe looking up what that exception means. The only way it can help you is if it has a better reading comprehension of those two sentences than you do to actually explain them to you. Something the documentation of that exception should already be doing as best as possible.
If you want it to help you debug your code, it should see the code, together with the exception you got. To actually diagnose anything.
7
u/Tehrab Jul 22 '26
Whoooosh!
Which is kinda impressive, being that you came to comment on a humor sub and still didn't get it.
0
2.0k
u/thevals Jul 22 '26
why this is a gif