mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-19 22:54:36 +01:00
chore: remove Dia from gstack (cookie source and qualification harness)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
61e201ec08
commit
8604da21a5
33 files changed
+75
-4869
No files matched your search
@@ -1,8 +1,8 @@
|
||||
name: Native Qualification
|
||||
|
||||
# Dispatch-only diagnostic campaigns for native browser integrations: owned
|
||||
# Windows cookie extraction, Windows launch/credential diagnostics, and Dia on
|
||||
# disposable Apple-silicon Macs. They exercise real browsers and OS services,
|
||||
# Windows cookie extraction and Windows launch/credential diagnostics. They
|
||||
# exercise real browsers and OS services,
|
||||
# so they are qualification evidence, not PR gates; they used to live in
|
||||
# windows-free-tests.yml, where their red dispatch runs read as a red PR lane.
|
||||
#
|
||||
@@ -19,9 +19,6 @@ on:
|
||||
options:
|
||||
- cookie-native
|
||||
- windows-native-diagnostics
|
||||
- dia-native
|
||||
- dia-launch-comparison
|
||||
- dia-gui-readiness
|
||||
|
||||
concurrency:
|
||||
group: native-qualification-${{ github.ref }}-${{ inputs.mode }}
|
||||
@@ -102,53 +99,3 @@ jobs:
|
||||
name: windows-native-diagnostics
|
||||
path: ${{ runner.temp }}/gstack-free-test-*.log
|
||||
if-no-files-found: ignore
|
||||
|
||||
dia-native-qualification:
|
||||
if: startsWith(inputs.mode, 'dia-')
|
||||
runs-on: macos-15
|
||||
timeout-minutes: 20
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
runtime: ${{ fromJSON(inputs.mode == 'dia-launch-comparison' && '["bun","node"]' || '["bun"]') }}
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
|
||||
with:
|
||||
bun-version: 1.4.2
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
if: inputs.mode == 'dia-launch-comparison'
|
||||
with:
|
||||
node-version: 24.18.0
|
||||
architecture: arm64
|
||||
- name: Install pinned dependencies
|
||||
if: inputs.mode != 'dia-gui-readiness'
|
||||
run: bun install --frozen-lockfile
|
||||
- name: Install the synthetic destination browser
|
||||
if: inputs.mode != 'dia-gui-readiness'
|
||||
run: bunx --no-install playwright install chromium
|
||||
- name: Inspect GUI readiness without browser or Keychain access
|
||||
if: inputs.mode == 'dia-gui-readiness'
|
||||
env:
|
||||
GSTACK_DIA_NATIVE_QUALIFY: '1'
|
||||
run: bun --no-env-file --no-install --no-macros --config=/dev/null .github/scripts/run-dia-native-qualification.ts --gui-readiness-only
|
||||
- name: Qualify native Dia discovery, decryption, and import
|
||||
if: inputs.mode == 'dia-native'
|
||||
env:
|
||||
GSTACK_DIA_NATIVE_QUALIFY: '1'
|
||||
run: bun --no-env-file --no-install --no-macros --config=/dev/null .github/scripts/run-dia-native-qualification.ts
|
||||
- name: Compare protected native Dia launch without qualification credit
|
||||
if: inputs.mode == 'dia-launch-comparison'
|
||||
env:
|
||||
GSTACK_DIA_NATIVE_QUALIFY: '1'
|
||||
COMPARISON_RUNTIME: ${{ matrix.runtime }}
|
||||
run: bun --no-env-file --no-install --no-macros --config=/dev/null .github/scripts/run-dia-native-qualification.ts --launch-comparison "$COMPARISON_RUNTIME"
|
||||
- name: Preserve only the sanitized qualification receipt
|
||||
if: always()
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
|
||||
with:
|
||||
name: ${{ inputs.mode == 'dia-gui-readiness' && 'dia-gui-readiness' || inputs.mode == 'dia-launch-comparison' && format('dia-launch-comparison-{0}', matrix.runtime) || 'dia-native-qualification' }}
|
||||
path: ${{ runner.temp }}/dia-native-qualification.json
|
||||
if-no-files-found: error
|
||||
Reference in new issue
Block a user