#sentry

/

      • is_null has quit
      • is_null joined the channel
      • rohitpaulk joined the channel
      • rohitpaulk has quit
      • rohitpaulk joined the channel
      • danielemm has quit
      • MrAbaddon joined the channel
      • MrAbaddon has quit
      • bdx has quit
      • bdx joined the channel
      • parthkolekar has quit
      • parthkolekar joined the channel
      • thurloat has quit
      • thurloat joined the channel
      • dekimsey joined the channel
      • rohitpaulk has quit
      • dekimsey joined the channel
      • dekimsey has quit
      • rohitpaulk joined the channel
      • rohitpaulk has quit
      • dekimsey joined the channel
      • rohitpaulk joined the channel
      • is_null
        hi all, i've been again up until 6am trying to setup webpack for sentry correctly, jesus, what do you people who do yarn build in Dockerfile do ? there are only horrible solutions, not to mention i'm still looking for a solution that works
      • do i have to add another CI job where we run webpack to also build the bundles and decorate that nicely with all the commands sentry wants, but then what are the chances that the files i upload like this are not the same than the one that are in docker ?
      • how to make the sentry webpack plugin really work ? when i click to download an artifact uploaded with this plugin i get a 500 internal error, it's logging a duplicate key constraint error that release_id and project_id already exist, because for some reason it sets release: null
      • why is it so important that we run releases new before we run webpack build ? is there not a way to just, please, tell the sentry cli to upload whatever it needs that it knows from the webpack build
      • and not during build time, i don't understand, why do we have to declare the release during build time, i don't understand how this makes sense, have we not worked hard already to separate build-time from release-time ? i'm not compiling venvs and webpack bundles on the production server, if that's what i'm "supposed to do"
      • it's like even harder than learning how to exploit buffer overflows xD
      • rohitpaulk has quit
      • is there any way to use the same sentry dsn we use in project settings, for sentry-cli releases by chance ?
      • dekimsey joined the channel
      • i don't get it, i have a perfectly fine SENTRY_DSN env var but sentry-cli still complains: error: An organization slug is required (provide with --org)
      • i'm surrendering, spaggeti of configuration it shall be
      • dekimsey has quit
      • let's have SENTRY_URL and SENTRY_DSN then if there's no other way out of this :D
      • dekimsey joined the channel
      • parthkolekar has quit
      • parthkolekar joined the channel
      • bdx has quit
      • tx joined the channel
      • bdx joined the channel
      • people building in docker, what poison have you choosed ? do you do the sentry-cli release inside the Dockerfile ?
      • i don't know, i can't run it in the docker container, because once the container is started it means the release is already out
      • the docker cp command does not allow to export a directory from a container image, only from running containers, so that's too late again
      • i think the release declaration to sentry should happen not during build time, but along with the migrate step
      • but then i have to use a fuzzy script like this and hope it works : https://yourlabs.io/oss/playlabs/blob/master/bi... despite that all information could have been produced during webpack build, and released along with migrate step , which is not in build step, but in release step
      • rohitpaulk joined the channel
      • rohitpaulk has quit
      • rohitpaulk joined the channel
      • on question: do we have to upload js files, or is uploading sourcemaps sufficient for the case where environment is being HTTP Basic auth ?
      • yes of course otherwise how could it build the traceback with just sourcemaps silly me xD
      • grahamb has left the channel
      • fyi i resigned and created a python script to wrap this up https://yourlabs.io/oss/clilabs/blob/sentry/cli...