Skip to content

Commit 3647c99

Browse files
authored
Merge branch 'main' into python_version
2 parents ba4d009 + 292742e commit 3647c99

File tree

84 files changed

+4820
-1160
lines changed

Some content is hidden

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

84 files changed

+4820
-1160
lines changed

.coderabbit.yaml

Lines changed: 23 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,111 +1,57 @@
1-
language: en-US
2-
tone_instructions: ''
3-
early_access: false
4-
enable_free_tier: true
1+
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2+
# Inherits from org-wide config: https://github.com/opendatahub-io/coderabbit
3+
# Only overrides listed below differ from the org baseline.
4+
5+
inheritance: true
6+
57
reviews:
6-
profile: chill
7-
request_changes_workflow: false
8-
high_level_summary: true
9-
high_level_summary_placeholder: '@coderabbitai summary'
10-
high_level_summary_in_walkthrough: false
11-
auto_title_placeholder: '@coderabbitai'
12-
auto_title_instructions: ''
138
review_status: false
14-
commit_status: true
15-
fail_commit_status: false
16-
collapse_walkthrough: true
179
changed_files_summary: true
18-
sequence_diagrams: false
19-
assess_linked_issues: true
20-
related_issues: true
21-
related_prs: true
2210
suggested_labels: true
23-
auto_apply_labels: false
2411
suggested_reviewers: true
25-
auto_assign_reviewers: false
26-
poem: false
27-
labeling_instructions: []
28-
path_filters: ["!.github/**"]
29-
path_instructions: []
30-
abort_on_close: true
31-
disable_cache: false
32-
auto_review:
33-
enabled: true
34-
auto_incremental_review: true
35-
ignore_title_keywords: ['wip', 'do not merge', 'do not review',
36-
'lock file maintenance', 'pre-commit autoupdate']
37-
labels: []
38-
drafts: false
39-
base_branches: []
12+
related_issues: true
13+
related_prs: true
14+
15+
path_filters:
16+
- "!.github/**"
17+
4018
finishing_touches:
4119
docstrings:
4220
enabled: true
4321
unit_tests:
4422
enabled: true
23+
24+
auto_review:
25+
ignore_title_keywords:
26+
- "wip"
27+
- "do not merge"
28+
- "do not review"
29+
- "lock file maintenance"
30+
- "pre-commit autoupdate"
31+
4532
tools:
46-
ast-grep:
47-
rule_dirs: []
48-
util_dirs: []
49-
essential_rules: true
50-
packages: []
51-
shellcheck:
52-
enabled: true
53-
ruff:
54-
enabled: true
55-
markdownlint:
56-
enabled: true
57-
github-checks:
58-
enabled: true
59-
timeout_ms: 90000
6033
languagetool:
6134
enabled: true
62-
enabled_rules: []
63-
disabled_rules: []
64-
enabled_categories: []
65-
disabled_categories: []
66-
enabled_only: false
67-
level: default
6835
biome:
6936
enabled: true
70-
hadolint:
71-
enabled: true
7237
swiftlint:
7338
enabled: true
7439
phpstan:
7540
enabled: true
76-
level: default
77-
golangci-lint:
78-
enabled: true
79-
yamllint:
80-
enabled: true
81-
gitleaks:
82-
enabled: true
83-
checkov:
84-
enabled: true
8541
detekt:
8642
enabled: true
87-
eslint:
88-
enabled: true
8943
rubocop:
9044
enabled: true
9145
buf:
9246
enabled: true
9347
regal:
9448
enabled: true
95-
actionlint:
96-
enabled: true
9749
pmd:
9850
enabled: true
99-
cppcheck:
100-
enabled: true
101-
semgrep:
102-
enabled: true
10351
circleci:
10452
enabled: true
10553
clippy:
10654
enabled: true
107-
sqlfluff:
108-
enabled: true
10955
prismaLint:
11056
enabled: true
11157
pylint:
@@ -120,32 +66,12 @@ reviews:
12066
enabled: true
12167
dotenvLint:
12268
enabled: true
69+
12370
chat:
12471
auto_reply: true
125-
integrations:
126-
jira:
127-
usage: auto
128-
linear:
129-
usage: auto
72+
13073
knowledge_base:
131-
opt_out: false
13274
web_search:
13375
enabled: true
134-
learnings:
135-
scope: auto
136-
issues:
137-
scope: auto
138-
jira:
139-
usage: auto
140-
project_keys: []
141-
linear:
142-
usage: auto
143-
team_keys: []
14476
pull_requests:
14577
scope: auto
146-
code_generation:
147-
docstrings:
148-
language: en-US
149-
path_instructions: []
150-
unit_tests:
151-
path_instructions: []

.gitleaks.toml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Gitleaks configuration for opendatahub-io repos
2+
# Synced from security-config. Do not edit in target repos.
3+
#
4+
# Path allowlists use Go regex syntax.
5+
# Real credentials should NEVER be committed to any repository.
6+
7+
[extend]
8+
useDefault = true
9+
10+
[allowlist]
11+
description = "Exclude test fixtures, mock data, sample configs, and CI resources"
12+
paths = [
13+
# Go testdata directories
14+
'''testdata/''',
15+
16+
# Python test data directories
17+
'''test_data/''',
18+
19+
# Test fixtures
20+
'''fixtures/''',
21+
22+
# JavaScript/TypeScript mocks
23+
'''__mocks__/''',
24+
25+
# Go/Java/TS mock directories
26+
'''mocks/''',
27+
'''k8mocks/''',
28+
29+
# Sample and example configs with placeholder credentials
30+
'''docs/samples/''',
31+
'''config/samples/''',
32+
'''config/overlays/test/''',
33+
34+
# CI/GitHub Actions test resources
35+
'''\.github/resources/''',
36+
37+
# E2E test credentials
38+
'''test/e2e/credentials/''',
39+
'''tests/e2e/credentials/''',
40+
41+
# OpenShift CI sample resources
42+
'''openshift-ci/resources/samples/''',
43+
44+
# Cypress test data
45+
'''cypress/fixtures/''',
46+
'''cypress/tests/mocked/''',
47+
48+
# Test certificate and key files
49+
'''tests/data/.*\.(pem|crt|key)$''',
50+
]
51+
52+
# Known test/placeholder credentials used in documentation and tests
53+
regexes = [
54+
'''database-password\s*:\s*"?(The)?BlurstOfTimes"?''',
55+
'''database-user\s*:\s*"?mlmduser"?''',
56+
'''database-user\s*:\s*"?modelregistryuser"?''',
57+
]

.gitleaksignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Gitleaks ignore file
2+
# Add false positive fingerprints below (one per line)
3+
# Format: commit:file:rule-id:line or file:rule-id:line
4+
#
5+
# For path-based exclusions, use .gitleaks.toml allowlist instead.

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ repos:
3333
rev: v1.5.0
3434
hooks:
3535
- id: detect-secrets
36-
exclude: .*/__snapshots__/.*|.*-input\.json$
36+
exclude: .*/__snapshots__/.*|.*-input\.json$|^semgrep\.yaml$
3737

3838
- repo: https://github.com/astral-sh/ruff-pre-commit
39-
rev: v0.15.2
39+
rev: v0.15.5
4040
hooks:
4141
- id: ruff
4242
- id: ruff-format
@@ -81,7 +81,7 @@ repos:
8181
pass_filenames: false
8282

8383
- repo: https://github.com/rhysd/actionlint
84-
rev: v1.7.4
84+
rev: v1.7.11
8585
hooks:
8686
- id: actionlint
8787

pytest.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ markers =
1010
parallel: marks tests that can run in parallel along with pytest-xdist
1111

1212
# CI
13-
smoke: Mark tests as smoke tests; covers core functionality of the product. Aims to ensure that the build is stable enough for further testing.
13+
smoke: Mark tests as smoke tests; very high critical priority tests. Covers core functionality of the product. Aims to ensure that the build is stable enough for further testing.
1414
sanity: Mark tests as sanity tests. Aims to verify that specific functionality is working as expected.
15-
tier1: Mark tests as tier1. Aims to cover frequently used functionality of the product and basic user flows.
16-
tier2: Mark tests as tier2. Aims to cover more advanced functionality of the product.
15+
tier1: Mark tests as tier1. High-priority tests.
16+
tier2: Mark tests as tier2. Medium/low-priority positive tests.
17+
tier3: Mark tests as tier3. Negative and destructive tests.
1718
slow: Mark tests which take more than 10 minutes as slow tests.
1819
pre_upgrade: Mark tests which should be run before upgrading the product.
1920
post_upgrade: Mark tests which should be run after upgrading the product.

0 commit comments

Comments
 (0)