From f43e87bfcac9bb03233feaa4c95fca6cd648fd19 Mon Sep 17 00:00:00 2001 From: "Andoni A." <14891798+andoniaf@users.noreply.github.com> Date: Mon, 29 Jun 2026 11:49:28 +0200 Subject: [PATCH 1/2] feat(devbox): add devbox fixture files Add ripgrep@14.1.0 fixture pinned to a known-outdated version so the smoke test can verify a bump to 14.1.1. The ignore-conditions cap on the smoke test file will stabilise the target even as newer versions ship on nixhub. --- devbox/devbox.json | 6 ++++++ devbox/devbox.lock | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 devbox/devbox.json create mode 100644 devbox/devbox.lock diff --git a/devbox/devbox.json b/devbox/devbox.json new file mode 100644 index 00000000..fa1528a8 --- /dev/null +++ b/devbox/devbox.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.5/.schema/devbox.schema.json", + "packages": [ + "ripgrep@14.1.0" + ] +} diff --git a/devbox/devbox.lock b/devbox/devbox.lock new file mode 100644 index 00000000..9dd2d04a --- /dev/null +++ b/devbox/devbox.lock @@ -0,0 +1,33 @@ +{ + "lockfile_version": "1", + "packages": { + "ripgrep@14.1.0": { + "last_modified": "2024-08-31T02:45:43Z", + "resolved": "github:NixOS/nixpkgs/5629520edecb69630a3f4d17d3d33fc96c13f6fe#ripgrep", + "source": "devbox-search", + "version": "14.1.0", + "systems": { + "aarch64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/acs4kp4s0p7zh706r039pvbbdq4s900a-ripgrep-14.1.0", + "default": true + } + ], + "store_path": "/nix/store/acs4kp4s0p7zh706r039pvbbdq4s900a-ripgrep-14.1.0" + }, + "x86_64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/placeholder-ripgrep-14.1.0-x86_64-linux", + "default": true + } + ], + "store_path": "/nix/store/placeholder-ripgrep-14.1.0-x86_64-linux" + } + } + } + } +} From 9602b57ecbc26aa8cb235f42d15d4946e134b806 Mon Sep 17 00:00:00 2001 From: "Andoni A." <14891798+andoniaf@users.noreply.github.com> Date: Mon, 29 Jun 2026 12:08:34 +0200 Subject: [PATCH 2/2] feat(devbox): add smoke test for devbox ecosystem Pins ripgrep@14.1.0 as fixture and records a bump to 14.1.1. The ignore-condition cap (>14.1.1) stabilises the target version even as newer nixhub releases ship. Recorded against a local devbox updater image built from the add-devbox-package-version-update-support branch of dependabot-core. Ref: dependabot/dependabot-core#9065 --- tests/smoke-devbox.yaml | 223 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 223 insertions(+) create mode 100644 tests/smoke-devbox.yaml diff --git a/tests/smoke-devbox.yaml b/tests/smoke-devbox.yaml new file mode 100644 index 00000000..2fab1606 --- /dev/null +++ b/tests/smoke-devbox.yaml @@ -0,0 +1,223 @@ +input: + job: + command: update + package-manager: devbox + allowed-updates: + - update-type: all + experiments: + enable_beta_ecosystems: true + ignore-conditions: + - dependency-name: ripgrep + source: tests/smoke-devbox.yaml + version-requirement: '>14.1.1' + source: + provider: github + repo: andoniaf/smoke-tests + directory: /devbox + commit: f43e87bfcac9bb03233feaa4c95fca6cd648fd19 + credentials: + - host: github.com + password: $LOCAL_GITHUB_ACCESS_TOKEN + type: git_source + username: x-access-token +output: + - type: update_dependency_list + expect: + data: + dependencies: + - name: ripgrep + requirements: + - file: devbox.json + groups: [] + requirement: 14.1.0 + source: + type: nixhub + version: 14.1.0 + dependency_files: + - /devbox/devbox.json + - /devbox/devbox.lock + - type: create_pull_request + expect: + data: + base-commit-sha: f43e87bfcac9bb03233feaa4c95fca6cd648fd19 + dependencies: + - name: ripgrep + previous-requirements: + - file: devbox.json + groups: [] + requirement: 14.1.0 + source: + type: nixhub + previous-version: 14.1.0 + requirements: + - file: devbox.json + groups: [] + requirement: 14.1.1 + source: + type: nixhub + version: 14.1.1 + directory: /devbox + updated-dependency-files: + - content: | + { + "$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.5/.schema/devbox.schema.json", + "packages": [ + "ripgrep@14.1.1" + ] + } + content_encoding: utf-8 + deleted: false + directory: /devbox + name: devbox.json + operation: update + support_file: false + type: file + - content: | + { + "lockfile_version": "1", + "packages": { + "ripgrep@14.1.1": { + "last_modified": "2025-10-07T08:41:47Z", + "resolved": "github:NixOS/nixpkgs/bce5fe2bb998488d8e7e7856315f90496723793c#ripgrep", + "source": "devbox-search", + "version": "14.1.1", + "systems": { + "aarch64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/jfkzxhxczh5gvac89vn7kchwi6d0vx8n-ripgrep-14.1.1", + "default": true + } + ], + "store_path": "/nix/store/jfkzxhxczh5gvac89vn7kchwi6d0vx8n-ripgrep-14.1.1" + }, + "aarch64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/f1y10yp76065wk25izd1vbmg2q2cqijz-ripgrep-14.1.1", + "default": true + } + ], + "store_path": "/nix/store/f1y10yp76065wk25izd1vbmg2q2cqijz-ripgrep-14.1.1" + }, + "x86_64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/qadij7xd1hz865fv4kzyqwgks59pjb84-ripgrep-14.1.1", + "default": true + } + ], + "store_path": "/nix/store/qadij7xd1hz865fv4kzyqwgks59pjb84-ripgrep-14.1.1" + }, + "x86_64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/13gbxm9yy9vnzdal1czjjka9qmqj3y3d-ripgrep-14.1.1", + "default": true + } + ], + "store_path": "/nix/store/13gbxm9yy9vnzdal1czjjka9qmqj3y3d-ripgrep-14.1.1" + } + } + } + } + } + content_encoding: utf-8 + deleted: false + directory: /devbox + name: devbox.lock + operation: update + support_file: false + type: file + pr-title: Bump ripgrep from 14.1.0 to 14.1.1 in /devbox + pr-body: | + Bumps [ripgrep](https://github.com/BurntSushi/ripgrep) from 14.1.0 to 14.1.1. +
+ Release notes +

Sourced from ripgrep's releases.

+
+

14.1.1

+

Sponsorship is appreciated!

+

This is a minor release with a bug fix for a matching bug. In particular, a bug + was found that could cause ripgrep to ignore lines that should match. That is, + false negatives. It is difficult to characterize the specific set of regexes + in which this occurs as it requires multiple different optimization strategies + to collide and produce an incorrect result. But as one reported example, in + ripgrep, the regex (?i:e.x|ex) does not match e-x when it should. (This + bug is a result of an inner literal optimization performed in the grep-regex + crate and not in the regex crate.)

+
+

In case you haven't heard of it before, ripgrep is a line-oriented search + tool that recursively searches the current directory for a regex pattern. + By default, ripgrep will respect gitignore rules and automatically skip + hidden files/directories and binary files.

+
+

Bug fixes:

+ +

Miscellaneous:

+ +
+
+
+ Changelog +

Sourced from ripgrep's changelog.

+
+

14.1.1 (2024-09-08)

+

This is a minor release with a bug fix for a matching bug. In particular, a bug + was found that could cause ripgrep to ignore lines that should match. That is, + false negatives. It is difficult to characterize the specific set of regexes + in which this occurs as it requires multiple different optimization strategies + to collide and produce an incorrect result. But as one reported example, in + ripgrep, the regex (?i:e.x|ex) does not match e-x when it should. (This + bug is a result of an inner literal optimization performed in the grep-regex + crate and not in the regex crate.)

+

Bug fixes:

+ +

Miscellaneous:

+ +
+
+
+ Commits + +
+
+ commit-message: |- + Bump ripgrep from 14.1.0 to 14.1.1 in /devbox + + Bumps [ripgrep](https://github.com/BurntSushi/ripgrep) from 14.1.0 to 14.1.1. + - [Release notes](https://github.com/BurntSushi/ripgrep/releases) + - [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md) + - [Commits](https://github.com/BurntSushi/ripgrep/compare/14.1.0...14.1.1) + - type: mark_as_processed + expect: + data: + base-commit-sha: f43e87bfcac9bb03233feaa4c95fca6cd648fd19