PostgreSQL PR Previews, EBUSY errors, Platformatic Launch Week and other Adventures in Nodeland
Hi Folks,
In this edition you will find only a few releases - the TODO list for modules to be released is growing! I have been quite busy preparing for next week.. as we will unveil our next step.
Platformatic Launch Week
Sign up at here.
Videos
In my live stream of Monday 13th, we finished the implementation of the election algorithm built on top of PostgreSQL advisory locks. Now our queue can run on multiple servers. Electing the one that would execute the outgoing HTTP calls.
Here is the PR: https://github.com/platformatic/unscalable-queue-system/pull/39.
Last Thursday, during my live stream, we added the automation necessary to use Platformatic Cloud and Neon to create full preview environments of our APIs + data.
Here is the meaningful change, the integration with our GitHub action:
https://github.com/platformatic/unscalable-queue-system/blob/5edbf3414c89690e108a64df878af93417dbbaa7/.github/workflows/platformatic-deploy.yml#L29-L44.Here is the action to clean up the preview environment: https://github.com/platformatic/unscalable-queue-system/blob/5edbf3414c89690e108a64df878af93417dbbaa7/.github/workflows/cleanup-neon-branch.yml#L7-L48.
Node.js Conference Italy is back!
The Italian Nodejsconf is back!
Behind this conference, there is WEBdeBS - the name stands for Web Developers Brescia, the city in Italy where most of us come from - a group of people sharing a strong passion for everything related to the web (but not only).
This conference is born with this spirit: not strictly a commercial or promotional event, but rather a gathering organized using time, passion, and willingness taken away from our daily working life.
From the community for the community.
The Node.js Italian Conference 2023
The Italian Nodejsconf is back!
EBUSY errors on Windows
Last week I fought EBUSY
errors on Windows, specifically in Github Actions. For some unknown reasons, pnpm install
commands inside Platformatic monorepo started to fail with this error. Essentially the Windows operating system locks the files created by pnpm
. I did open https://github.com/pnpm/pnpm/issues/6201 and things improved with pnpm v7.30.0 but they still are not fixed.
As a side note, I discovered the incredibly useful retry-step action, that enabled me to retry pnpm install automatically:
- name: pnpm install
uses: nick-fields/retry@v2.8.3
with:
max_attempts: 10
timeout_minutes: 15
retry_on: error
command: pnpm install --frozen-lockfile
Releases
- platformatic v0.18.0 renamed the
core
config todb
, to better brand/recognize the configuration file, it adds OpenAPI and GraphQL capabilities to Platformatic Service, and it ships several refactorings and bugfixes. - @fastify/cors v8.2.1 adds
normalizeCorsOptions
and handles wildcards in the origin parameter. - fastify v4.15.0 is out with a few critical fixes and an improvement on the
prettyPrint
for the routing tree. Welcome to metcoder95 as a Fastify collaborator! - sonic-boom v3.3.0 retries on
EBUSY
Articles
-
Have you ever worked on a project following the SAFe methodology? I hope not. Read “The SAFe Delusion – Information for decision-makers considering the SAFe framework”.
-
In “There's no such thing as the fundamentals of web development”, Seldo argues that there is space on the Web development job market for all skill levels. Do you agree?
-
Do you think that AI will take over your software development job? My point of view aligns with the one presented in “The End of Front-End Development”.
Upcoming Events
If you would like to meet me in person, you will find me at these upcoming events:
- Open Source Day - Florence, Italy, 24th of March
- CityJS - London, UK - 31st of March
- JSDay 2023 - Verona, Italy - 12-14th of April
- Node Congress - Berlin, Germany - 14th of April
- Open Source Summit / OpenJS World / OpenJS Collaborators' Summit - Vancouver, Canada - 9-12th of May