SAML Single Logout (SLO)

Posted 9 days ago by Martin Schaflitzl.

There are two ways a logout in SAML can happen: Service Provider (SP) initiated and Identity Provider (IDP) initiated logout...

Problems with git submodules in Gitlab CI

Posted 14 days ago by Tobias Kraze.

If you are using git submodules in Gitlab CI, you might run into a "The project you were looking for...

Heads up: You should always use "current_window.resize_to" to resize the browser window in tests

Posted 3 months ago by Michael Leimstädtner.

I recently noticed a new kind of flaky tests on the slow free tier GitHub Action runners: Integration tests were...

Where to keep project files that should not go to Git

Posted 3 months ago by Dominik Schöler.

Sometimes you have a file that is related to a project, while not actually being part of it. You'd...

Best practices: Writing a Rails script (and how to test it)

Posted 3 months ago by Dominik Schöler.

A Rails script lives in lib/scripts and is run with bin/rails runner lib/scripts/.... They are a simple tool to perform...

Ignore commits when git blaming

Posted 4 months ago by Niklas Hä..

You can ignore certain commits when using git blame with the --ignore-revs-file option. This is handy to ignore...

Disable PostgreSQL's Write-Ahead Log to speed up tests

Posted 4 months ago by Michael Leimstädtner.
edgeapi.rubyonrails.org

The linked article suggests an interesting way to speed up tests of Rails + Postgres apps: PostgreSQL allows the creation of...

Gitlab: How to cancel redundant pipelines

Posted 4 months ago by Emanuel.

In the Gitlab settings the flag Auto-cancel redundant pipelines is enabled by default. This auto-cancels jobs that have...

Transfer records to restore database entries (with Marshal)

Posted 5 months ago by Daniel Straßner.

If you ever need to restore exact records from one database to another, Marshal might come in handy. Marshal.dump is...

Heads Up: Selenium 4 uses a binary to determine the chromedriver

Posted 6 months ago by Florian Leinsinger.
selenium.dev

I recently stumbled over a problem that my feature tests broke in CI because of a mismatching chromedriver version.

How to make sure that manual deploy tasks (scheduled in Pivotal Tracker) are executed on deploy (with Capistrano)

Posted 6 months ago by Dominik Schöler.

We regularly have tasks that need to be performed around a deploy. Be it to notify operations about changed application...

Advanced plotting in Ruby with Gnuplot

Posted 7 months ago by Felix Eschey.

Besides Plotting graphs in Ruby with Gruff, which comes handy for many uses cases, you sometimes might need configuration for...

Split your parallel tests by execution time and keep execution logs up to date

Posted 7 months ago by Felix Eschey.

Both knapsack and parallel_tests have the option to split groups by historic execution time. The required logs for this...

Lightning Talk: Coverage based Test Case Prioritization in Ruby on Rails

Posted 7 months ago by Felix Eschey.
github.com

For my computer science bachelor's thesis I programmed and evaluated a CLI Test Case Prioritization (TCP) tool for makandra...

Git restore vs. reset for reverting previous revisions

Posted 7 months ago by Felix Eschey.

The git doc states on the difference of these two commands: git-restore[1] is about restoring files in the...

Postgres in Alpine docker container: sorting order might differ

Posted 8 months ago by Daniel Straßner.

In CI test runs I noticed that string sorting order changed after switching from a debian-based PostgreSQL docker image...

Useful filtering options of git log

Posted 8 months ago by Felix Eschey.
atlassian.com

Git log offers useful options for filtering. This card provides a short overview. By message Only commits that include a...

Using git patchfiles to speed up similar implementation tasks

Posted 9 months ago by Michael Leimstädtner.

Sometimes you'll find yourself with a set of tasks that require similar code for different models. For example, if...

Git: Splitting up changes into several commits

Posted 9 months ago by Felix Eschey.

Splitting up commits makes the process of reviewing often easier, since you can create several merge requests or review every...

Best practice: How to manage versions in a package.json

Posted 9 months ago by Emanuel.

It most cases it's not necessary to add a version constraint next to your packages in the package.json. Since...

Best practice: How to manage versions in a Gemfile

Posted 9 months ago by Emanuel.

It most cases it's not necessary to add a version constraint next to your gems in the Gemfile. Since...

Local deployment after pipeline succeeds

Posted 9 months ago by Michael Leimstädtner.

If you have a fully functional CI pipeline but no CD, you might find yourself frequently waiting for CI (with...

How to configure case insensitive git output

Posted 9 months ago by Michael Leimstädtner.

Git commands like diff use the less binary for their output representation. I often find myself searching for strings like...

Code splitting in esbuild: Caveats and setup

Posted 9 months ago by Henning Koch.

TL;DR Still has caveats. Code splitting is a feature of JavaScript bundlers that can keep huge libraries out of...