Skip to content

Commit 65a73e1

Browse files
chore(governance): clear pre-existing CI/governance debt (#54)
Fix Cargo.toml license (MPL-2.0), .governance-allowlist for playground TS exemption, rackunit scope conflict in test.yml, timeout-minutes on all non-reusable jobs, delete SPEC.core.scm.orig, delete Java JetBrains plugin, migrate VS Code extension ReScript → AffineScript, fix optimization.rkt/sampling.rkt compile errors, add .hypatia-ignore, add CFL Dockerfile, drop unused racket/readline require.
1 parent 32872d5 commit 65a73e1

81 files changed

Lines changed: 274 additions & 3232 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.clusterfuzzlite/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
# ClusterFuzzLite build image for betlang.
3+
#
4+
# ClusterFuzzLite invokes `docker build -f .clusterfuzzlite/Dockerfile`,
5+
# so this file must be named `Dockerfile`. It mirrors the OCI-neutral
6+
# Containerfile in this directory (kept for podman-first local builds per
7+
# the authority stack); keep the two in sync.
8+
FROM gcr.io/oss-fuzz-base/base-builder-rust
9+
RUN apt-get update && apt-get install -y make autoconf automake libtool
10+
COPY . $SRC/betlang
11+
WORKDIR $SRC/betlang
12+
COPY .clusterfuzzlite/build.sh $SRC/

.github/workflows/cargo-audit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ permissions: read-all
2020
jobs:
2121
audit:
2222
runs-on: ubuntu-latest
23+
timeout-minutes: 30
2324
steps:
2425
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
2526

@@ -35,6 +36,7 @@ jobs:
3536
# Optional: Create issues for vulnerabilities
3637
create-issue:
3738
runs-on: ubuntu-latest
39+
timeout-minutes: 30
3840
needs: audit
3941
if: failure()
4042
permissions:

.github/workflows/casket-pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ concurrency:
1818
jobs:
1919
build:
2020
runs-on: ubuntu-latest
21+
timeout-minutes: 30
2122
steps:
2223
- name: Checkout
2324
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
@@ -91,6 +92,7 @@ jobs:
9192
name: github-pages
9293
url: ${{ steps.deployment.outputs.page_url }}
9394
runs-on: ubuntu-latest
95+
timeout-minutes: 30
9496
needs: build
9597
steps:
9698
- name: Deploy to GitHub Pages

.github/workflows/cflite_batch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ permissions: read-all
77
jobs:
88
fuzz:
99
runs-on: ubuntu-latest
10+
timeout-minutes: 30
1011
steps:
1112
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1213
- uses: google/clusterfuzzlite/actions/build_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1

.github/workflows/cflite_pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ permissions: read-all
1010
jobs:
1111
fuzz:
1212
runs-on: ubuntu-latest
13+
timeout-minutes: 30
1314
steps:
1415
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1516
- uses: google/clusterfuzzlite/actions/build_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ permissions: read-all
2222
jobs:
2323
analyze:
2424
runs-on: ubuntu-latest
25+
timeout-minutes: 30
2526
permissions:
2627
contents: read
2728
security-events: write

.github/workflows/comprehensive-quality.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
# DEPENDABILITY - Stability and reliability
1616
dependability:
1717
runs-on: ubuntu-latest
18+
timeout-minutes: 30
1819
steps:
1920
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
2021
- name: Check test coverage
@@ -34,6 +35,7 @@ jobs:
3435
# SECURITY - Multi-layer security scanning
3536
security:
3637
runs-on: ubuntu-latest
38+
timeout-minutes: 30
3739
steps:
3840
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
3941
- name: Secret scanning
@@ -54,6 +56,7 @@ jobs:
5456
# INTEROPERABILITY - API and format compatibility
5557
interoperability:
5658
runs-on: ubuntu-latest
59+
timeout-minutes: 30
5760
steps:
5861
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
5962
- name: Check API specs
@@ -71,6 +74,7 @@ jobs:
7174
# VALIDATION - Input/output validation
7275
validation:
7376
runs-on: ubuntu-latest
77+
timeout-minutes: 30
7478
steps:
7579
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
7680
- name: Check for validation patterns
@@ -81,6 +85,7 @@ jobs:
8185
# ATTESTATION - Supply chain integrity (SLSA)
8286
attestation:
8387
runs-on: ubuntu-latest
88+
timeout-minutes: 30
8489
permissions:
8590
id-token: write
8691
contents: read
@@ -101,6 +106,7 @@ jobs:
101106
# VERIFICATION - Formal methods where applicable
102107
verification:
103108
runs-on: ubuntu-latest
109+
timeout-minutes: 30
104110
steps:
105111
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
106112
- name: Check SPARK proofs
@@ -117,6 +123,7 @@ jobs:
117123
# FUNCTIONALITY - Feature completeness
118124
functionality:
119125
runs-on: ubuntu-latest
126+
timeout-minutes: 30
120127
steps:
121128
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
122129
- name: Check TODOs and FIXMEs
@@ -130,6 +137,7 @@ jobs:
130137
# PERFORMANCE - Benchmarks and profiling
131138
performance:
132139
runs-on: ubuntu-latest
140+
timeout-minutes: 30
133141
steps:
134142
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
135143
- name: Check for benchmarks
@@ -146,6 +154,7 @@ jobs:
146154
# ACCESSIBILITY - A11y compliance
147155
accessibility:
148156
runs-on: ubuntu-latest
157+
timeout-minutes: 30
149158
if: hashFiles('**/*.html') != ''
150159
steps:
151160
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
@@ -161,6 +170,7 @@ jobs:
161170
# LICENSE COMPLIANCE
162171
license:
163172
runs-on: ubuntu-latest
173+
timeout-minutes: 30
164174
steps:
165175
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
166176
- name: Check license files
@@ -179,6 +189,7 @@ jobs:
179189
# DOCUMENTATION QUALITY
180190
documentation:
181191
runs-on: ubuntu-latest
192+
timeout-minutes: 30
182193
steps:
183194
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
184195
- name: Check docs completeness

.github/workflows/jekyll-gh-pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
# Build job
2727
build:
2828
runs-on: ubuntu-latest
29+
timeout-minutes: 30
2930
steps:
3031
- name: Checkout
3132
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
@@ -45,6 +46,7 @@ jobs:
4546
name: github-pages
4647
url: ${{ steps.deployment.outputs.page_url }}
4748
runs-on: ubuntu-latest
49+
timeout-minutes: 30
4850
needs: build
4951
steps:
5052
- name: Deploy to GitHub Pages

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ env:
2020
jobs:
2121
build-linux:
2222
runs-on: ubuntu-latest
23+
timeout-minutes: 30
2324
strategy:
2425
matrix:
2526
target:
@@ -57,6 +58,7 @@ jobs:
5758

5859
build-macos:
5960
runs-on: macos-latest
61+
timeout-minutes: 30
6062
strategy:
6163
matrix:
6264
target:
@@ -88,6 +90,7 @@ jobs:
8890

8991
build-windows:
9092
runs-on: windows-latest
93+
timeout-minutes: 30
9194
steps:
9295
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
9396

@@ -113,6 +116,7 @@ jobs:
113116

114117
build-lsp:
115118
runs-on: ubuntu-latest
119+
timeout-minutes: 30
116120
steps:
117121
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
118122

@@ -138,6 +142,7 @@ jobs:
138142
release:
139143
needs: [build-linux, build-macos, build-windows, build-lsp]
140144
runs-on: ubuntu-latest
145+
timeout-minutes: 30
141146
steps:
142147
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
143148

.github/workflows/scorecard-enforcer.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ permissions: read-all
2222
jobs:
2323
scorecard:
2424
runs-on: ubuntu-latest
25+
timeout-minutes: 30
2526
permissions:
2627
security-events: write
2728
id-token: write # For OIDC
@@ -60,6 +61,7 @@ jobs:
6061
# Check specific high-priority items
6162
check-critical:
6263
runs-on: ubuntu-latest
64+
timeout-minutes: 30
6365
steps:
6466
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
6567

0 commit comments

Comments
 (0)