Between 17 and 28 November 2026, 135 of my pull requests were merged into 76 repositories that are not mine. That is twelve days, not a long history, and many of those repositories are small. Five of them show what I learned better than a list would.
First a summary of the five, then each one in detail.
| PR | What was broken | The fix | What review changed |
|---|---|---|---|
| awslabs/mcp #5123 | Timeout and cancel did not stop the soffice process tree | Kill the whole process tree, then remove the temp folder | A test that failed off Windows was fixed |
| apache/opennlp #1594 | Probabilities became NaN with very large weights | Subtract the largest log score before exponentiating | The shift applies only when the sum is zero or not finite |
| libp2p/js-libp2p #3707 | isPrivateIp depended on how an IPv6 address was written | Parse the address into bytes and match by prefix | One CIDR list in place of my byte table |
| homebridge-config-ui-x #3138 | A search for ring also matched monitoring | Match words instead of substrings | The start of a word instead of whole words |
| n8n-io/nod #1227 | 429 and 503 answers turned into one fixed text | An error message that keeps the status and the reason | Nothing changed |
awslabs/mcp: a process tree left behind
awslabs/mcp #5123 came out of an open issue. The document-loader MCP server converted PPTX files by calling LibreOffice (soffice) through subprocess.run(..., timeout=...). On a timeout that call kills only the process it started, and a cancelled tool call did not stop the conversion at all. To see the problem I wrote a fake soffice that starts a child process and sleeps. With timeout_seconds=3 the call took about 121 seconds to return.
The fix starts soffice in its own session on POSIX and in its own process group on Windows, and checks the call's cancel token every 0.2 seconds. On a timeout or a cancel it kills the whole tree (os.killpg or taskkill /F /T), reaps the processes and only then removes the temp folder.
I work on Windows and had no real LibreOffice. My tests relied on the fake soffice and on mocks, and I wrote that in the description. The reviewer closed exactly that gap. They ran the branch on macOS with a real LibreOffice, then removed the parts of the fix one at a time and confirmed that a test caught each removal. They also found that one of my tests failed off Windows, because subprocess.CREATE_NEW_PROCESS_GROUP exists only on Windows and the project's CI runs on Ubuntu. I pushed the fix in one commit and the PR was merged the same day.
Apache OpenNLP: a softmax that overflowed
apache/opennlp #1594 also started with an issue. When model weights were very large, positive or negative, GISModel overflowed or underflowed while exponentiating and the outcome probabilities became NaN. The fix was the known method: subtract the largest log score before exponentiating. Two regression tests failed before the fix.
The first reviewer confirmed the bug and asked for more parameterized cases, such as equal large scores giving a uniform distribution. I added them, and 10 of the 14 tests failed against the old GISModel.java.
Then a maintainer ran the project's evaluation build and a single test failed. SourceForgeModelEval.evalParserModel compares a checksum of the parser's output with an expected value, and the checksum had changed. The PR was blocked. My guess was that subtracting the largest score changes the last bits of the probabilities, and that the parser then swaps two candidates that are almost tied. I compared the parser output with and without the change on 2,346 and on 20,000 sentences. None of the best parses changed, and the log probabilities moved by 4.3e-14 at most. I did not have the evaluation data, so I could not prove it, and I said so.
The solution came from one of the reviewers. When the unshifted sum is positive and finite, the old computation stays, and the shifted softmax takes over only when that sum is zero or not finite. Ordinary models give the same result bit for bit, and extreme models no longer produce NaN. I added the patch as a separate commit, the evaluation build passed with the old checksum, and the PR was merged eight days after I opened it.
js-libp2p: the spelling of an IPv6 address
libp2p/js-libp2p #3707 had an open issue too. The isPrivateIp function in packages/utils/src/private-ip.ts matched IPv6 ranges with regular expressions on the text, so the answer depended on how the address was written. It returned false for 0:0:0:0:0:0:0:1, ::FFFF:10.0.0.1 and 2001:0db8::1, while the compressed, lowercase spellings of the same addresses gave true.
The fix parses the address into bytes with parseIPv6 from @chainsafe/is-ip, which the package already depended on, and matches it by prefix. I did not touch the list of ranges and wrote that in the description, because which range counts as private is a separate decision. The description also reports a comparison of the old and the new code on about 300 thousand random addresses, where only Teredo addresses missed by the old code differed.
The maintainer agreed with the approach and added two commits to my branch. One replaced my hand-written table of byte prefixes with a single CIDR list, matched with IpNet from @chainsafe/netmask, which the package already used elsewhere, and removed two dependencies. The other corrected two citations in my test comments. I did not know that helper was in the package. The maintainer did.
Homebridge: plugin search
homebridge-config-ui-x #3138 takes one part of an issue about plugin search: the matching. searchNpmRegistry in src/modules/plugins/plugins.service.ts accepted any substring, so a search for ring also matched monitoring, string and spring. My first version asked for whole words, and every word of the query had to match.
The review said the whole-word rule was too strict: cam no longer found camera plugins, and light no longer found the words lights and lighting. The suggested rule was to match the start of a word, which still keeps ring away from monitoring. The same review named two CHANGELOG conventions I could not have guessed. I changed the code and renamed the commit and the PR title to fit. The change shipped in Homebridge UI v5.30.2.
Nod: an error message
n8n-io/nod #1227 is the smallest of the five and has no issue behind it. The project's AGENTS.md asks that error messages keep the HTTP status and the service's own reason. vertexCatalog in src/providers/pi/models.ts did not. When Google Vertex AI answered the model discovery check of a new API key with 429 or 503, the user saw a fixed text: "The model service is temporarily unavailable. Try again." A quota limit looked like an outage.
The fix uses modelServiceError(...), the function the other model discovery calls already used. The message now starts with Google Vertex AI model discovery failed (HTTP 429), continues with the service's reason and redacts the API key. I added a 429 response that carries the key to an existing test, which fails on main. There was no discussion. The automated review found no issues and the change was merged the next day. I then sent four more fixes of the same kind (#1228, #1232, #1233, #1234), each for another place where the status was lost.
Habits I picked up
- ReproduceI see the bug myself before I fix it.
- Failing testI write a test that fails against the old code.
- Small diffOne topic, and one part of the issue if needed.
- Open notesI write down what I did not run.
- Maintainer's versionI accept the better version.
- I reproduce the bug first. The fake soffice I wrote for awslabs/mcp later became the test itself.
- I write a test that fails before the fix. In OpenNLP, 10 of the 14 tests failed against the old file.
- I keep the diff small and on one topic. The Nod fix added 25 lines. In Homebridge I took only one part of the issue.
- I write down what I did not run. The awslabs/mcp description said that no real LibreOffice was used, and the reviewer tried exactly that. In the awslabs/mcp and js-libp2p descriptions I also wrote that I prepared the change with an AI coding assistant and that the responsibility is mine.
- I accept the maintainer's version. The CIDR list in js-libp2p was better than my table, and the patch in OpenNLP was better than my first fix.
Lines added by the five merged PRs, tests included:
In awslabs/mcp, 339 of the 453 lines are a new test file.
In short
Twelve days is a short time, and I do not want it to read as more than it is. In four of these five PRs the merged version differs from the one I opened, and each time it is better: a test that also passes off Windows, a softmax that keeps the old bits, a CIDR list in place of my table, a search that still returns results for cam. The fifth was merged as it was.




