Skip to content

Commit

Permalink
Merge branch 'main' into node-exports-check
Browse files Browse the repository at this point in the history
  • Loading branch information
prateek-kumar-improving authored Dec 10, 2024
2 parents d88e21a + 43dd980 commit 94212bf
Show file tree
Hide file tree
Showing 109 changed files with 5,786 additions and 5,237 deletions.
2 changes: 1 addition & 1 deletion .github/DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ We use dynamic matrices for our CI/CD workflows, which are created using the `cr
4. It generates three matrices:
- Engine matrix: Defines the types and versions of the engine to test against, for example Valkey 7.2.5.
- Host matrix: Defines the host platforms to run the tests on, for example Ubuntu on ARM64.
- Language-version matrix: Defines the supported versions of languages, for example python 3.8.
- Language-version matrix: Defines the supported versions of languages, for example python 3.9.

#### Outputs

Expand Down
137 changes: 137 additions & 0 deletions .github/ISSUE_TEMPLATE/flaky-ci-test-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
name: Flaky CI Test Issue
description: Report a flaky test in the CI pipeline
title: "[Flaky Test] <test-name>"
labels: ["bug", "flaky-test"]
assignees: []

body:
- type: markdown
attributes:
value: |
## Description of the Flaky Test
- type: input
id: test-name
attributes:
label: Test Name
description: Name of the test that is flaky
placeholder: e.g., test_example

- type: input
id: test-location
attributes:
label: Test Location
description: File and line number or test suite
placeholder: e.g., test_suite.py line 42

- type: input
id: failure-permlink
attributes:
label: Failure Permlink
description: Permlink to the failure line in the test run
placeholder: e.g., https://ci.example.com/build/123

- type: input
id: frequency
attributes:
label: Frequency
description: How often does the test fail?
placeholder: e.g., 1 in 10 runs

- type: markdown
attributes:
value: |
## Steps to Reproduce
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to Reproduce
description: List the steps required to reproduce the flaky test
placeholder:
1. Step 1
2. Step 2
3. Step 3

- type: markdown
attributes:
value: |
## Additional Context
- type: input
id: system-information
attributes:
label: System Information
description: Operating system, CI environment, etc.
placeholder: e.g., Ubuntu 20.04, GitHub Actions

- type: input
id: language-and-version
attributes:
label: Language and Version
description: Programming language and its version
placeholder: e.g., Python 3.8

- type: input
id: engine-version
attributes:
label: Engine Version
description: Engine version used
placeholder: e.g., v6.2

- type: textarea
id: logs
attributes:
label: Logs
description: Include any relevant logs or error messages
placeholder: Paste logs here...

- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain the issue
placeholder: Paste screenshots here...

- type: input
id: glide-version
attributes:
label: Glide Version
description: Glide version used
placeholder: e.g., 1.2.3

- type: markdown
attributes:
value: |
## Expected Behavior
- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
description: Describe what you expected to happen
placeholder: Describe the expected behavior...

- type: markdown
attributes:
value: |
## Actual Behavior
- type: textarea
id: actual-behavior
attributes:
label: Actual Behavior
description: Describe what actually happened
placeholder: Describe the actual behavior...

- type: markdown
attributes:
value: |
## Possible Fixes
- type: textarea
id: possible-fixes
attributes:
label: Possible Fixes
description: If you have any insight into what might be causing the flakiness, mention it here
placeholder: Describe possible fixes...
73 changes: 73 additions & 0 deletions .github/ISSUE_TEMPLATE/inquiry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Inquiry
description: Use this template for asking questions
title: "[Inquiry] "
labels: ["Inquiry"]
assignees: []

body:
- type: markdown
attributes:
value: |
## Question
- type: textarea
id: question-description
attributes:
label: Inquiry
description: Describe your inquiry in detail
placeholder: Describe your inquiry...

- type: markdown
attributes:
value: |
## Language and Version
- type: input
id: language
attributes:
label: Language
description: Optional - Specify the programming language
placeholder: e.g., Python, Java

- type: input
id: language-version
attributes:
label: Language Version
description: Optional - Specify the version of the language
placeholder: e.g., 3.8, 11

- type: markdown
attributes:
value: |
## Engine Version
- type: input
id: engine-version
attributes:
label: Engine Version
description: Optional - Specify the engine version
placeholder: e.g., ValKey 8.0.1, Redis-OSS 6.2.14

- type: markdown
attributes:
value: |
## Operating System
- type: input
id: os
attributes:
label: Operating System
description: Optional - Specify the operating system
placeholder: e.g., MacOs 14, Ubuntu 20.04

- type: markdown
attributes:
value: |
## Additional Technical Information
- type: textarea
id: additional-info
attributes:
label: Additional Technical Information
description: Optional - Provide any additional technical information
placeholder: Additional context or details...
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/task.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Task
description: Create a task to manage work
title: "[Task]"
labels: ["task"]
assignees: []

body:
- type: markdown
attributes:
value: |
## Task Description
- type: textarea
attributes:
label: Description
description: Describe the task in detail
placeholder: Describe the task...

- type: checkboxes
attributes:
label: Checklist
description: Add items to be completed
options:
- label: Task item 1
- label: Task item 2
- label: Task item 3

- type: textarea
attributes:
label: Additional Notes
description: Add any additional notes or comments
placeholder: Any additional notes...
8 changes: 4 additions & 4 deletions .github/json_matrices/supported-languages-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
},
{
"language": "python",
"versions": ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
"always-run-versions": ["3.8", "3.13"]
"versions": ["3.9", "3.10", "3.11", "3.12", "3.13"],
"always-run-versions": ["3.9", "3.13"]
},
{
"language": "node",
Expand All @@ -21,7 +21,7 @@
},
{
"language": "go",
"versions": ["1.22.0", "1.18.10"],
"always-run-versions": ["1.22.0"]
"versions": ["1.22.0", "1.20.0"],
"always-run-versions": ["1.22.0", "1.20.0"]
}
]
4 changes: 2 additions & 2 deletions .github/workflows/java-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
- name: Install protoc (protobuf)
uses: arduino/setup-protoc@v3
with:
version: "26.1"
version: "29.1"
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Create secret key ring file
Expand Down Expand Up @@ -245,7 +245,7 @@ jobs:
- name: Install protoc (protobuf)
uses: arduino/setup-protoc@v3
with:
version: "26.1"
version: "29.1"
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Start standalone Valkey server
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
- name: Install protoc (protobuf)
uses: arduino/setup-protoc@v3
with:
version: "26.1"
version: "29.1"
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build java client
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
- name: Install protoc (protobuf)
uses: arduino/setup-protoc@v3
with:
version: "26.1"
version: "29.1"
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build java wrapper
Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
- name: Install protoc (protobuf)
uses: arduino/setup-protoc@v3
with:
version: "26.1"
version: "29.1"
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Test java wrapper
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ort-sweeper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
id: get-branches
run: |
# Get all branches matching 'release-*' and include 'main'
branches=$(git ls-remote --heads origin | awk -F'/' '/refs\/heads\/release-/ {print $NF}')
branches=$(git ls-remote --heads origin | awk -F'/' '/refs\/heads\/release-/ {printf $NF" "}')
branches="main $branches"
echo "::set-output name=branches::$branches"
env:
Expand Down
Loading

0 comments on commit 94212bf

Please sign in to comment.