headscale/.github/workflows
Kristoffer Dalby 174e409da6
Some checks are pending
Build / build-nix (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=linux) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=linux) (push) Waiting to run
Check Generated Files / check-generated (push) Waiting to run
NixOS Module Tests / nix-module-check (push) Waiting to run
Tests / test (push) Waiting to run
github: drop nu flatten in needs-more-info timer
The scheduled job has failed every night since 2026-04-13. Two
prior fixes (race-condition guards and splitting the combined
where predicate in #3200) did not address the actual cause:
`flatten` collapses nested records in a list-of-records pipeline,
so after `gh api ... | from json | flatten` the `label` and `user`
columns no longer exist - their fields are lifted to the top
level (with prefix only on naming collisions). `where label.name
== ...` and `where user.type != "Bot"` then both reference a
column that is not there.

`gh api --paginate` already returns a single concatenated JSON
array, so `from json` produces a list of records directly and no
flattening is needed. Drop both `| flatten` calls.

Verified locally with nu 0.108 against the events stream of issue
#3178: without flatten, `where event == "labeled" | where
label.name == "needs-more-info" | last` returns the labeled event
with its `label` record intact.
2026-04-28 16:36:32 +01:00
..
build.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
check-generated.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
check-tests.yaml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
container-main.yml ci: add rolling development tag to container builds 2026-04-15 14:53:53 +01:00
docs-deploy.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
docs-test.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
gh-action-integration-generator.go ci: restrict test generator to .go files 2026-04-10 14:09:57 +01:00
gh-actions-updater.yaml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
integration-test-template.yml ci: switch integration tests to ARM runners 2026-03-31 22:06:25 +02:00
lint.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
needs-more-info-comment.yml github: add needs-more-info automation workflow 2026-02-09 09:51:28 +01:00
needs-more-info-timer.yml github: drop nu flatten in needs-more-info timer 2026-04-28 16:36:32 +01:00
nix-module-test.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
release.yml ci: pin Docker to v28 to avoid v29 breaking changes 2026-02-19 08:21:23 +01:00
stale.yml github: add needs-more-info automation workflow 2026-02-09 09:51:28 +01:00
support-request.yml github: add support-request automation workflow 2026-02-09 09:51:28 +01:00
test-integration.yaml ci: regenerate integration test workflow 2026-04-16 15:10:56 +01:00
test.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
update-flake.yml cmd/hi: fixes and qol (#2649) 2025-06-23 13:43:14 +02:00