merge/upstream #2

Open
ahuston-0 wants to merge 21 commits from merge/upstream into add-gitea-pulls
Owner
No description provided.
ahuston-0 added 22 commits 2025-03-31 04:06:14 -04:00
Use `LegacySSHStore`
My main motivation here is to get metrics with brackets to work in order
to support "pytest" test names:

- test_foo.py::test_bar[1]
- test_foo.py::test_bar[2]

I couldn't find an "HTML escape"-style function that would generate
valid html `id` attribute names from random strings, so I went with a
hash digest instead.
There were some hangs caused by this. Need to fix them, ideally
reproducing the issue in a test, before trying this again.

This reverts commit 4a4a0f901c70676ee47f830d2ff6a72789ba1baf.
Revert "Use `LegacySSHStore`"
Fix race condition in hydra-compress-logs
fixes #1429
error: postgresql_12 has been removed since it reached its EOL upstream
Flake lock file updates:

• Updated input 'nix-eval-jobs':
    'github:nix-community/nix-eval-jobs/4b392b284877d203ae262e16af269f702df036bc?narHash=sha256-3wIReAqdTALv39gkWXLMZQvHyBOc3yPkWT2ZsItxedY%3D' (2025-02-14)
  → 'github:nix-community/nix-eval-jobs/f7418fc1fa45b96d37baa95ff3c016dd5be3876b?narHash=sha256-Lo4KFBNcY8tmBuCmEr2XV0IUZtxXHmbXPNLkov/QSU0%3D' (2025-03-26)
Depends on https://github.com/nix-community/nix-eval-jobs/pull/349 & #1421.

Almost equivalent to #1425, but with a small change: when having e.g. an
aggregate job with a glob that matches nothing, the jobset evaluation is
failed now. This was the intended behavior before (hydra-eval-jobset
fails hard if an aggregate is broken), the code-path was never reached
however since the aggregate was never marked as broken in this case
before.
nix-eval-jobs + constituent globs
Fix rendering of metrics with special characters
hydra-eval-jobset: do not wait on n-e-j inside transaction
docs: fix contribution guide for new meson-based build
Based off the existing GithubPulls.pm and GitlabPulls.pm plugins.

Also adds an integration test for the new 'giteapulls' input type to
the existing 'gitea' test.
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This pull request has changes conflicting with the target branch.
  • flake.lock
  • src/hydra-queue-runner/build-remote.cc
  • src/hydra-queue-runner/state.hh
  • t/evaluator/evaluate-constituents-globbing.t

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin merge/upstream:merge/upstream
git checkout merge/upstream
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ahuston-0/hydra#2
No description provided.