<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Vojta Biberle</title>
    <description>The latest articles on DEV Community by Vojta Biberle (@vojtabiberle).</description>
    <link>https://dev.to/vojtabiberle</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F250993%2F59c218eb-0cd6-46c2-a94f-acfece57b63f.jpg</url>
      <title>DEV Community: Vojta Biberle</title>
      <link>https://dev.to/vojtabiberle</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vojtabiberle"/>
    <language>en</language>
    <item>
      <title>Dark factory in two sentences</title>
      <dc:creator>Vojta Biberle</dc:creator>
      <pubDate>Thu, 12 Nov 2026 21:48:55 +0000</pubDate>
      <link>https://dev.to/vojtabiberle/dark-factory-in-two-sentences-3eho</link>
      <guid>https://dev.to/vojtabiberle/dark-factory-in-two-sentences-3eho</guid>
      <description>&lt;p&gt;Keboola Connection still has part of the system running on Zend Framework 1, the rest is already in Symfony. We're trying to cut that old part out, as much and as fast as we can. A short prompt was enough: in about 22 hours, 13 pull requests were merged. Three more are open. And it can keep going for as long as any Zend remains in Connection.&lt;/p&gt;

&lt;h2&gt;
  
  
  A factory with the lights off
&lt;/h2&gt;

&lt;p&gt;A dark factory, sometimes called a lights-out factory, is a manufacturing term for production that can run with almost no people on the shop floor. The lights can stay off because nobody has to stand at the line. Machines take in material, they manufacture, and a finished piece comes out the other end. A person built the line first, set the rules, and then shows up mainly when something needs maintenance, a quality check, or an intervention. Very few factories actually run like this around the clock with no people at all. As an idea, though, it fits.&lt;/p&gt;

&lt;p&gt;And that's exactly what this experiment is about. Not whether an agent can remove Zend in one shot. Whether a solid harness can give you a line that runs on its own. Once you have that, a short prompt is enough.&lt;/p&gt;

&lt;h2&gt;
  
  
  All I had to write was this
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Your goal is to get as much of the Zend out of Connection as you can. You have until Friday.

Work in worktrees, use the skills in the repo for removing Zend, and don't open too many PRs at once, so we can keep up with merging them.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's the whole brief. No long plan, no drip-feeding tasks from my side. The goal and the deadline: as much Zend gone as possible by Friday. The rest is guardrails. Each agent in its own worktree, so they don't step on each other. Use the skills that are already in the repo. And don't flood us with PRs, because we still have to get them merged.&lt;/p&gt;

&lt;p&gt;The prompt doesn't say how a task is taken all the way to merge, that every PR should be tested with end-to-end tests, how merging to master works, what still needs to be cut away, or which gate is satisfied by a bot approval and which one wants a human. All of that is already in the setup. That's why two sentences are enough. Without what's underneath, it would just be a bold message in a chat window.&lt;/p&gt;

&lt;h2&gt;
  
  
  The map matters more than the skill
&lt;/h2&gt;

&lt;p&gt;The last piece in there is a skill called &lt;code&gt;migrate-highway&lt;/code&gt;. The skill itself isn't all that important. What matters is the map that comes with it.&lt;/p&gt;

&lt;p&gt;It says which files in the modern part of the application still depend on the old one. What has to be cut out, rewritten, reformatted, have constants converted, and so on. I generated the map once with help from AI. Now AI rewrites it and a script checks it. The agent doesn't have to rediscover it at the start. It has a map, picks the next piece from it, and moves on.&lt;/p&gt;

&lt;p&gt;I removed 56 dependencies from the new codebase on the old one.&lt;/p&gt;

&lt;h2&gt;
  
  
  From Linear to merge
&lt;/h2&gt;

&lt;p&gt;Around that map we still have the same skills as in the setup. &lt;code&gt;ship-task&lt;/code&gt; takes a task from Linear and gets it to just before merge. The gates are described in the skills. Some things can be merged on a bot approval alone. Some need a human review.&lt;/p&gt;

&lt;p&gt;So it isn't just "here's a file, rewrite it". The agent picks up the work from Linear and sees it through. Every PR follows the same path: draft, E2E, the &lt;code&gt;ai-review&lt;/code&gt; label, switching to ready, and joining the merge queue. One agent per git worktree.&lt;/p&gt;

&lt;p&gt;On top of that we have skills for E2E tests, watching PRs and review threads, pre-commit checks, and endpoint migration.&lt;/p&gt;

&lt;p&gt;When the gates say a bot is enough, it can go on without a human. When they say a human review is needed, it waits. Once a person approves, it merges automatically. The human hasn't left the line. They still approve what human review requires. They just don't have to stand at every step and push the work forward by hand.&lt;/p&gt;

&lt;p&gt;BTW, we didn't build this harness for this one experiment. I described what the setup looks like for us in &lt;a href="https://vojta.biberle.cz/en/blog/everyone-has-better-models" rel="noopener noreferrer"&gt;Everyone has better models. Why do some teams fly while others don't?&lt;/a&gt;. Here I just pointed it at one clear goal and let it run.&lt;/p&gt;

&lt;h2&gt;
  
  
  13 PRs in 22 hours
&lt;/h2&gt;

&lt;p&gt;The main Claude Code session is the organizer. It starts subagents, they take care of the specific tasks, and it only checks whether they met all the conditions for a merge to master. And they go, and go, and go, until the goal is met.&lt;/p&gt;

&lt;p&gt;I just tried it. In about 22 hours, 13 PRs were merged, three are open, 16 in total. One of the open ones is already in the merge queue, two are waiting for approval, and one of those still has E2E running after a rebase. Nothing is stuck.&lt;/p&gt;

&lt;p&gt;The median from open to merge is about two hours. The fastest PR was done in 57 minutes. The ones that went out overnight waited 10 to 13 hours for review. One PR took 5.7 hours because of a long E2E queue and a bug fix.&lt;/p&gt;

&lt;p&gt;The merged changes were small. Roles, quoting, admin features, a component detail, a table profile, a metadata fix, a metadata contract, a UI app detail, an event application, decomposing a string ID, dead Zend views, a table metadata list, constants for a file storage provider.&lt;/p&gt;

&lt;p&gt;Two things slow it down the most: the E2E queue and waiting for human approvals. Single-suite runs line up in the queue with other runs, and the wait is typically 30 to 90 minutes. On some PRs the reviewer bot comes back with &lt;code&gt;needs_human&lt;/code&gt;. And once a review is sitting with a person, the agent does not ask again, those are the rules.&lt;/p&gt;

&lt;p&gt;Twice it kicked off E2E before the PR image was built, and once with the wrong filter. It fixed that itself. One mistake: it picked a candidate from a stale local &lt;code&gt;main&lt;/code&gt;, and that piece was already done in a merged PR. All that was lost was the agent's time. Since then it picks candidates from &lt;code&gt;origin/master&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Those 70 remaining actions won't get done without a human, that's true. But the Zend dependencies are going down, and the line keeps running overnight. Pretty cool.&lt;/p&gt;




&lt;p&gt;How far do you let an agent run unattended? And what do your merge gates look like — can a bot approve, or does a human always have to sign off?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claudecode</category>
      <category>productivity</category>
      <category>programming</category>
    </item>
    <item>
      <title>Vibe engineering won't be enough</title>
      <dc:creator>Vojta Biberle</dc:creator>
      <pubDate>Mon, 09 Nov 2026 06:06:07 +0000</pubDate>
      <link>https://dev.to/vojtabiberle/vibe-engineering-wont-be-enough-432p</link>
      <guid>https://dev.to/vojtabiberle/vibe-engineering-wont-be-enough-432p</guid>
      <description>&lt;p&gt;Vibe coding works. I built a photo collage tool that way myself. Vibe engineering goes a step further: the agent writes and the engineer steers. But I think even that won't be enough.&lt;/p&gt;

&lt;h2&gt;
  
  
  Vibe coding works. For collages.
&lt;/h2&gt;

&lt;p&gt;I admit it, I tried vibe coding and it worked :-D I needed a simple tool for photo collages. I described what I wanted, the agent wrote it, a few times I said "move this" and "make this bigger" and it was done. I never really looked at the code.&lt;/p&gt;

&lt;p&gt;And you know what? That's completely fine. A tool for me, nothing in production, no sensitive data. If it breaks, I'll write a new one.&lt;/p&gt;

&lt;p&gt;The problem starts when you try the same approach on a production system. There it's no longer about whether the collage renders. It's about customer data, security, operations. And "it works, so I'll leave it" isn't enough there.&lt;/p&gt;

&lt;h2&gt;
  
  
  Vibe engineering is the right direction
&lt;/h2&gt;

&lt;p&gt;Vibe engineering does it better. The agent writes the code, the engineer steers, verifies and sets the rules. The agent gets context, boundaries and tools. The result goes through tests, CI and review.&lt;/p&gt;

&lt;p&gt;I described what this setup looks like for us in the article &lt;a href="https://vojta.biberle.cz/en/blog/everyone-has-better-models" rel="noopener noreferrer"&gt;Everyone has better models. Why do some teams fly while others don't?&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;But even that is, in my opinion, just an intermediate step.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code as the new assembler
&lt;/h2&gt;

&lt;p&gt;When did you last read the assembler your compiler spat out? Exactly.&lt;/p&gt;

&lt;p&gt;I think AI-generated code will end up the same way. Fewer and fewer people will read it line by line. There won't be time for it and, more importantly, it won't make sense. The value moves elsewhere. To checking intent, behavior and results.&lt;/p&gt;

&lt;p&gt;Sure, the comparison is not perfect. A compiler is deterministic, an LLM isn't. Same prompt twice, two different results. But that's exactly why tests, CI and verifying the result will matter even more than today. If I no longer read the code, I have to be able to verify it does what it should.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ticket closed, product not delivered
&lt;/h2&gt;

&lt;p&gt;If the agent can write the code, what's left for the engineer? Everything else, I think.&lt;/p&gt;

&lt;p&gt;Understanding the problem. Knowing who the user is and what they really need. Deciding what to do and what not to do. Deploying. Measuring whether it helped. And then taking care of it in production.&lt;/p&gt;

&lt;p&gt;Product engineering instead of "I closed the ticket". Nobody cares about a closed ticket. They care whether the product works.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I won't hand to an agent without understanding it
&lt;/h2&gt;

&lt;p&gt;Then there are things that stay with the human. Not because the agent can't write them. It can. But without understanding them, I can't tell whether it wrote them well.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Encryption.&lt;/li&gt;
&lt;li&gt;Authentication and authorization.&lt;/li&gt;
&lt;li&gt;Databases and data consistency.&lt;/li&gt;
&lt;li&gt;Performance.&lt;/li&gt;
&lt;li&gt;Security.&lt;/li&gt;
&lt;li&gt;Operations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A real example? Token refresh. The agent wrote code that looked completely fine and the tests passed. But I found flaws in it. A short-lived token could create a long-lived one, which completely bypassed the intent that access should expire after some time. And elsewhere a token allowed reading data longer than intended.&lt;/p&gt;

&lt;p&gt;No test failed. No error message. The code did exactly what was written in it, just not what we wanted. If you don't understand how tokens and authorization work, a bug like this will get past you even in review.&lt;/p&gt;

&lt;h2&gt;
  
  
  What makes a good engineer today
&lt;/h2&gt;

&lt;p&gt;A good engineer in the age of agents:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;gives the agent context and boundaries,&lt;/li&gt;
&lt;li&gt;verifies the result with tests and CI, not by gut feeling,&lt;/li&gt;
&lt;li&gt;knows where to trust AI and where not to.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The last one is the hardest. And the only way to learn it is to really understand the things underneath.&lt;/p&gt;

&lt;h2&gt;
  
  
  So what now
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Deliver the product, not just tasks.&lt;/strong&gt; From the problem all the way to production.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Invest in the hard fundamentals.&lt;/strong&gt; Security, data, distributed systems. The agent can't judge this for you.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Build a setup where the agent works safely.&lt;/strong&gt; Rules, tests, CI, review.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Code is becoming assembler. The engineer is becoming a product architect. Whoever stays at just writing code will be the first one the agent catches up with.&lt;/p&gt;




&lt;p&gt;What won't you hand to an agent without understanding it yourself? For me it's auth and tokens. What's on your list?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>vibecoding</category>
      <category>programming</category>
      <category>career</category>
    </item>
    <item>
      <title>Everyone has better models. Why do some teams fly while others don't?</title>
      <dc:creator>Vojta Biberle</dc:creator>
      <pubDate>Wed, 04 Nov 2026 20:56:17 +0000</pubDate>
      <link>https://dev.to/vojtabiberle/everyone-has-better-models-why-do-some-teams-fly-while-others-dont-40nl</link>
      <guid>https://dev.to/vojtabiberle/everyone-has-better-models-why-do-some-teams-fly-while-others-dont-40nl</guid>
      <description>&lt;p&gt;Models got dramatically better over the past year. But they got better for everyone. In that time, our team went from 5.3 to 13.7 PRs per person per month, and I personally went from 4.8 to 51.3. Did you improve that much too? If not, here are a few things that work for us and might well help you as well.&lt;/p&gt;

&lt;h2&gt;
  
  
  Same model, different results
&lt;/h2&gt;

&lt;p&gt;Claude, GPT, Gemini. We all have access to the same models. So when one team flies with a better model and another stays stuck in place, it's not the model. It's what the team built around it. Rules, tools, skills, CI.&lt;/p&gt;

&lt;p&gt;To be honest right at the start: the models themselves did a big part of our speedup. I won't pretend we came up with everything ourselves. What I want to show is what we built around them and what I actually see in the numbers.&lt;/p&gt;

&lt;p&gt;All of this is about the Keboola Connection repository. Five of us work on it in our team; other contributors come from other teams. I'm comparing the winter and spring at the turn of 2024 and 2025 with this summer and autumn.&lt;/p&gt;

&lt;h2&gt;
  
  
  Numbers first
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;December 2024 – May 2025&lt;/th&gt;
&lt;th&gt;June – October 2026&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;PRs per person per month (team)&lt;/td&gt;
&lt;td&gt;5.3&lt;/td&gt;
&lt;td&gt;13.7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;My PRs per month&lt;/td&gt;
&lt;td&gt;4.8&lt;/td&gt;
&lt;td&gt;51.3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;My median time to merge&lt;/td&gt;
&lt;td&gt;48.9 h&lt;/td&gt;
&lt;td&gt;18.6 h&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Review bot comments per PR&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;2.7&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgrgnra3nxsrgi5tsegti.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgrgnra3nxsrgi5tsegti.webp" alt="Weekly pull request counts" width="800" height="202"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Weekly PR counts in the repository from March to the end of October 2026.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Once again: part of this is purely better models. And most of our skills leave no trace, so take all the numbers below as a lower bound.&lt;/p&gt;

&lt;p&gt;So what did we actually do?&lt;/p&gt;

&lt;h2&gt;
  
  
  Rules in one place
&lt;/h2&gt;

&lt;p&gt;We used to have only &lt;code&gt;CLAUDE.md&lt;/code&gt;. But we wanted to open the repo to other agents too, so in June 2025 we made &lt;code&gt;AGENTS.md&lt;/code&gt; the single entry point for rules. &lt;code&gt;CLAUDE.md&lt;/code&gt; now just imports it. And comments written by AI are signed. You can tell at a glance what a human wrote and what an agent wrote.&lt;/p&gt;

&lt;h2&gt;
  
  
  One entry point for humans and agents
&lt;/h2&gt;

&lt;p&gt;In April 2026, Martin Zajíc, with whom I'm putting together our whole agentic setup, and I built &lt;code&gt;./bin/kbc&lt;/code&gt;. One CLI for everything. Running tests, static analysis, preparing the environment. Today it has 65 tasks, and 21 of our 33 skills refer to it. Plus &lt;code&gt;kbc doctor&lt;/code&gt;, which checks whether your environment is in order.&lt;/p&gt;

&lt;p&gt;Each of us uses it several times a day, and agents many times more. When the agent and the human use the same command, the agent doesn't have to guess how things are run here. And neither does the human :-)&lt;/p&gt;

&lt;h2&gt;
  
  
  Skills for repetitive work
&lt;/h2&gt;

&lt;p&gt;In March 2025, Martin wrote a guide for migrating endpoints. This February, he turned it into the &lt;code&gt;migrate-endpoint&lt;/code&gt; skill. In September, I followed up with the &lt;code&gt;migrate-highway&lt;/code&gt; skill.&lt;/p&gt;

&lt;p&gt;Then the migrations took off. We went from 3.7 migrated actions per month to 23.2. Of the 270 old Zend actions, 72 are left.&lt;/p&gt;

&lt;p&gt;Sure, the timing overlaps with the arrival of better models. But the main benefit of the skill is elsewhere. With one simple call, the agent knows what to do. You don't have to explain anything, show it anything or look after it. It does the whole thing by itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  The agent runs E2E tests by itself
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;run-e2e-ci&lt;/code&gt; skill triggers the E2E Single Suite workflow in CI. It can run a whole suite or just a single test. In October alone, we ran it 238 times.&lt;/p&gt;

&lt;p&gt;None of us has to deal with setting up a local environment anymore. And ours is really complicated because of testing Snowflake, BigQuery and other tricky cases. The author of a change just sets up CI, writes the test, and then anyone who changes the same code can run it.&lt;/p&gt;

&lt;p&gt;I wrote about how we sped up those E2E tests in the first place in &lt;a href="https://vojta.biberle.cz/en/blog/speeding-up-e2e-tests-in-github-actions" rel="noopener noreferrer"&gt;How I sped up E2E tests at Keboola&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ready-for-review PRs without a human
&lt;/h2&gt;

&lt;p&gt;For me, this is probably the most important piece. The &lt;code&gt;babysit-pr&lt;/code&gt; skill watches over a PR. It handles failing CI and review comments. Agents talk to each other through GitHub comments and resolve most objections before a human even has to start paying attention.&lt;/p&gt;

&lt;p&gt;So what comes out of the AI is a PR that's ready for review. Without any human involvement.&lt;/p&gt;

&lt;p&gt;Seven to eight people use it, and in September and October the agent babysat over a hundred PRs a month this way.&lt;/p&gt;

&lt;h2&gt;
  
  
  A second review bot for when Copilot hits its limits
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;ai-review&lt;/code&gt; label adds our own review bot to a PR. It runs on Gemini and gives us another review instead of Copilot when Copilot runs out of limits. The code is on GitHub as &lt;a href="https://github.com/vojtabiberle/ai-codereviewer" rel="noopener noreferrer"&gt;ai-codereviewer&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;We've had it since March 2025, and in October alone others added it to PRs 183 times. Meanwhile, the median time to merge dropped from 49 h to 26 h, and that was even before the team started using Claude Code.&lt;/p&gt;

&lt;h2&gt;
  
  
  From Linear all the way to a PR ready for review
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;ship-task&lt;/code&gt; skill takes a task from Linear and drives it all the way to a PR ready for human review. 53 of my PRs were created this way, with a median time to merge of 15.9 h. For PRs of the same size without it, it's 49.2 h.&lt;/p&gt;

&lt;p&gt;An agent can always handle a well-prepared task in Linear or an RFC, so of course preparation matters a lot. But again, the main advantage of &lt;code&gt;ship-task&lt;/code&gt; is that it makes our work easier. All it needs is a Linear issue ID or a markdown file with the task, and one simple prompt guides the agent through the whole journey. First, it analyzes the task again, because the code may have moved on since the task was written, and prepares a plan. That's the only point where it waits for my approval. Then it implements the task in an isolated worktree, does its own review, runs the tests including E2E, and opens a draft PR. Next, it starts &lt;code&gt;babysit-pr&lt;/code&gt; in a subagent, which watches CI and handles review threads from bots and signed AI reviews. It never resolves human threads by itself. When everything is green, it flips the PR to ready-for-review and keeps watching it until a human approves it. You write one quick line, approve the plan, and a few dozen minutes later you come back to a green PR that has already gone through the agentic review rounds and is waiting for human review.&lt;/p&gt;

&lt;h2&gt;
  
  
  The agent cleans up technical debt
&lt;/h2&gt;

&lt;p&gt;The PHPStan baseline. That file where you hide the errors you "don't have time for right now". We had 2,467 errors in it. Today there are 1,081. They're being cleaned up by a skill that picks an error, fixes it and verifies the fix.&lt;/p&gt;

&lt;p&gt;This is exactly the kind of work nobody ever has time for, and the agent doesn't mind.&lt;/p&gt;

&lt;h2&gt;
  
  
  Open doors for other agents
&lt;/h2&gt;

&lt;p&gt;The team mainly uses Claude Code. But we didn't want to lock ourselves into one agent. So we moved 31 skills to &lt;code&gt;.agents/skills&lt;/code&gt;, which means they also work with Codex and Copilot. Right after that, the first review comments from Codex showed up on PRs.&lt;/p&gt;

&lt;p&gt;The main benefit is elsewhere, though. Now people from other teams in the company can come with their own agents, and their PRs can mostly be merged without major changes. And we have the door open to other agents and experiments.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where I'd start
&lt;/h2&gt;

&lt;p&gt;The overall PR volume grew mainly thanks to the models. The setup doesn't work miracles by itself. But without it, we practically couldn't handle that many PRs at all.&lt;/p&gt;

&lt;p&gt;If I were building it again, I'd go in this order:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Rules in one place (&lt;code&gt;AGENTS.md&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;One CLI entry point for humans and agents.&lt;/li&gt;
&lt;li&gt;Skills for repetitive work.&lt;/li&gt;
&lt;li&gt;CI the agent can run by itself.&lt;/li&gt;
&lt;li&gt;An agent that watches the PR until it's ready for review.&lt;/li&gt;
&lt;li&gt;Independence from a single agent.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You get a better model for free. Everything around it, you have to build yourself.&lt;/p&gt;




&lt;p&gt;What made the biggest difference for your team around the model? A shared CLI, skills, an agent watching your PRs, or something I haven't tried yet?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>devops</category>
      <category>programming</category>
    </item>
    <item>
      <title>How I sped up E2E tests at Keboola</title>
      <dc:creator>Vojta Biberle</dc:creator>
      <pubDate>Wed, 28 Oct 2026 12:48:14 +0000</pubDate>
      <link>https://dev.to/vojtabiberle/how-i-sped-up-e2e-tests-at-keboola-224n</link>
      <guid>https://dev.to/vojtabiberle/how-i-sped-up-e2e-tests-at-keboola-224n</guid>
      <description>&lt;p&gt;At Keboola, we test. A lot. And when one CI cycle takes over two hours, you start wondering where all that time goes.&lt;/p&gt;

&lt;p&gt;We have 2,589 E2E tests and 5,127 unit tests. Unit tests don't trouble us much: they take a few minutes in CI. We run them everywhere. On every commit in a PR and on &lt;code&gt;master&lt;/code&gt;. But those E2E tests. There are fewer of them, but they exercise the whole system. From API calls through queues to backend databases such as Snowflake and BigQuery.&lt;/p&gt;

&lt;p&gt;Add data providers to the E2E test count and we end up with 3,626 individual test executions in CI. And this took a LONG time. A full cycle took over two hours, with at least an hour and a half spent on E2E tests alone. The rest was setup and other checks. Sometimes a run took even longer because some operations, particularly around BigQuery, needed retries due to eventual consistency.&lt;/p&gt;

&lt;p&gt;BTW, about 40% of our unit tests are mock-heavy, and we're increasingly coming to think that those kinds of unit tests are pointless in agentic engineering. AI always writes them “green.” It finds a way to get there, and you pay in tokens to generate them, more tokens to update them when something changes, and most of the time nobody will read them closely anyway. They just eat into the precious time available for each turn. But that's a topic for another day.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting tests down to around an hour
&lt;/h2&gt;

&lt;p&gt;First, we tried the usual things: add resources, add another machine for PR E2E tests so runs on &lt;code&gt;master&lt;/code&gt; can finish sooner. None of that made a substantial difference.&lt;/p&gt;

&lt;p&gt;I do have to admit that the support I added to GitHub Actions for running a single suite, part of a suite, or even one test made it much faster to test a PR before it reached &lt;code&gt;master&lt;/code&gt;. That helped the whole team a lot.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where does the time go?
&lt;/h2&gt;

&lt;p&gt;We started out blind. CI didn't give us detailed timings showing exactly what was consuming the time. So my first step was to add a few metrics that would guide the rest of the optimization.&lt;/p&gt;

&lt;p&gt;I added API request timings for each phase of a test. How much time went into preparing the environment, running the test itself, waiting for asynchronous jobs, and cleaning up afterward?&lt;/p&gt;

&lt;p&gt;Interesting things started to emerge. Helper methods kept asking the API for the same information over and over. Sometimes the first API call returned everything needed for test setup, only for the suite to immediately request the resource details containing that same information. Individually, these were small, quick, easy-to-miss operations. Together, they consumed a substantial part of the run.&lt;/p&gt;

&lt;p&gt;One such check made over five thousand requests during a suite run and took more than twelve minutes. Yet the information was available from a single listing. Another helper added about four seconds to every test. That doesn't sound terrible on its own. Except that in one suite, it added up to almost 27 minutes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Clean up after yourself!
&lt;/h2&gt;

&lt;p&gt;Looking at the timings for &lt;code&gt;setUp&lt;/code&gt;, the test itself, and &lt;code&gt;tearDown&lt;/code&gt; brought another surprise. Our tests spent an enormous amount of time in &lt;code&gt;setUp&lt;/code&gt;. They checked whether the objects they needed existed, looked for leftovers from previous runs — a badly behaved test that didn't clean up, or a crashed test that never got the chance — and recreated the resources they needed.&lt;/p&gt;

&lt;p&gt;Many tests also used non-unique resource names, and their execution and cleanup affected far more than they should. With concurrent runs, one test could delete something another test still needed.&lt;/p&gt;

&lt;p&gt;Those are always fun to track down. A test passes once, fails the next time, and looks perfectly healthy when run on its own because nobody else is touching its work :-)&lt;/p&gt;

&lt;p&gt;Next, I fixed resource naming so every test created its own unique objects and only managed those. I fixed cleanup so it wouldn't interfere with other suites, and simplified the whole thing.&lt;/p&gt;

&lt;p&gt;This could only be properly tested in CI, where plenty of tests can run side by side. The CI server I mentioned earlier, with support for running individual suites, was a big help here. My testing cycle went from several hours to a few dozen minutes.&lt;/p&gt;

&lt;p&gt;Test isolation also laid the groundwork for the next step: increasing parallelism and adding more processes to run the tests.&lt;/p&gt;

&lt;h2&gt;
  
  
  Everyone's finished except one
&lt;/h2&gt;

&lt;p&gt;Then came the division of work. Initially, our runner split tests into parallel chunks based on their count and a simple ordering. But two equally sized piles of tests can take very different amounts of time.&lt;/p&gt;

&lt;p&gt;A slow class would end up in one chunk, keeping its process busy for almost an hour while the others had already finished. Things were running in parallel, but the whole suite was still held up by one straggler.&lt;/p&gt;

&lt;p&gt;So I started saving individual test durations as a GitHub Actions artifact. I took the timings from the JUnit report. On the next run, the runner would load the saved timings and distribute tests into chunks expected to take roughly the same amount of time.&lt;/p&gt;

&lt;p&gt;If timings were missing for an entire suite, it kept the previous split. If a single test had no timing, it used the median test duration for that suite. The next run would have an actual measurement for it.&lt;/p&gt;

&lt;p&gt;There was one catch: runs on &lt;code&gt;master&lt;/code&gt; needed their own timing history. A PR artifact didn't automatically replace it. So although I'd tested the change in a PR, the first run on &lt;code&gt;master&lt;/code&gt; was still slow. It had to save timings for subsequent runs first. Then came the expected improvement: tens of minutes shaved off the run.&lt;/p&gt;

&lt;h2&gt;
  
  
  The other end has to keep up too
&lt;/h2&gt;

&lt;p&gt;The tests don't put that much load on the GitHub Actions runner itself. They call real APIs, create workspaces, and wait for data from Keboola. But the servers processing all of that have quite a bit to do when so many tests run in parallel.&lt;/p&gt;

&lt;p&gt;Another piece of the puzzle was measuring how long tests waited for asynchronous background processing and watching our worker utilization in Datadog.&lt;/p&gt;

&lt;p&gt;I found that we didn't have enough worker capacity. Increasing resources for the main application, as I'd described at the beginning, wasn't enough. Another system component was a bottleneck too. More parallel tests would simply have created a longer queue in front of it.&lt;/p&gt;

&lt;p&gt;After these changes, the E2E tests themselves came down to roughly an hour. The median successful run from the evening of October 14 onward is 66 minutes. The full cycle, including preparation and other checks, takes about an hour and a half.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2f83pmy7lddmvonielsw.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2f83pmy7lddmvonielsw.webp" alt="Weekly average durations of individual E2E suites, showing a drop in the slowest suites after week 40." width="800" height="327"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Looking at longer periods, the comparison is:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Successful E2E runs&lt;/th&gt;
&lt;th&gt;April 14–May 12&lt;/th&gt;
&lt;th&gt;September 30–October 28&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Number of runs&lt;/td&gt;
&lt;td&gt;22&lt;/td&gt;
&lt;td&gt;90&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Average duration&lt;/td&gt;
&lt;td&gt;102 min&lt;/td&gt;
&lt;td&gt;69 min&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Median duration&lt;/td&gt;
&lt;td&gt;101 min&lt;/td&gt;
&lt;td&gt;67 min&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Median runner-minutes&lt;/td&gt;
&lt;td&gt;1,075&lt;/td&gt;
&lt;td&gt;901&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That's a 32% reduction in the average wait for a successful E2E run. Meanwhile, the number of suites increased from 28 to 31. Median runner-minutes, the sum of the durations of individual jobs, fell by 16%. So this isn't simply a case of consuming more machine time at once.&lt;/p&gt;

&lt;p&gt;Here, I'm measuring from the start of the first E2E suite to the end of the last. Queue time and environment deployment aren't included. And I'm still comparing successful runs: failing runs with retries can remain long. Across all runs, p90 stayed at 152 minutes. The older sample of successful runs is also smaller, so I wouldn't read too much into individual minutes.&lt;/p&gt;

&lt;p&gt;We've also observed a change in the team: before the speedup, we could get two or three batches of PRs into production each day. Now it's six to eight, occasionally ten. CI timings alone obviously don't prove that faster tests caused the entire difference. But less waiting gives us more room to deliver further changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  A few extras from the reports
&lt;/h2&gt;

&lt;p&gt;During this work, I repeatedly saw individual tests run several times. A test might fail twice and pass on the third attempt. We have plenty of retries in the tests, mainly because of BigQuery, but also for other operations.&lt;/p&gt;

&lt;p&gt;I also saw a test fail consistently while retries stretched the suite to two and a half hours. Then the GitHub Actions runner cut it off.&lt;/p&gt;

&lt;p&gt;It wasn't just test-level retries, either. Test clients had their own retries with exponential backoff. A single deterministic error could hold a test up for about 34 minutes before it even got a chance to fail. If the suite then retried, we waited all over again. We therefore limited those clients to a single attempt.&lt;/p&gt;

&lt;p&gt;I added a report to the artifacts showing which tests needed retries and how much time they spent on them.&lt;/p&gt;

&lt;p&gt;Our workflow now also posts updates on each PR: whether tests have been started, whether they're waiting or running, and how they finished.&lt;/p&gt;

&lt;p&gt;Because #context matters!&lt;/p&gt;

&lt;p&gt;These details help both us developers and our agents. They don't have to look up the information through more GitHub API calls.&lt;/p&gt;

&lt;h2&gt;
  
  
  Hackathon
&lt;/h2&gt;

&lt;p&gt;Most of this work happened during a three-day team hackathon. We shut ourselves away, code around the same table from morning till night, drink beer, and eat cows and bulls off the grill. The finishing touches came during the week after the hackathon.&lt;/p&gt;

&lt;p&gt;I can wholeheartedly recommend doing something like this. I always feel that those three days of absolute focus let us deliver as much work as an entire month.&lt;/p&gt;




&lt;p&gt;Do you know where the time goes in your E2E suite? Have you ever measured setUp and tearDown separately from the test itself?&lt;/p&gt;

</description>
      <category>testing</category>
      <category>devops</category>
      <category>githubactions</category>
      <category>php</category>
    </item>
    <item>
      <title>Moving 30 PHPUnit Suites from Azure Pipelines to GitHub Actions</title>
      <dc:creator>Vojta Biberle</dc:creator>
      <pubDate>Tue, 20 Oct 2026 20:24:15 +0000</pubDate>
      <link>https://dev.to/vojtabiberle/moving-30-phpunit-suites-from-azure-pipelines-to-github-actions-4pf</link>
      <guid>https://dev.to/vojtabiberle/moving-30-phpunit-suites-from-azure-pipelines-to-github-actions-4pf</guid>
      <description>&lt;p&gt;Everything started on Azure Pipelines. A year ago we moved PR validation to GitHub Actions, but deployments and E2E testing stayed on Azure. I designed the final migration to bring everything into one place. Here's the architecture and what went wrong along the way.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Split Brain Problem
&lt;/h2&gt;

&lt;p&gt;After the first partial migration, the repository split CI/CD across two systems. GitHub Actions handled the lightweight stuff — linting, static analysis, unit tests, Docker builds. Azure Pipelines still owned the heavy stuff — pushing images to three cloud registries (ECR, GAR, ACR), deploying to three E2E testing stacks, running ~30 PHPUnit test suites, manual production approval, and production deployment.&lt;/p&gt;

&lt;p&gt;This split was painful in practice. Context-switching between two systems with different UIs, different secret management, different debugging tools. Azure's variable UI for managing hundreds of test secrets was clunky. And you couldn't test deploy workflows on feature branches — any change to the pipeline had to go straight to master to be verified.&lt;/p&gt;

&lt;p&gt;The goal was simple: consolidate everything into GitHub Actions and use its native features — environments with protection rules, matrix strategies, reusable workflows, OIDC authentication.&lt;/p&gt;

&lt;h2&gt;
  
  
  One Pipeline to Route Them All
&lt;/h2&gt;

&lt;p&gt;The core design decision was a single orchestrator workflow (&lt;code&gt;pipeline.yml&lt;/code&gt;) with a &lt;code&gt;resolve&lt;/code&gt; job that classifies every GitHub event and emits a routing plan. PR opened? Run CI only. Canary tag pushed? CI + canary deploy. Master push? CI + E2E deploy + production deploy (gated by approval).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="s2"&gt;"$EVENT"&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt;
  pull_request&lt;span class="o"&gt;)&lt;/span&gt;   &lt;span class="nv"&gt;IS_PR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt; &lt;span class="o"&gt;;&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  merge_group&lt;span class="o"&gt;)&lt;/span&gt;    &lt;span class="nv"&gt;IS_MERGE_GROUP&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt; &lt;span class="o"&gt;;&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  push&lt;span class="o"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt; &lt;span class="s2"&gt;"$REF"&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"refs/heads/master"&lt;/span&gt; &lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;then&lt;/span&gt; &lt;span class="nv"&gt;IS_MASTER&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;
    &lt;span class="k"&gt;elif&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt; &lt;span class="s2"&gt;"$REF_NAME"&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; canary-* &lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;then&lt;/span&gt; &lt;span class="nv"&gt;IS_CANARY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;
    &lt;span class="k"&gt;elif&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt; &lt;span class="s2"&gt;"$REF_NAME"&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; dev-* &lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;then&lt;/span&gt; &lt;span class="nv"&gt;IS_DEV_TAG&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;
    &lt;span class="k"&gt;fi&lt;/span&gt; &lt;span class="o"&gt;;&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;esac&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The resolve job outputs a JSON plan — pipeline type, deploy mode, image tag, routing flags — and every downstream job reads from it.&lt;/p&gt;

&lt;p&gt;The key insight here: everything uses &lt;code&gt;workflow_call&lt;/code&gt; (reusable workflows), not &lt;code&gt;workflow_run&lt;/code&gt;. The difference matters. &lt;code&gt;workflow_run&lt;/code&gt; only triggers from the default branch, which means you can't test your deploy pipeline from a feature branch. With &lt;code&gt;workflow_call&lt;/code&gt;, the orchestrator calls child workflows directly, and the whole thing works from any branch.&lt;/p&gt;

&lt;h2&gt;
  
  
  30 Matrix Jobs Instead of 4 Parallel Batches
&lt;/h2&gt;

&lt;p&gt;This was the core of the migration. The old Azure setup grouped ~30 test suites into 4 batches, each running 6-8 suites via GNU &lt;code&gt;parallel&lt;/code&gt; on a single runner. If one suite in a batch failed, you had to dig through the batch log to figure out which one. Re-running meant re-running the entire batch.&lt;/p&gt;

&lt;p&gt;The new setup: one matrix job per suite. Individual timeouts, individual pass/fail, individual re-runs.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;strategy&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;fail-fast&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
  &lt;span class="na"&gt;max-parallel&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;
  &lt;span class="na"&gt;matrix&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;include&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;suite:&lt;/span&gt; &lt;span class="s"&gt;api-tests&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;stack:&lt;/span&gt; &lt;span class="s"&gt;aws&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;processes:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;suite:&lt;/span&gt; &lt;span class="s"&gt;integration-part-1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;stack:&lt;/span&gt; &lt;span class="s"&gt;aws&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;processes:&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;suite:&lt;/span&gt; &lt;span class="s"&gt;integration-part-2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;testsuite:&lt;/span&gt; &lt;span class="s"&gt;integration&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;stack:&lt;/span&gt; &lt;span class="s"&gt;gcp&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;processes:&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s"&gt;suite:&lt;/span&gt; &lt;span class="s"&gt;storage-azure&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;stack:&lt;/span&gt; &lt;span class="s"&gt;azure&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;processes:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="c1"&gt;# ~30 suites across aws/azure/gcp
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Notice the &lt;code&gt;testsuite&lt;/code&gt; field on the third entry? That was the first surprise. The suite name (used for display and secret lookup) isn't always the same as the PHPUnit &lt;code&gt;--testsuite&lt;/code&gt; value. Some suites had been renamed over the years in the config but not in &lt;code&gt;phpunit.xml.dist&lt;/code&gt;, or vice versa. The docker run command handles this with a fallback:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker run --rm \
  --env-file &lt;span class="s2"&gt;"$ENV_FILE"&lt;/span&gt; \
  app_e2e \
  ./bin/parallel-retry.php \
    --processes=&lt;span class="nv"&gt;${{ matrix.processes || 1 }&lt;/span&gt;&lt;span class="o"&gt;}&lt;/span&gt; \
    --testsuite=&lt;span class="nv"&gt;${{ matrix.testsuite || matrix.suite }&lt;/span&gt;&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If &lt;code&gt;testsuite&lt;/code&gt; is defined in the matrix, use it. Otherwise, fall back to &lt;code&gt;suite&lt;/code&gt;. It's a legacy dependency we'll eventually clean up, but for now the fallback keeps it manageable — only took a couple of iterations to map them all correctly.&lt;/p&gt;

&lt;h2&gt;
  
  
  OIDC Everywhere (Almost)
&lt;/h2&gt;

&lt;p&gt;One of the wins of the migration: OIDC authentication for cloud registries. No more static credentials for pushing Docker images to AWS ECR or GCP Artifact Registry. The workflow authenticates using GitHub's OIDC token, and the cloud provider trusts the token based on the repository identity.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;aws-actions/configure-aws-credentials@v4&lt;/span&gt;
  &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;role-to-assume&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;arn:aws:iam::ACCOUNT_ID:role/ecr-push-role&lt;/span&gt;
    &lt;span class="na"&gt;aws-region&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;us-east-1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The role ARN is hardcoded in the workflow — it's a public resource identifier, not a secret. Same for GCP's workload identity provider. Zero static credentials for these two providers.&lt;/p&gt;

&lt;p&gt;The easy-to-forget gotcha: &lt;code&gt;id-token: write&lt;/code&gt; permission. Without it, the OIDC token request silently fails. I forgot it at least twice in new workflows.&lt;/p&gt;

&lt;p&gt;The exception was Azure Container Registry. Azure's OIDC implementation can't scope access to individual container repositories within a registry — it's all or nothing at the registry level. The workaround: scope map tokens (essentially a username/password pair scoped to specific repos). Not ideal, but Azure gave us no alternative for repo-level granularity.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where to Put 200 Secrets
&lt;/h2&gt;

&lt;p&gt;Each E2E suite needs a bunch of environment variables — API tokens, storage URLs, backend credentials. Across 30 suites and 3 cloud stacks, that's roughly 200 secrets. Azure Pipelines stored these as pipeline variables. Where do they go in GitHub Actions?&lt;/p&gt;

&lt;p&gt;Not in GitHub Environment variables — there are count limits, and our generator tool updates them frequently. Instead: GCP Secret Manager as an external store.&lt;/p&gt;

&lt;p&gt;The naming convention is self-describing: &lt;code&gt;&amp;lt;prefix&amp;gt;--&amp;lt;stack&amp;gt;--&amp;lt;suite&amp;gt;--&amp;lt;VAR_NAME&amp;gt;&lt;/code&gt;. For example: &lt;code&gt;e2e-tests--aws--common--API_TOKEN&lt;/code&gt;. The helper script discovers secrets at runtime by listing everything matching the pattern &lt;code&gt;{prefix}--{stack}--{suite}--*&lt;/code&gt;, extracts the variable name from the last segment, and builds a Docker &lt;code&gt;--env-file&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;No static config file needed. Add a secret to GCP, the suite picks it up automatically.&lt;/p&gt;

&lt;p&gt;The fun part was the parser. The legacy Azure variable names used &lt;code&gt;__&lt;/code&gt; as a delimiter — &lt;code&gt;SOME_VAR__API_TOKEN__AWS&lt;/code&gt;. But variable names themselves can contain &lt;code&gt;__&lt;/code&gt;. The parser had to split from the right to handle this correctly. Getting this wrong meant silent mismatches where a suite would load secrets from the wrong stack.&lt;/p&gt;

&lt;h2&gt;
  
  
  Production Deploys Without Burning Runners
&lt;/h2&gt;

&lt;p&gt;Azure Pipelines used &lt;code&gt;ManualValidation@0&lt;/code&gt; for production approval gates. It worked, but the runner sat occupied during the entire wait — up to 24 hours if nobody approved quickly.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-deployments/managing-environments-for-deployment#required-reviewers" rel="noopener noreferrer"&gt;GitHub Environments&lt;/a&gt; solve this cleanly. The &lt;code&gt;production&lt;/code&gt; environment has required reviewers and a branch restriction (master only). The deploy job targets this environment, and GitHub pauses the job until someone approves. No runner is allocated during the wait. Built-in audit trail of who approved what and when.&lt;/p&gt;

&lt;h2&gt;
  
  
  RFC vs. Reality
&lt;/h2&gt;

&lt;p&gt;I wrote a detailed RFC before starting — architecture diagrams, task checklists, phased rollout plan. It helped enormously for the big decisions (orchestrator pattern, matrix strategy, secret store choice). But the checklist drifted almost immediately once implementation started.&lt;/p&gt;

&lt;p&gt;The naming mismatches between matrix config, PHPUnit testsuites, and legacy Azure variables weren't in the RFC. The &lt;code&gt;id-token: write&lt;/code&gt; permission gotcha wasn't in the RFC. The fact that &lt;code&gt;workflow_run&lt;/code&gt; only triggers from the default branch — I discovered that the hard way after the first approach failed.&lt;/p&gt;

&lt;p&gt;Planning documents are maps, not territory. The map got me to the right continent, but navigating the streets required actually walking them.&lt;/p&gt;




&lt;p&gt;Did you also move a big pipeline to GitHub Actions? What bit you that wasn't in your plan?&lt;/p&gt;

</description>
      <category>devops</category>
      <category>githubactions</category>
      <category>cicd</category>
      <category>testing</category>
    </item>
    <item>
      <title>How This Blog Works in 2026</title>
      <dc:creator>Vojta Biberle</dc:creator>
      <pubDate>Fri, 13 Feb 2026 05:08:30 +0000</pubDate>
      <link>https://dev.to/vojtabiberle/how-this-blog-works-in-2026-4hpj</link>
      <guid>https://dev.to/vojtabiberle/how-this-blog-works-in-2026-4hpj</guid>
      <description>&lt;p&gt;Back in 2019 I wrote about how this blog works. A lot has changed since then — automated deploys, dev.to sync, AI-generated tweets. Time for an update.&lt;/p&gt;

&lt;h2&gt;
  
  
  Still Grav
&lt;/h2&gt;

&lt;p&gt;The foundation hasn't changed. Grav CMS, flat-file, PHP 8.2, Markdown, no database. Plugin updates and security patches aren't something I think about — Grav just runs.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;blog&lt;/code&gt; theme extends &lt;code&gt;quark&lt;/code&gt; and adds custom styles — alternating white/gray section backgrounds, a tag cloud with CSS custom properties, article cards. Pure vanilla JS.&lt;/p&gt;

&lt;p&gt;The site is bilingual — Czech (&lt;code&gt;*.cs.md&lt;/code&gt;) and English (&lt;code&gt;*.en.md&lt;/code&gt;). Every article has both files side by side.&lt;/p&gt;

&lt;h2&gt;
  
  
  Deploy via Deployer + GitLab CI
&lt;/h2&gt;

&lt;p&gt;This hasn't fundamentally changed since 2019, just gotten more solid. Deployer 7.3 handles the actual deploy — symlink strategy, shared dirs for cache, automatic cleanup of old releases.&lt;/p&gt;

&lt;p&gt;GitLab CI orchestrates everything:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Push to &lt;code&gt;master&lt;/code&gt;&lt;/strong&gt; triggers the pipeline&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Build image&lt;/strong&gt; — Docker image with PHP 8.2 and Deployer (only when &lt;code&gt;Dockerfile.ci&lt;/code&gt; changes)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deploy&lt;/strong&gt; — &lt;code&gt;dep deploy&lt;/code&gt; over SSH to &lt;code&gt;biberle.cz&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Maintenance&lt;/strong&gt; — dev.to sync and cache clearing&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The SSH key is stored as a base64 CI variable, decoded at runtime. The entire deploy is fully automatic.&lt;/p&gt;

&lt;h2&gt;
  
  
  Automatic dev.to Sync
&lt;/h2&gt;

&lt;p&gt;English articles automatically get published to &lt;a href="https://dev.to"&gt;dev.to&lt;/a&gt;. The sync script scans all English articles, matches them against existing dev.to articles via &lt;code&gt;canonical_url&lt;/code&gt;, and creates or updates as needed. Stateless — the canonical URL serves as the key. Runs in CI after every deploy and also on a schedule (for future-dated articles that become publishable).&lt;/p&gt;

&lt;p&gt;The reverse works too — importing dev.to articles into the local blog, downloading cover images, and setting the &lt;code&gt;canonical_url&lt;/code&gt; back to the blog.&lt;/p&gt;

&lt;h2&gt;
  
  
  AI-Generated Tweets
&lt;/h2&gt;

&lt;p&gt;This is the new addition. When a new article goes live, it automatically gets tweeted. But not with some generic "New blog post!" — the tweet text is generated by OpenAI (gpt-4o-mini) following my writing style guide.&lt;/p&gt;

&lt;p&gt;Here's how it works:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;All English articles are scanned&lt;/li&gt;
&lt;li&gt;Already tweeted articles get skipped based on a tracked list&lt;/li&gt;
&lt;li&gt;For new articles, the title, excerpt, and tags are sent to OpenAI&lt;/li&gt;
&lt;li&gt;OpenAI generates a tweet (max 250 chars) matching my tone&lt;/li&gt;
&lt;li&gt;Tweet is posted via Twitter API v2 with OAuth 1.0a&lt;/li&gt;
&lt;li&gt;The article URL is recorded and committed back to git&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The writing style guide lives in a single file, so there's one source of truth for both the AI and me.&lt;/p&gt;

&lt;p&gt;Tweets only go out on weekdays at 9:00 AM (Europe/Prague), via a separate GitLab CI schedule with the &lt;code&gt;TWITTER_POST=true&lt;/code&gt; variable.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Hasn't Changed
&lt;/h2&gt;

&lt;p&gt;Some things just work and there's no reason to touch them:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Grav&lt;/strong&gt; is still perfect for a personal blog — fast, simple, minimal maintenance&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Markdown + Git&lt;/strong&gt; is the best workflow for writing technical articles&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deployer&lt;/strong&gt; does exactly what it should and nothing more&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Umami analytics instead of Google Analytics (the template placeholder is already there)&lt;/li&gt;
&lt;li&gt;Better cover images for articles&lt;/li&gt;
&lt;li&gt;Maybe add an RSS feed for Czech articles&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But mostly — write more. Automation is great, but it's useless without articles.&lt;/p&gt;




&lt;p&gt;How do you crosspost your blog? Do you sync to dev.to automatically, or do you still copy and paste?&lt;/p&gt;

</description>
      <category>devops</category>
      <category>automation</category>
      <category>php</category>
      <category>webdev</category>
    </item>
    <item>
      <title>WordPress Theme from Lovable HTML in One Day</title>
      <dc:creator>Vojta Biberle</dc:creator>
      <pubDate>Tue, 10 Feb 2026 20:11:11 +0000</pubDate>
      <link>https://dev.to/vojtabiberle/wordpress-theme-from-lovable-html-in-one-day-576p</link>
      <guid>https://dev.to/vojtabiberle/wordpress-theme-from-lovable-html-in-one-day-576p</guid>
      <description>&lt;p&gt;I took an HTML export from Lovable, opened Claude Code, and in one day had a complete WordPress theme -- 11 custom blocks, 4 custom post types, deployment pipeline. 83 files, over 7,300 lines of code. Without an AI agent? That would've taken a week at least.&lt;/p&gt;

&lt;h1&gt;
  
  
  The Brief
&lt;/h1&gt;

&lt;p&gt;I needed a new website for the Czech ecological organization &lt;a href="https://stromyvkrajine.cz" rel="noopener noreferrer"&gt;Stromy v krajine&lt;/a&gt; (Trees in the Landscape). Their old site was outdated and the client wanted to manage content themselves -- projects, events, team members, partners, and news. WordPress was the obvious choice.&lt;/p&gt;

&lt;p&gt;I had &lt;a href="https://lovable.dev" rel="noopener noreferrer"&gt;Lovable&lt;/a&gt; generate the design -- an AI tool that creates a complete React SPA from a text description. The result looked great: responsive design, beautiful color palette (forest green + gold), Tailwind CSS, interactive components. But the client needed WordPress, not a React app.&lt;/p&gt;

&lt;h1&gt;
  
  
  Step 1: Analyzing the Lovable Export
&lt;/h1&gt;

&lt;p&gt;Lovable generated a React/Vite SPA with dozens of components: &lt;code&gt;HeroSection.tsx&lt;/code&gt;, &lt;code&gt;AboutSection.tsx&lt;/code&gt;, &lt;code&gt;AchievementsSection.tsx&lt;/code&gt;, pages for news, contact, photo gallery. The entire design system in Tailwind with HSL variables -- &lt;code&gt;primary: 142 70% 25%&lt;/code&gt; (forest green), &lt;code&gt;accent: 47 96% 53%&lt;/code&gt; (gold).&lt;/p&gt;

&lt;p&gt;First step was having Claude Code explore the entire React codebase -- every component, every design token, every breakpoint. It built a complete map of what needed to be converted.&lt;/p&gt;

&lt;h1&gt;
  
  
  Step 2: WordPress Theme in an Hour
&lt;/h1&gt;

&lt;p&gt;From the React code analysis, Claude Code generated the entire theme structure:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;11 custom blocks&lt;/strong&gt; -- Hero, Quote + About, Achievements, Contact Info, Contact Form, Photo Gallery, listings for Projects, Events, Team, and Partners&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;4 custom post types&lt;/strong&gt; with Czech labels -- Projects (status, location, tree count), Events (date and time), Team (social media), Partners (logo)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tailwind pipeline&lt;/strong&gt; via Vite -- identical design tokens as in Lovable&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Custom Nav Walker&lt;/strong&gt; for desktop and mobile navigation&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vanilla JS&lt;/strong&gt; lightbox with arrow navigation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;55 files, over 5,000 lines -- in a single commit.&lt;/p&gt;

&lt;h1&gt;
  
  
  Step 3: The Pivot -- ACF to Carbon Fields
&lt;/h1&gt;

&lt;p&gt;The original plan was ACF (Advanced Custom Fields) for blocks and metadata. But ACF Free lacks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Repeater&lt;/strong&gt; fields (item lists)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gallery&lt;/strong&gt; fields (photo gallery)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Options&lt;/strong&gt; pages (footer settings)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;ACF Pro costs $199+/year. Instead I switched to &lt;strong&gt;Carbon Fields&lt;/strong&gt; -- an open-source alternative with full functionality via Composer.&lt;/p&gt;

&lt;p&gt;The migration happened the same day. Claude Code rewrote all 11 blocks from ACF API to Carbon Fields API, swapped &lt;code&gt;get_field()&lt;/code&gt; for &lt;code&gt;carbon_get_the_post_meta()&lt;/code&gt;, and added Docker Compose for local development. Zero licensing costs, 100% open-source.&lt;/p&gt;

&lt;h1&gt;
  
  
  Step 4: Polish
&lt;/h1&gt;

&lt;p&gt;What remained was fine-tuning details to match the Lovable design:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Styling the Aktuality (blog) page to match the Lovable template&lt;/li&gt;
&lt;li&gt;Contact form with validation replacing the placeholder&lt;/li&gt;
&lt;li&gt;Editable footer via WordPress widget areas&lt;/li&gt;
&lt;li&gt;CTA button moved from hardcoded header to WordPress menu system&lt;/li&gt;
&lt;li&gt;Gallery with lightbox and arrow navigation&lt;/li&gt;
&lt;li&gt;Editor styling -- blocks in Gutenberg get labels and borders&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Step 5: Deployment
&lt;/h1&gt;

&lt;p&gt;Finally, a Deployer pipeline:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Local build via Vite (Tailwind + JS)&lt;/li&gt;
&lt;li&gt;rsync to production server with release management&lt;/li&gt;
&lt;li&gt;Zero-downtime deploy via symlinks&lt;/li&gt;
&lt;li&gt;Content sync scripts (WP-CLI export/import + search-replace)&lt;/li&gt;
&lt;li&gt;Media sync via rsync to a shared uploads directory&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Timeline
&lt;/h1&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Time&lt;/th&gt;
&lt;th&gt;What happened&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0h&lt;/td&gt;
&lt;td&gt;Lovable HTML export imported&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1h&lt;/td&gt;
&lt;td&gt;Complete WordPress theme + ACF blocks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2h&lt;/td&gt;
&lt;td&gt;Pivot to Carbon Fields + Docker setup&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3-6h&lt;/td&gt;
&lt;td&gt;Styling, admin flexibility, interactions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7-8h&lt;/td&gt;
&lt;td&gt;Deployment pipeline, documentation&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;24 commits over 2 days. 83 files. 7,300+ lines of code.&lt;/strong&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Why This Wouldn't Work Without Claude Code
&lt;/h1&gt;

&lt;p&gt;This was a project where an AI agent really shined:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Codebase analysis&lt;/strong&gt; -- explored the entire React export and understood the design system&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Structure generation&lt;/strong&gt; -- 55 theme files in a single step&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rapid pivot&lt;/strong&gt; -- ACF to Carbon Fields migration in an hour instead of a day&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Repetitive patterns&lt;/strong&gt; -- controllers, template parts, CPT registration, block definitions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tailwind conversion&lt;/strong&gt; -- 1:1 transfer of design tokens from React to WordPress&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Key decisions -- architecture, Carbon Fields vs ACF, deployment strategy -- required human judgment. But the actual execution? The AI agent sped that up maybe 5-10x.&lt;/p&gt;

&lt;p&gt;One person + Claude Code = a complete WordPress theme in a day. The future of development is here.&lt;/p&gt;




&lt;p&gt;Have you tried turning a Lovable or v0 export into something a client can actually edit, like a WordPress theme? Where did the agent stop being useful for you?&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>webdev</category>
      <category>php</category>
      <category>ai</category>
    </item>
    <item>
      <title>Building a Supabase Driver for Keboola Connection</title>
      <dc:creator>Vojta Biberle</dc:creator>
      <pubDate>Mon, 09 Feb 2026 09:09:08 +0000</pubDate>
      <link>https://dev.to/vojtabiberle/building-a-supabase-driver-for-keboola-connection-5h54</link>
      <guid>https://dev.to/vojtabiberle/building-a-supabase-driver-for-keboola-connection-5h54</guid>
      <description>&lt;p&gt;I spent the past weeks integrating Supabase as an external data source into Keboola Connection. The result is a complete driver with OAuth 2.0, automatic schema discovery, and Supabase Marketplace integration. I also hit some bugs that nearly drove me crazy -- here's the whole story.&lt;/p&gt;

&lt;h1&gt;
  
  
  Supabase + Keboola
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://supabase.com" rel="noopener noreferrer"&gt;Supabase&lt;/a&gt; is an open-source Firebase alternative built on PostgreSQL -- authentication, real-time subscriptions, storage, and most importantly a full-featured PostgreSQL database. &lt;a href="https://keboola.com" rel="noopener noreferrer"&gt;Keboola&lt;/a&gt; is a data pipeline platform for ETL processes over various data sources.&lt;/p&gt;

&lt;p&gt;The goal was simple: let users connect their Supabase project as an external data source in Keboola and have data automatically flow into their pipelines.&lt;/p&gt;

&lt;h1&gt;
  
  
  From CLI to Web Controller
&lt;/h1&gt;

&lt;p&gt;Originally I wanted a CLI command to register OAuth credentials. But testing a full OAuth flow from the terminal is painful -- you're copying URLs back and forth, handling redirects manually, no visual feedback at all.&lt;/p&gt;

&lt;p&gt;So I pivoted early: instead of CLI, I built a web-based test harness at &lt;code&gt;/supabase/connect&lt;/code&gt;. A simple form where you enter &lt;code&gt;client_id&lt;/code&gt; and &lt;code&gt;client_secret&lt;/code&gt;, it generates the redirect URL, sends you to Supabase for authorization, and handles the callback. This turned out to be crucial -- the iterative debugging that followed would have been impossible from a terminal.&lt;/p&gt;

&lt;h1&gt;
  
  
  The Stateless OAuth Puzzle
&lt;/h1&gt;

&lt;p&gt;The first real challenge came from Symfony's security architecture. Routes with &lt;code&gt;#[AsPublicAction]&lt;/code&gt; run on a &lt;strong&gt;stateless firewall&lt;/strong&gt; -- no session available. But OAuth flows typically need to store the PKCE verifier between the authorization request and the callback. Symfony threw: &lt;em&gt;"Session was used while the request was declared stateless."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;So what do you do? Encode everything -- client credentials, PKCE verifier, redirect URI -- directly into the OAuth &lt;code&gt;state&lt;/code&gt; parameter, signed with HMAC-SHA256 using &lt;code&gt;kernel.secret&lt;/code&gt;. The callback decodes the state, verifies the signature, and extracts the PKCE verifier. No session, no database, HMAC prevents tampering, and the state parameter inherently protects against CSRF. Elegant.&lt;/p&gt;

&lt;h1&gt;
  
  
  OAuth API Quirks
&lt;/h1&gt;

&lt;p&gt;Then came two smaller hurdles:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The &lt;code&gt;approval_prompt&lt;/code&gt; mystery.&lt;/strong&gt; The League OAuth2 library adds &lt;code&gt;approval_prompt&lt;/code&gt; to authorization requests by default (a Google OAuth convention). Supabase rejected it: &lt;em&gt;"Unrecognized key(s) in object: 'approval_prompt'."&lt;/em&gt; Fix: override &lt;code&gt;getAuthorizationParameters()&lt;/code&gt; and filter it out.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Project vs. account OAuth apps.&lt;/strong&gt; I created the OAuth app at project level (&lt;code&gt;/project/{ref}/auth/oauth-apps&lt;/code&gt;) and kept getting &lt;em&gt;"Unrecognized client_id."&lt;/em&gt; Turns out Supabase has two distinct OAuth scopes -- project-specific apps and &lt;strong&gt;integration apps&lt;/strong&gt; at the account level (&lt;code&gt;/account/integrations&lt;/code&gt;). For a marketplace integration with cross-project access, you need the latter. Easy to miss in the docs.&lt;/p&gt;

&lt;h1&gt;
  
  
  The PKCE Double-Handling Bug
&lt;/h1&gt;

&lt;p&gt;This was the trickiest bug of the entire project. After solving the stateless flow and API quirks, token exchange kept failing: &lt;em&gt;"Invalid or expired OAuth authorization."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I tried everything systematically:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Detailed error logging -- same error&lt;/li&gt;
&lt;li&gt;HTTP Basic Auth for the token endpoint -- still nothing&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;Accept: application/json&lt;/code&gt; header -- still nothing&lt;/li&gt;
&lt;li&gt;A completely custom &lt;code&gt;exchangeCodeForTokens()&lt;/code&gt; bypassing the library -- still nothing&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The authorization flow worked. The callback received the code. But token exchange kept returning the same cryptic error. I was going mad.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The breakthrough:&lt;/strong&gt; the League OAuth2 library has built-in PKCE support. My code was &lt;em&gt;also&lt;/em&gt; handling PKCE manually for the stateless flow. Two correct PKCE implementations running simultaneously -- the library sent one &lt;code&gt;code_verifier&lt;/code&gt;, my stateless code sent a different one. Supabase saw a mismatch and rejected the exchange.&lt;/p&gt;

&lt;p&gt;The fix? One line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="k"&gt;protected&lt;/span&gt; &lt;span class="nv"&gt;$pkceMethod&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// Disable library's built-in PKCE&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A classic integration bug -- two systems, each correct on its own, breaking when combined. Debugging took hours because every individual piece looked fine.&lt;/p&gt;

&lt;h1&gt;
  
  
  Two Connection Modes
&lt;/h1&gt;

&lt;p&gt;The driver supports two ways to access Supabase data:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Direct PostgreSQL connection&lt;/strong&gt; -- the classic approach via connection pooler (port 6543). Full SQL access, good for larger data volumes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;REST API (PostgREST)&lt;/strong&gt; -- via Supabase REST endpoint with a &lt;code&gt;service_role&lt;/code&gt; key. Simpler setup without exposing database passwords.&lt;/p&gt;

&lt;p&gt;Both modes support encrypted credential storage with separate encryption keys for passwords, API keys, and OAuth tokens.&lt;/p&gt;

&lt;h1&gt;
  
  
  Automatic Schema Discovery
&lt;/h1&gt;

&lt;p&gt;After a successful OAuth connection, a &lt;code&gt;SupabaseProjectSetupJob&lt;/code&gt; runs in the background:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Calls &lt;code&gt;ListSchemasCommand&lt;/code&gt; on the Supabase driver via protobuf&lt;/li&gt;
&lt;li&gt;Discovers available database schemas&lt;/li&gt;
&lt;li&gt;Creates an &lt;strong&gt;external bucket&lt;/strong&gt; in Keboola for each schema&lt;/li&gt;
&lt;li&gt;Sets up auto-refresh every 6 hours&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The protobuf communication is architecturally neat -- commands are defined in a shared &lt;code&gt;storage-driver-common&lt;/code&gt; monorepo and implemented in &lt;code&gt;storage-driver-postgres&lt;/code&gt;. Clean boundaries, no direct coupling.&lt;/p&gt;

&lt;p&gt;Users see their data in Keboola immediately after connecting, no manual configuration needed.&lt;/p&gt;

&lt;h1&gt;
  
  
  Supabase Management API
&lt;/h1&gt;

&lt;p&gt;The integration includes a client for the Supabase Management API:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Project details (region, configuration)&lt;/li&gt;
&lt;li&gt;API keys (&lt;code&gt;anon&lt;/code&gt;, &lt;code&gt;service_role&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Connection pooler configuration&lt;/li&gt;
&lt;li&gt;List of projects and organizations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This data is used during automatic credential setup after the OAuth flow.&lt;/p&gt;

&lt;h1&gt;
  
  
  The Full User Flow
&lt;/h1&gt;

&lt;p&gt;Here's what the end-to-end experience looks like:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;User clicks "Connect Supabase" and authorizes via OAuth&lt;/li&gt;
&lt;li&gt;Callback stores tokens, redirects to setup page&lt;/li&gt;
&lt;li&gt;User picks their Supabase project, optionally provides a PostgreSQL DSN&lt;/li&gt;
&lt;li&gt;Keboola creates an organization and project with a Supabase backend&lt;/li&gt;
&lt;li&gt;Background job discovers tables, registers buckets, sets up auto-refresh&lt;/li&gt;
&lt;li&gt;User lands on their project dashboard with data already flowing&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Scale
&lt;/h1&gt;

&lt;p&gt;The entire driver was built in &lt;strong&gt;one week&lt;/strong&gt;, roughly &lt;strong&gt;60 hours&lt;/strong&gt; of intensive work with &lt;a href="https://claude.ai/claude-code" rel="noopener noreferrer"&gt;Claude Code&lt;/a&gt;. The result is around &lt;strong&gt;25,000 changes&lt;/strong&gt; -- classes, controllers, migrations, tests, CLI commands, and documentation. From zero to a complete integration.&lt;/p&gt;

&lt;p&gt;The workflow was highly iterative: figure out what's needed, implement it, test immediately in the browser, debug from real error messages. Fast feedback loops made it possible to crack even the PKCE double-handling issue in hours rather than days.&lt;/p&gt;

&lt;p&gt;The AI agent massively accelerated repetitive patterns (controllers, DTOs, tests), boilerplate generation, and navigating the large Keboola codebase. But key architectural decisions and the security model obviously required human judgment.&lt;/p&gt;

&lt;h1&gt;
  
  
  What I Learned
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Stateless OAuth works&lt;/strong&gt; -- encode everything in an HMAC-signed state parameter, no session needed&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Watch your libraries&lt;/strong&gt; -- the PKCE double-handling taught me to always check what the library does automatically behind your back&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OAuth APIs differ wildly between providers&lt;/strong&gt; -- &lt;code&gt;approval_prompt&lt;/code&gt;, auth methods, app scopes, nothing is standard&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PKCE is a must&lt;/strong&gt; for flows where the client secret can't be fully secured&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A web test harness&lt;/strong&gt; beats CLI testing for OAuth flows by an order of magnitude&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI agents change the game&lt;/strong&gt; -- 25,000 changes in a week wouldn't have been possible without one&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The integration is currently in pull request and going through code review. Looking forward to seeing it in production.&lt;/p&gt;




&lt;p&gt;Have you ever had a library quietly do something your own code was doing too, like the double PKCE here? How long did it take you to find it?&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>php</category>
      <category>supabase</category>
      <category>security</category>
    </item>
    <item>
      <title>KDE Plasma Activities on stereoides</title>
      <dc:creator>Vojta Biberle</dc:creator>
      <pubDate>Fri, 05 Apr 2024 19:38:18 +0000</pubDate>
      <link>https://dev.to/vojtabiberle/kde-plasma-activities-on-stereoides-2mkm</link>
      <guid>https://dev.to/vojtabiberle/kde-plasma-activities-on-stereoides-2mkm</guid>
      <description>&lt;p&gt;I used to regard KDE Plasma Activities as merely pointless and dull—like fancy workspaces with added overhead. However, I couldn't have been more mistaken!&lt;/p&gt;

&lt;p&gt;Regrettably, this functionality isn't readily visible to the average user, which is a drawback for Activities.&lt;/p&gt;

&lt;p&gt;Activities support running scripts for four actions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Activated: Executes when the activity is selected or focused.&lt;/li&gt;
&lt;li&gt;Deactivated: Triggers when switching to another activity.&lt;/li&gt;
&lt;li&gt;Started: Runs upon activity initiation.&lt;/li&gt;
&lt;li&gt;Stopped: Executes when the activity is halted.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;However, there's no graphical user interface (GUI) for this functionality. While there's a &lt;a href="https://discuss.kde.org/t/script-management-for-activities/3359" rel="noopener noreferrer"&gt;Brainstorming discussion&lt;/a&gt; in the KDE forum from June 2023, there doesn't seem to be any subsequent development on this front.&lt;/p&gt;

&lt;p&gt;So, let's set up scripts manually.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setting Up Scripts
&lt;/h2&gt;

&lt;p&gt;First, you need to identify the IDs of the activities you're running. You can do this with the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;kactivities-cli --list-activities
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command provides you with a table containing the Activity ID, Activity Name, and Activity Icon. You just need the &lt;code&gt;Activity ID&lt;/code&gt;. Next, navigate to the folder &lt;code&gt;.local/share/kactivitymanagerd/activities/&lt;/code&gt; (create it if any part of the path doesn't exist). Inside this folder, create a subfolder with the same name as the &lt;code&gt;Activity ID&lt;/code&gt; you'd like to script. Then, create subfolders for each action you want to script: &lt;code&gt;activated&lt;/code&gt;, &lt;code&gt;deactivated&lt;/code&gt;, &lt;code&gt;started&lt;/code&gt;, or &lt;code&gt;stopped&lt;/code&gt;. You can create folders for all of them if needed. Then, any script placed in one of these action folders will be executed accordingly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Enhanced Functionality
&lt;/h2&gt;

&lt;p&gt;With these scripts in place, you have fully automated activity switching in Plasma. What's next? For example, you can customize the default browser for each activity.&lt;/p&gt;

&lt;p&gt;For this, let's utilize the &lt;code&gt;utils.sh&lt;/code&gt; script, which you can place wherever you prefer:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/bin/bash&lt;/span&gt;

&lt;span class="k"&gt;function&lt;/span&gt; writeconf&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
  kwriteconfig5 --file ~/.config/kdeglobals --group General --key BrowserApplication &lt;span class="s2"&gt;"$1"&lt;/span&gt;
  xdg-settings &lt;span class="nb"&gt;set&lt;/span&gt; default-web-browser &lt;span class="s2"&gt;"$1"&lt;/span&gt;
  xdg-mime default &lt;span class="s2"&gt;"$1"&lt;/span&gt; x-scheme-handler/https
  xdg-mime default &lt;span class="s2"&gt;"$1"&lt;/span&gt; x-scheme-handler/http
  xdg-mime default &lt;span class="s2"&gt;"$1"&lt;/span&gt; text/html
&lt;span class="o"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;function&lt;/span&gt; readconf&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
  kreadconfig5 --file ~/.config/kdeglobals --group General --key BrowserApplication
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then, create separate scripts for activating Chrome and Firefox:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;activate-chrome.sh&lt;/code&gt; - placed in &lt;code&gt;activated&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/bin/bash&lt;/span&gt;

&lt;span class="nb"&gt;source&lt;/span&gt; ~/.bin/activities/utils.sh

&lt;span class="nv"&gt;service&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;org.kde.ActivityManager
&lt;span class="nv"&gt;interface&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$service&lt;/span&gt;.Activities
&lt;span class="nv"&gt;path&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/ActivityManager/Activities
&lt;span class="nv"&gt;signal&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;CurrentActivityChanged

&lt;span class="nv"&gt;curact&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$(&lt;/span&gt;qdbus &lt;span class="nv"&gt;$service&lt;/span&gt; &lt;span class="nv"&gt;$path&lt;/span&gt; &lt;span class="nv"&gt;$interface&lt;/span&gt;.CurrentActivity&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="nv"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"$(qdbus $service $path $interface.ActivityName $curact)"&lt;/span&gt;
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"Switched to activity $name"&lt;/span&gt;
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"Previous browser: $(readconf)"&lt;/span&gt;
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"Setting browser to Chrome"&lt;/span&gt;
writeconf google-chrome.desktop
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"Current Browser: $(readconf)"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;activate-firefox.sh&lt;/code&gt; - placed in &lt;code&gt;deactivated&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/bin/bash  &lt;/span&gt;

&lt;span class="nb"&gt;source&lt;/span&gt; ~/.bin/activities/utils.sh  

&lt;span class="nv"&gt;service&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;org.kde.ActivityManager  
&lt;span class="nv"&gt;interface&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$service&lt;/span&gt;.Activities  
&lt;span class="nv"&gt;path&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/ActivityManager/Activities  
&lt;span class="nv"&gt;signal&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;CurrentActivityChanged  

&lt;span class="nv"&gt;curact&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$(&lt;/span&gt;qdbus &lt;span class="nv"&gt;$service&lt;/span&gt; &lt;span class="nv"&gt;$path&lt;/span&gt; &lt;span class="nv"&gt;$interface&lt;/span&gt;.CurrentActivity&lt;span class="o"&gt;)&lt;/span&gt;  
&lt;span class="nv"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"$(qdbus $service $path $interface.ActivityName $curact)"&lt;/span&gt;  
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"Switched to activity $name"&lt;/span&gt;  
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"Previous browser: $(readconf)"&lt;/span&gt;  
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"Setting browser to Firefox"&lt;/span&gt;  
writeconf firefox.desktop  
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"Current Browser: $(readconf)"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Imagine these scripts being applied to your &lt;code&gt;Work&lt;/code&gt; activity. When you switch to &lt;code&gt;Personal&lt;/code&gt;, your default browser switches back to &lt;code&gt;Firefox&lt;/code&gt;. This setup gives you tailored browser switching for different activities in Plasma.&lt;/p&gt;

&lt;p&gt;If you prefer browsers other than Firefox or Chrome, you can easily modify the scripts accordingly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Additional Tips
&lt;/h2&gt;

&lt;p&gt;I often find it useful to have certain applications pinned to the taskbar across all activities. By default, applications are only shown in the activity where they were launched. However, you can create a KWin window rule with the condition "All activities" to ensure these applications are always accessible.&lt;/p&gt;

&lt;h2&gt;
  
  
  In Conclusion
&lt;/h2&gt;

&lt;p&gt;This setup has been a significant game-changer for me. As someone who heavily uses Slack for both work and personal communication, having automated browser switching based on activities has streamlined my workflow immensely.&lt;/p&gt;

&lt;p&gt;Next, I plan to further customize my Slack experience by separating work-related Slack workspaces from others, allowing for even greater efficiency and organization.&lt;/p&gt;

&lt;h2&gt;
  
  
  Browser Switching Alternatives
&lt;/h2&gt;

&lt;p&gt;If you're interested in alternative methods for activity switching and scripting, you might want to explore &lt;a href="https://browsers.software/" rel="noopener noreferrer"&gt;Browsers&lt;/a&gt;, an intuitive context menu that appears when you click a link in an app other than a web browser.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>kde</category>
    </item>
    <item>
      <title>Taskfile - really simple task runner</title>
      <dc:creator>Vojta Biberle</dc:creator>
      <pubDate>Mon, 06 Jan 2020 21:42:17 +0000</pubDate>
      <link>https://dev.to/vojtabiberle/taskfile-really-simple-taks-runner-986</link>
      <guid>https://dev.to/vojtabiberle/taskfile-really-simple-taks-runner-986</guid>
      <description>&lt;p&gt;Not so long ago I discovered the &lt;a href="https://github.com/adriancooney/Taskfile" rel="noopener noreferrer"&gt;&lt;code&gt;Taskfile&lt;/code&gt;&lt;/a&gt; runner from &lt;a href="https://github.com/adriancooney" rel="noopener noreferrer"&gt;Adrian Cooney&lt;/a&gt;. Adrian hasn't worked on the repository for about 3 years, so I decided to improve it a little bit for my own usage.&lt;/p&gt;

&lt;p&gt;There isn't much to fork and I didn't want to open a pull request, so I just copied everything I found useful, prepared one more template (there will be even more templates soon) and published the repository.&lt;/p&gt;

&lt;p&gt;I'll be happy if anybody finds it useful. Here is my version of &lt;a href="https://github.com/vojtabiberle/Taskfile" rel="noopener noreferrer"&gt;&lt;code&gt;Taskfile&lt;/code&gt;&lt;/a&gt;. Enjoy!&lt;/p&gt;

</description>
      <category>taskrunner</category>
      <category>bash</category>
      <category>linux</category>
    </item>
    <item>
      <title>I discovered a new WordPress local dev-env</title>
      <dc:creator>Vojta Biberle</dc:creator>
      <pubDate>Wed, 11 Dec 2019 01:12:41 +0000</pubDate>
      <link>https://dev.to/vojtabiberle/i-discovered-new-wordpress-local-dev-env-5fd0</link>
      <guid>https://dev.to/vojtabiberle/i-discovered-new-wordpress-local-dev-env-5fd0</guid>
      <description>&lt;h1&gt;
  
  
  Opening
&lt;/h1&gt;

&lt;p&gt;From time to time I have to build WordPress pages. WordPress is not bad. It's actually good, but I use Docker for development and the official docker images are not great.&lt;/p&gt;

&lt;p&gt;I actually managed my own PHP WordPress images about 2 years ago, but they are now deprecated (PHP 7.0 and PHP 7.1) and I don't have time or strength to manage them again.&lt;/p&gt;

&lt;p&gt;Let's search for some ready-made solution!&lt;/p&gt;

&lt;h1&gt;
  
  
  Wodby
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5m2f87xn97fpf83djvk5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5m2f87xn97fpf83djvk5.png" alt="Wodby logo" width="100" height="100"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Managed stacks and infrastructure for post-container world -- that's their marketing claim.&lt;/p&gt;

&lt;p&gt;And not only that. These guys provide us with local development stacks with everything I missed from the official WordPress image.&lt;br&gt;
For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;UID/GID out of the box&lt;/li&gt;
&lt;li&gt;xDebug&lt;/li&gt;
&lt;li&gt;tooling for wp-cli&lt;/li&gt;
&lt;li&gt;tooling for composer&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And much more. Just check their guide for WordPress: &lt;a href="https://wodby.com/docs/stacks/wordpress/local/" rel="noopener noreferrer"&gt;https://wodby.com/docs/stacks/wordpress/local/&lt;/a&gt; -- it's very easy to follow and start developing in WordPress.&lt;/p&gt;

&lt;p&gt;Are you interested in Drupal, PHP, Ruby or Python? &lt;a href="https://wodby.com/docs/stacks/" rel="noopener noreferrer"&gt;They have them too.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And bonus? You can use their deployment stack as a developer for free! Great for showing your work to your clients ;-)&lt;/p&gt;

&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;

&lt;p&gt;The installation process is pretty clear, here are just a few adjustments I made.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Do not clone/fork &lt;a href="https://github.com/wodby/wordpress-composer" rel="noopener noreferrer"&gt;wodby/wordpress-composer&lt;/a&gt; but just run &lt;code&gt;composer create-project wodby/wordpress-composer some-dir --stability dev --no-interaction&lt;/code&gt; as written in the repository README.md&lt;/li&gt;
&lt;li&gt;I changed &lt;code&gt;$PROJECT_BASE_URL&lt;/code&gt; to just &lt;code&gt;$PROJECT_NAME.local&lt;/code&gt; -- this is shorter :-)&lt;/li&gt;
&lt;li&gt;I uncommented mounted volumes for MariaDB, because persistent data are better (you can mount it with just &lt;code&gt;- ./database:/var/lib/mysql&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;If you have an issue with MariaDB not starting, just try another MariaDB tag in your &lt;code&gt;.env&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;You don't need to manually change &lt;code&gt;wp-config.php&lt;/code&gt;. Just point your browser to WordPress and let the installer do everything for you&lt;/li&gt;
&lt;li&gt;Uncomment the &lt;code&gt;Adminer&lt;/code&gt; section in &lt;code&gt;docker-compose.yml&lt;/code&gt; -- just my personal preference&lt;/li&gt;
&lt;li&gt;Uncomment &lt;code&gt;NGINX_SERVER_ROOT&lt;/code&gt; for Nginx and add &lt;code&gt;/web&lt;/code&gt; to the end&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;make up&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Profit&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Closing
&lt;/h1&gt;

&lt;p&gt;This took me more time than I expected for the first run. But now I'm very happy with the dev environment. I have prepared my own template for future projects and I hope I will only need to update dependencies going forward.&lt;/p&gt;

&lt;p&gt;Thanks, guys from Wodby!&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>docker</category>
      <category>wodby</category>
    </item>
  </channel>
</rss>
