This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-26
Channels
- # announcements (1)
- # babashka (106)
- # beginners (11)
- # biff (7)
- # calva (16)
- # clj-kondo (40)
- # clj-on-windows (5)
- # clj-yaml (10)
- # clojars (4)
- # clojure (37)
- # clojure-austin (22)
- # clojure-australia (1)
- # clojure-europe (40)
- # clojure-nl (1)
- # clojure-norway (10)
- # clojure-spec (6)
- # clojure-uk (6)
- # clojurescript (13)
- # conjure (11)
- # cursive (14)
- # datalevin (8)
- # datascript (5)
- # emacs (39)
- # events (1)
- # fulcro (55)
- # gratitude (4)
- # holy-lambda (2)
- # humbleui (9)
- # instaparse (1)
- # lsp (3)
- # malli (12)
- # meander (2)
- # membrane (7)
- # nbb (1)
- # off-topic (16)
- # pathom (9)
- # releases (3)
- # sci (14)
- # shadow-cljs (25)
The #calva CI pipeline is broken 😞 It is having troubles in CI with downloading Atom (the editor). It has been working for years, but today it fails in a strange way... It's basically this recipe: https://github.com/atom/ci#circleci
version: 2
jobs:
build:
working_directory: /tmp/project
environment:
# Required:
DISPLAY: ":99"
# Configurable
ATOM_LINT_WITH_BUNDLED_NODE: "true"
APM_TEST_PACKAGES: ""
ATOM_CHANNEL: "stable"
# Machine Setup
# The following configuration line tells CircleCI to use the specified
# docker image as the runtime environment for your job.
# For more information on choosing an image (or alternatively using a
# VM instead of a container) see
# To see the list of pre-built images that CircleCI provides for most common
# languages see
docker:
- image: circleci/node:latest
steps:
- checkout
- run:
name: Update system package lists
command: sudo apt-get update
- run:
name: Install some pre-requisite packages
command: sudo apt-get --assume-yes --quiet install curl xvfb
- run:
name: Start display server for Atom
command: /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1024x768x16 +extension RANDR
background: true
- run:
name: Download Atom build script
command: curl -s -O
- run:
name: Make build script executable
command: chmod u+x build-package.sh
- run:
name: Run package tests
command: ./build-package.sh
# On MacOS:
# - run: caffeinate -s build-package.sh
The Run package tests step fails because at Download Atom build script a zero-byte .deb
file is downloaded. I've confirmed this by running the failed job with the SSH option. Basically it are these commands that fail:
curl -s -L "" \
-H 'Accept: application/octet-stream' \
-o "atom-amd64.deb"
sudo dpkg --install atom-amd64.deb || true
Where ${ATOM_CHANNEL}
is stable
. What is extra strange, but offers some hope, is that if I run ./build-package.sh
via SSH, then it works.
Anyone seen something like that before?It seems to have started to work again. But super strange that it wouldn't work, but worked when I was executing the command manually via SSH.
http://atom.io is completely broken these days
It's been facing DDoS over DDoS, there are actually a lot of SPAM packages being published that also weight on this server, and lots of other problems, so maybe that's why you were getting this weird zero-byte .deb
I'm getting a 500 from http://atom.io root and no response from https://atom.io/download/deb?channel=stable, though hilariously
actually did get me a download. Could this be related to the announcement that Atom was ending?
Actually, yes and no. The servers were having trouble with 500 errors for a while now, but after they announced the sunset everything got worse really fast. I am not sure if it's something deliberate or not (I have my own opinions on this) but yeah, the server is almost dead indeed
probably whoever's job it was to kick it whenever it fell over has now been reassigned to kicking something else.
I think it's deliberate. I've been trying to publish a package for a while now, made a script to try to publish it. Left it running for 3 hours, and could not publish even once. As for the SPAM packages, since the sunset announcement there are like 25,000 of them (Atom's package more than doubled since the announcement, and the new ones are ALL spam). so... how does these packages are getting published?
The tests for the TMLanguage grammar are run as Atom package tests. Legacy reasons. VS Code also does this as part of its integration tests. I've not figured out another way to do it. Because I haven't had problems with it and because it is pretty nice to hack on the grammar using Atom.
Hack on Pulsar instead 😄 https://github.com/pulsar-edit/pulsar
It should - we're using it to run our pulsar grammar tests 😄. If you want, you can make a PR to fix the docker image and run that on CirrusCI - https://github.com/pulsar-edit/pulsar. Then I can merge it, and we can use the image to run tests everywhere 😄
Happy Petrov Day! https://www.lesswrong.com/posts/QtyKq4BDyuJ3tysoK/9-26-is-petrov-day