Skip to content

Instantly share code, notes, and snippets.

View marcusramberg's full-sized avatar

Marcus Ramberg marcusramberg

View GitHub Profile
# NixOS driver test proving the desktop app opens external login URLs in the
# system browser instead of navigating in-app.
#
# The real flow is: the remote web login page calls
# `window.electronBridge.openExternalLogin(url)` (exposed by the preload
# script), which invokes the `auth:open-external-login` IPC handler in the main
# process, which calls Electron's `shell.openExternal()`. On Linux that shells
# out to `xdg-open`.
#
# This test serves an entrypoint page that immediately calls
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.337-g2e921a892c03 (root@b219ac34e65f) (Android (12701618, +pgo, +bolt, +lto, +mlgo, based on r536225) clang version 19.0.1 (https://android.googlesource.com/toolchain/llvm-project b3a530ec6537146650e42be89f1089e9a3588460)) #1 SMP PREEMPT Tue Apr 7 04:31:22 UTC 2026
[ 0.000000] Boot CPU: AArch64 Processor [517f803c]
[ 0.000000] random: crng init done
[ 0.000000] Machine: Qualcomm Technologies, Inc. SDM845 v2.1 MTP PVT/MP
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000fec00000, size 16 MiB
[ 0.000000] OF: reserved mem: initialized node adsp_region, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000fdc00000, size 16 MiB
[ 0.000000] OF: reserved mem: initialized node qseecom_ta_region, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000f8000000, size 92 MiB
# k8s-e2e-verifier
A Kubernetes operator that creates and manages e2e test jobs for Flagger canary deployments.
## Overview
The k8s-e2e-verifier is a webhook server designed to work with [Flagger](https://flagger.app/) pre-rollout webhooks. It automates end-to-end testing before canary deployments are promoted, ensuring that only verified releases reach production.
### How it works
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x517f803c]
[ 0.000000] Linux version 6.16.7-sdm845 (pmos@build) (Alpine clang version 21.1.8, LLD 21.1.8) #5-postmarketos-qcom-sdm845 SMP PREEMPT Thu Feb 12 22:04:40 UTC
[ 0.000000] KASLR enabled
[ 0.000000] Machine model: OnePlus 6T
[ 0.000000] efi: UEFI not found.
[ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[ 0.000000] OF: reserved mem: 0x00000000bfffc000..0x00000000bfffffff (16 KiB) nomap non-reusable mpss-metadata
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000fec00000, size 16 MiB
[ 0.000000] OF: reserved mem: initialized node fastrpc, compatible id shared-dma-pool
[ 0.000000] OF: reserved mem: 0x00000000fec00000..0x00000000ffbfffff (16384 KiB) map reusable fastrpc
input {
keyboard {
xkb {
layout "us"
model ""
rules ""
variant "mac-iso"
options "eurosign:e"
}
repeat-delay 600
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: read
contents: write
steps:
docker-runner(version:v6.3.1) received task 13 of job build, be triggered by event: pull_request
workflow prepared
🚀 Start image=node:18-bullseye
🐳 docker pull image=node:18-bullseye platform= username= forcePull=false
🐳 docker create image=node:18-bullseye platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="FORGEJO-ACTIONS-TASK-13_WORKFLOW_JOB-build-build-network"
🐳 docker run image=node:18-bullseye platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="FORGEJO-ACTIONS-TASK-13_WORKFLOW_JOB-build-build-network"
☁ git clone 'https://data.forgejo.org/actions/checkout' # ref=v4
☁ git clone 'https://github.com/DeterminateSystems/determinate-nix-action' # ref=main
⭐ Run Pre https://github.com/DeterminateSystems/determinate-nix-action@main
☁ git clone 'https://data.forgejo.org/DeterminateSystems/nix-installer-action' # ref=4a562136e63e880cb5a5293b6bd1bd47e739028a
(bootloader) parallel-download-flash:yes
(bootloader) hw-revision:20001
(bootloader) unlocked:yes
(bootloader) off-mode-charge:1
(bootloader) charger-screen-enabled:1
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:3896
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) erase-block-size: 0x1000
(bootloader) parallel-download-flash:yes
(bootloader) hw-revision:20001
(bootloader) unlocked:yes
(bootloader) off-mode-charge:1
(bootloader) charger-screen-enabled:1
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:3895
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) erase-block-size: 0x1000
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/67bav291apv85fsmxajl54pn9jf4yimg-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }