opentui_rust 0.2.1

High-performance terminal UI rendering engine with alpha blending and diffed buffers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
name: CI

on:
  push:
    branches: [main, master]
  pull_request:
    branches: [main, master]
  workflow_dispatch:

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

permissions:
  contents: read

env:
  CARGO_TERM_COLOR: always
  RUST_BACKTRACE: 1

jobs:
  lint:
    name: Lint
    runs-on: ubuntu-latest
    timeout-minutes: 15
    steps:
      - uses: actions/checkout@v4

      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@nightly
        with:
          components: rustfmt, clippy

      - name: Cache cargo
        uses: Swatinem/rust-cache@v2

      - name: Check formatting
        run: cargo fmt --all -- --check

      - name: Run clippy
        run: cargo clippy --all-targets --all-features -- -D warnings

  test:
    name: Test (${{ matrix.os }})
    runs-on: ${{ matrix.os }}
    timeout-minutes: 30
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
    steps:
      - uses: actions/checkout@v4

      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@nightly

      - name: Cache cargo
        uses: Swatinem/rust-cache@v2
        with:
          key: ${{ matrix.os }}

      - name: Run tests
        run: cargo test --all-features --verbose
        continue-on-error: ${{ matrix.os == 'windows-latest' }}

      - name: Run doc tests
        run: cargo test --doc
        continue-on-error: ${{ matrix.os == 'windows-latest' }}

  coverage:
    name: Coverage
    runs-on: ubuntu-latest
    timeout-minutes: 30
    steps:
      - uses: actions/checkout@v4

      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@nightly
        with:
          components: llvm-tools-preview

      - name: Cache cargo
        uses: Swatinem/rust-cache@v2

      - name: Install cargo-llvm-cov
        uses: taiki-e/install-action@cargo-llvm-cov

      - name: Generate coverage report
        run: |
          # Generate JSON report for analysis
          cargo llvm-cov --workspace \
            --ignore-filename-regex "(tests/|benches/|examples/)" \
            --json \
            --output-path coverage.json

          # Generate HTML report for artifacts
          cargo llvm-cov --workspace \
            --ignore-filename-regex "(tests/|benches/|examples/)" \
            --html \
            --output-dir coverage-html

          # Generate codecov format
          cargo llvm-cov --workspace \
            --ignore-filename-regex "(tests/|benches/|examples/)" \
            --codecov \
            --output-path codecov.json

      - name: Check coverage thresholds
        id: coverage_check
        run: |
          # Extract overall coverage
          OVERALL=$(jq -r '.data[0].totals.lines.percent // 0' coverage.json)
          echo "overall_coverage=$OVERALL" >> $GITHUB_OUTPUT

          # Module-specific coverage thresholds
          # Define thresholds: module_pattern:minimum_percent
          declare -A THRESHOLDS=(
            ["color.rs"]=95
            ["buffer/"]=90
            ["cell.rs"]=95
            ["input/"]=90
            ["text/"]=85
            ["renderer/"]=85
            ["ansi/"]=90
          )

          FAILURES=""

          echo "## Coverage Report" >> $GITHUB_STEP_SUMMARY
          echo "" >> $GITHUB_STEP_SUMMARY
          echo "| Module | Coverage | Threshold | Status |" >> $GITHUB_STEP_SUMMARY
          echo "|--------|----------|-----------|--------|" >> $GITHUB_STEP_SUMMARY

          for pattern in "${!THRESHOLDS[@]}"; do
            THRESHOLD=${THRESHOLDS[$pattern]}

            # Extract coverage for files matching pattern
            # Get coverage percentage for files containing the pattern
            COVERAGE=$(jq -r --arg pat "$pattern" '
              [.data[0].files[] | select(.filename | contains($pat))]
              | if length == 0 then 0
                else ([.[].summary.lines.percent] | add / length)
                end
            ' coverage.json 2>/dev/null || echo "0")

            # Handle null/empty
            if [ -z "$COVERAGE" ] || [ "$COVERAGE" = "null" ]; then
              COVERAGE="N/A"
              STATUS="⚠️"
            elif (( $(echo "$COVERAGE < $THRESHOLD" | bc -l) )); then
              FAILURES="$FAILURES\n- $pattern: ${COVERAGE}% < ${THRESHOLD}%"
              STATUS="❌"
            else
              STATUS="✅"
            fi

            echo "| \`$pattern\` | ${COVERAGE}% | ${THRESHOLD}% | $STATUS |" >> $GITHUB_STEP_SUMMARY
          done

          echo "" >> $GITHUB_STEP_SUMMARY
          echo "**Overall Coverage: ${OVERALL}%**" >> $GITHUB_STEP_SUMMARY

          # Overall threshold check (50% for now, increase as coverage improves)
          OVERALL_THRESHOLD=50
          if (( $(echo "$OVERALL < $OVERALL_THRESHOLD" | bc -l) )); then
            echo "" >> $GITHUB_STEP_SUMMARY
            echo "::error::Overall coverage ${OVERALL}% is below minimum threshold of ${OVERALL_THRESHOLD}%"
            exit 1
          fi

          # Report module failures as warnings (not blocking for now)
          if [ -n "$FAILURES" ]; then
            echo "" >> $GITHUB_STEP_SUMMARY
            echo "### Module Coverage Warnings" >> $GITHUB_STEP_SUMMARY
            echo -e "$FAILURES" >> $GITHUB_STEP_SUMMARY
            echo "::warning::Some modules are below their coverage thresholds"
          fi

      - name: Upload to Codecov
        uses: codecov/codecov-action@v4
        with:
          files: codecov.json
          fail_ci_if_error: false
        env:
          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

      - name: Upload coverage artifacts
        uses: actions/upload-artifact@v4
        if: always()
        with:
          name: coverage-report
          path: |
            coverage.json
            coverage-html/
          retention-days: 14

      - name: Comment coverage on PR
        if: github.event_name == 'pull_request'
        uses: actions/github-script@v7
        with:
          script: |
            const fs = require('fs');

            let coverage = 'unknown';
            try {
              const data = JSON.parse(fs.readFileSync('coverage.json', 'utf8'));
              coverage = data.data[0].totals.lines.percent.toFixed(1);
            } catch (e) {
              console.log('Could not read coverage:', e);
            }

            const body = `## Code Coverage Report

            **Overall Line Coverage: ${coverage}%**

            <details>
            <summary>View detailed coverage report</summary>

            Download the coverage artifacts from this workflow run for the full HTML report.
            </details>
            `;

            // Find existing comment
            const { data: comments } = await github.rest.issues.listComments({
              owner: context.repo.owner,
              repo: context.repo.repo,
              issue_number: context.issue.number,
            });

            const botComment = comments.find(c =>
              c.user.type === 'Bot' && c.body.includes('Code Coverage Report')
            );

            if (botComment) {
              await github.rest.issues.updateComment({
                owner: context.repo.owner,
                repo: context.repo.repo,
                comment_id: botComment.id,
                body
              });
            } else {
              await github.rest.issues.createComment({
                owner: context.repo.owner,
                repo: context.repo.repo,
                issue_number: context.issue.number,
                body
              });
            }

  security:
    name: Security Audit
    runs-on: ubuntu-latest
    timeout-minutes: 15
    steps:
      - uses: actions/checkout@v4

      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@nightly

      - name: Install cargo-audit
        run: cargo install cargo-audit

      - name: Run security audit
        run: cargo audit

  docs:
    name: Documentation
    runs-on: ubuntu-latest
    timeout-minutes: 15
    steps:
      - uses: actions/checkout@v4

      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@nightly

      - name: Cache cargo
        uses: Swatinem/rust-cache@v2

      - name: Build documentation
        run: cargo doc --no-deps --all-features
        env:
          RUSTDOCFLAGS: -D warnings

  build:
    name: Build (${{ matrix.target }})
    needs: [lint, test]
    runs-on: ${{ matrix.os }}
    timeout-minutes: 30
    strategy:
      fail-fast: false
      matrix:
        include:
          - os: ubuntu-latest
            target: x86_64-unknown-linux-gnu
          - os: ubuntu-24.04-arm
            target: aarch64-unknown-linux-gnu
          - os: macos-14
            target: aarch64-apple-darwin
          - os: macos-13
            target: x86_64-apple-darwin
          - os: windows-latest
            target: x86_64-pc-windows-msvc
    steps:
      - uses: actions/checkout@v4

      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@nightly
        with:
          targets: ${{ matrix.target }}

      - name: Cache cargo
        uses: Swatinem/rust-cache@v2
        with:
          key: ${{ matrix.target }}

      - name: Build release
        run: cargo build --release --target ${{ matrix.target }}

  bench:
    name: Benchmarks
    runs-on: ubuntu-latest
    timeout-minutes: 30
    if: github.event_name == 'push' && github.ref == 'refs/heads/main'
    steps:
      - uses: actions/checkout@v4

      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@nightly

      - name: Cache cargo
        uses: Swatinem/rust-cache@v2

      - name: Run benchmarks
        run: cargo bench --all-features

      - name: Upload benchmark results
        uses: actions/upload-artifact@v4
        with:
          name: benchmark-results
          path: target/criterion/
          retention-days: 30

  minimal-versions:
    name: Minimal Versions
    runs-on: ubuntu-latest
    timeout-minutes: 15
    steps:
      - uses: actions/checkout@v4

      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@nightly

      - name: Cache cargo
        uses: Swatinem/rust-cache@v2

      - name: Check with minimal versions
        run: |
          cargo update -Z minimal-versions
          cargo check --all-features

  conformance:
    name: Conformance Tests
    runs-on: ubuntu-latest
    timeout-minutes: 15
    steps:
      - uses: actions/checkout@v4

      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@nightly

      - name: Cache cargo
        uses: Swatinem/rust-cache@v2

      - name: Run conformance tests
        run: ./scripts/conformance.sh --json > conformance_results.json

      - name: Show conformance summary
        if: always()
        run: |
          echo "## Conformance Results" >> $GITHUB_STEP_SUMMARY
          if [ -f conformance_results.json ]; then
            PASSED=$(jq -r '.passed // 0' conformance_results.json)
            FAILED=$(jq -r '.failed // 0' conformance_results.json)
            echo "- **Passed:** $PASSED" >> $GITHUB_STEP_SUMMARY
            echo "- **Failed:** $FAILED" >> $GITHUB_STEP_SUMMARY
          fi

      - name: Upload conformance artifacts
        uses: actions/upload-artifact@v4
        if: always()
        with:
          name: conformance-results
          path: |
            conformance_results.json
            target/test-artifacts/conformance/
          retention-days: 7

  performance-budgets:
    name: Performance Budgets
    runs-on: ubuntu-latest
    timeout-minutes: 15
    steps:
      - uses: actions/checkout@v4

      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@nightly

      - name: Cache cargo
        uses: Swatinem/rust-cache@v2

      - name: Run performance budget tests
        run: cargo test --test benchmark_comparison -- --nocapture

      - name: Show performance summary
        run: |
          echo "## Performance Budget Tests" >> $GITHUB_STEP_SUMMARY
          echo "All performance budgets passed." >> $GITHUB_STEP_SUMMARY

  snapshot-tests:
    name: Snapshot Tests
    runs-on: ubuntu-latest
    timeout-minutes: 15
    steps:
      - uses: actions/checkout@v4

      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@nightly

      - name: Cache cargo
        uses: Swatinem/rust-cache@v2

      - name: Install cargo-insta
        uses: taiki-e/install-action@v2
        with:
          tool: cargo-insta

      - name: Verify snapshots
        run: cargo insta test --check

      - name: Show snapshot summary
        run: |
          echo "## Snapshot Tests" >> $GITHUB_STEP_SUMMARY
          SNAP_COUNT=$(find src -name "*.snap" | wc -l)
          echo "Verified **$SNAP_COUNT** snapshots." >> $GITHUB_STEP_SUMMARY

  property-tests:
    name: Property Tests
    runs-on: ubuntu-latest
    timeout-minutes: 30
    steps:
      - uses: actions/checkout@v4

      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@nightly

      - name: Cache cargo
        uses: Swatinem/rust-cache@v2

      - name: Run property tests
        run: cargo test proptest -- --nocapture
        env:
          PROPTEST_CASES: 1000

      - name: Show property test summary
        run: |
          echo "## Property Tests" >> $GITHUB_STEP_SUMMARY
          echo "Property-based testing with proptest completed." >> $GITHUB_STEP_SUMMARY

  e2e-tests:
    name: E2E Tests
    runs-on: ubuntu-latest
    timeout-minutes: 30
    steps:
      - uses: actions/checkout@v4

      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@nightly

      - name: Cache cargo
        uses: Swatinem/rust-cache@v2

      - name: Run E2E tests with artifact capture
        run: cargo test --test 'e2e_*' --test 'highlight_e2e' -- --nocapture
        env:
          HARNESS_ARTIFACTS: 1
          HARNESS_LOG_LEVEL: debug
          RUST_BACKTRACE: 1

      - name: Show E2E test summary
        if: always()
        run: |
          echo "## E2E Tests" >> $GITHUB_STEP_SUMMARY
          if [ -d "target/test-artifacts" ]; then
            SUITES=$(find target/test-artifacts -mindepth 1 -maxdepth 1 -type d | wc -l)
            echo "Test suites: $SUITES" >> $GITHUB_STEP_SUMMARY
            if [ -f target/test-artifacts/*/summary.json ]; then
              for summary in target/test-artifacts/*/summary.json; do
                PASSED=$(jq -r '.passed // "unknown"' "$summary" 2>/dev/null || echo "unknown")
                SUITE=$(dirname "$summary" | xargs basename)
                echo "- $SUITE: $PASSED" >> $GITHUB_STEP_SUMMARY
              done
            fi
          else
            echo "No test artifacts generated." >> $GITHUB_STEP_SUMMARY
          fi

      - name: Upload E2E test artifacts
        uses: actions/upload-artifact@v4
        if: failure()
        with:
          name: e2e-test-artifacts
          path: |
            target/test-artifacts/
          retention-days: 7

  demo-smoke:
    name: Demo Smoke (${{ matrix.size }})
    runs-on: ubuntu-latest
    timeout-minutes: 15
    strategy:
      fail-fast: false
      matrix:
        size: ["80x24", "132x43", "40x12", "200x60"]
        include:
          - size: "80x24"
            description: "Standard terminal"
          - size: "132x43"
            description: "Wide terminal"
          - size: "40x12"
            description: "Minimal terminal"
          - size: "200x60"
            description: "Large terminal"
    steps:
      - uses: actions/checkout@v4

      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@nightly

      - name: Cache cargo
        uses: Swatinem/rust-cache@v2
        with:
          key: demo-smoke

      - name: Build demo_showcase
        run: cargo build --release --bin demo_showcase

      - name: Run headless demo smoke test
        id: smoke
        run: |
          mkdir -p target/demo-smoke
          OUTPUT="target/demo-smoke/${{ matrix.size }}.json"
          STDERR_LOG="target/demo-smoke/${{ matrix.size }}.stderr.log"

          # Run the binary directly (already built in previous step)
          # Redirect stdout to JSON file, stderr to separate log to avoid corrupting JSON
          if ./target/release/demo_showcase \
              --headless-smoke \
              --tour \
              --exit-after-tour \
              --headless-size ${{ matrix.size }} \
              --seed 12345 \
              --max-frames 1000 \
              --headless-dump-json > "$OUTPUT" 2>"$STDERR_LOG"; then
            echo "status=success" >> $GITHUB_OUTPUT
          else
            echo "status=failed" >> $GITHUB_OUTPUT
            echo "Stderr output:"
            cat "$STDERR_LOG"
            exit 1
          fi

          # Validate JSON output
          if ! jq empty "$OUTPUT" 2>/dev/null; then
            echo "Invalid JSON output"
            cat "$OUTPUT"
            exit 1
          fi

          # Extract stats
          FRAMES=$(jq -r '.frames_rendered // 0' "$OUTPUT")
          LAYOUT=$(jq -r '.layout_mode // "unknown"' "$OUTPUT")
          echo "frames=$FRAMES" >> $GITHUB_OUTPUT
          echo "layout=$LAYOUT" >> $GITHUB_OUTPUT

      - name: Show smoke test results
        if: always()
        run: |
          echo "## Demo Smoke: ${{ matrix.size }}" >> $GITHUB_STEP_SUMMARY
          echo "" >> $GITHUB_STEP_SUMMARY
          echo "**Size:** ${{ matrix.size }} (${{ matrix.description }})" >> $GITHUB_STEP_SUMMARY
          echo "**Status:** ${{ steps.smoke.outputs.status || 'unknown' }}" >> $GITHUB_STEP_SUMMARY
          echo "**Frames:** ${{ steps.smoke.outputs.frames || 'N/A' }}" >> $GITHUB_STEP_SUMMARY
          echo "**Layout:** ${{ steps.smoke.outputs.layout || 'N/A' }}" >> $GITHUB_STEP_SUMMARY

      - name: Upload smoke test artifacts
        uses: actions/upload-artifact@v4
        if: always()
        with:
          name: demo-smoke-${{ matrix.size }}
          path: target/demo-smoke/
          retention-days: 7

  pty-tests:
    name: PTY Tests
    runs-on: ubuntu-latest
    timeout-minutes: 30
    steps:
      - uses: actions/checkout@v4

      - name: Install Rust toolchain
        uses: dtolnay/rust-toolchain@nightly

      - name: Cache cargo
        uses: Swatinem/rust-cache@v2

      - name: Build demo_showcase binary
        run: cargo build --bin demo_showcase

      - name: Run PTY E2E tests
        run: cargo test --test pty_e2e --features pty-tests -- --nocapture --test-threads=1
        env:
          TERM: xterm-256color
          HARNESS_ARTIFACTS: 1
          HARNESS_LOG_LEVEL: debug
          RUST_BACKTRACE: 1
        continue-on-error: true

      - name: Show PTY test summary
        if: always()
        run: |
          echo "## PTY Tests" >> $GITHUB_STEP_SUMMARY
          if [ -d "target/test-artifacts" ]; then
            echo "Test artifacts generated." >> $GITHUB_STEP_SUMMARY
            find target/test-artifacts -name "*.txt" -o -name "*.json" | head -20 | while read f; do
              echo "- $(basename $f)" >> $GITHUB_STEP_SUMMARY
            done
          else
            echo "No test artifacts found." >> $GITHUB_STEP_SUMMARY
          fi

      - name: Upload PTY test artifacts
        uses: actions/upload-artifact@v4
        if: always()
        with:
          name: pty-test-artifacts
          path: |
            target/test-artifacts/
          retention-days: 7

  # Summary job that other workflows can depend on
  ci-success:
    name: CI Success
    needs: [lint, test, coverage, security, docs, build, conformance, performance-budgets, snapshot-tests, property-tests, e2e-tests, demo-smoke, pty-tests]
    runs-on: ubuntu-latest
    if: always()
    steps:
      - name: Check all jobs passed
        run: |
          # Required jobs (must pass)
          if [[ "${{ needs.lint.result }}" != "success" ]] || \
             [[ "${{ needs.test.result }}" != "success" ]] || \
             [[ "${{ needs.coverage.result }}" != "success" ]] || \
             [[ "${{ needs.security.result }}" != "success" ]] || \
             [[ "${{ needs.docs.result }}" != "success" ]] || \
             [[ "${{ needs.build.result }}" != "success" ]] || \
             [[ "${{ needs.conformance.result }}" != "success" ]] || \
             [[ "${{ needs.performance-budgets.result }}" != "success" ]] || \
             [[ "${{ needs.snapshot-tests.result }}" != "success" ]] || \
             [[ "${{ needs.property-tests.result }}" != "success" ]] || \
             [[ "${{ needs.e2e-tests.result }}" != "success" ]] || \
             [[ "${{ needs.demo-smoke.result }}" != "success" ]]; then
            echo "One or more required jobs failed"
            exit 1
          fi

          # PTY tests are informational (allowed to fail)
          if [[ "${{ needs.pty-tests.result }}" != "success" ]]; then
            echo "::warning::PTY tests failed (informational, not blocking)"
          fi

          echo "All required CI jobs passed!"

      - name: Generate CI summary
        if: always()
        run: |
          echo "## CI Summary" >> $GITHUB_STEP_SUMMARY
          echo "" >> $GITHUB_STEP_SUMMARY
          echo "| Job | Status |" >> $GITHUB_STEP_SUMMARY
          echo "|-----|--------|" >> $GITHUB_STEP_SUMMARY
          echo "| Lint | ${{ needs.lint.result == 'success' && '✅' || '❌' }} |" >> $GITHUB_STEP_SUMMARY
          echo "| Tests | ${{ needs.test.result == 'success' && '✅' || '❌' }} |" >> $GITHUB_STEP_SUMMARY
          echo "| Coverage | ${{ needs.coverage.result == 'success' && '✅' || '❌' }} |" >> $GITHUB_STEP_SUMMARY
          echo "| Security | ${{ needs.security.result == 'success' && '✅' || '❌' }} |" >> $GITHUB_STEP_SUMMARY
          echo "| Docs | ${{ needs.docs.result == 'success' && '✅' || '❌' }} |" >> $GITHUB_STEP_SUMMARY
          echo "| Build | ${{ needs.build.result == 'success' && '✅' || '❌' }} |" >> $GITHUB_STEP_SUMMARY
          echo "| Conformance | ${{ needs.conformance.result == 'success' && '✅' || '❌' }} |" >> $GITHUB_STEP_SUMMARY
          echo "| Performance | ${{ needs.performance-budgets.result == 'success' && '✅' || '❌' }} |" >> $GITHUB_STEP_SUMMARY
          echo "| Snapshots | ${{ needs.snapshot-tests.result == 'success' && '✅' || '❌' }} |" >> $GITHUB_STEP_SUMMARY
          echo "| Property | ${{ needs.property-tests.result == 'success' && '✅' || '❌' }} |" >> $GITHUB_STEP_SUMMARY
          echo "| E2E | ${{ needs.e2e-tests.result == 'success' && '✅' || '❌' }} |" >> $GITHUB_STEP_SUMMARY
          echo "| Demo Smoke | ${{ needs.demo-smoke.result == 'success' && '✅' || '❌' }} |" >> $GITHUB_STEP_SUMMARY
          echo "| PTY (info) | ${{ needs.pty-tests.result == 'success' && '✅' || '⚠️' }} |" >> $GITHUB_STEP_SUMMARY