From ebd82389753af4fbfe763d75fce14879ffe80ff1 Mon Sep 17 00:00:00 2001 From: Mark Rossetti Date: Tue, 3 Dec 2024 10:55:35 -0800 Subject: [PATCH 1/4] Issue template for reporting bugs --- .github/ISSUE_TEMPLATE/bug.yaml | 71 +++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug.yaml diff --git a/.github/ISSUE_TEMPLATE/bug.yaml b/.github/ISSUE_TEMPLATE/bug.yaml new file mode 100644 index 000000000..51fd40602 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yaml @@ -0,0 +1,71 @@ +name: Bug Report + +description: Report a bug in the project + +labels: + - bug + +body: + - type: textarea + id: bug-description + attributes: + label: What happened? + description: A clear and concise description of what the bug is. + placeholder: Describe the bug here + validations: + required: true + + - type: textarea + id: bug-expected-behavior + attributes: + label: What did you expect to happen? + description: A clear and concise description of what you expected to happen. + validations: + required: true + + - type: textarea + id: hyperlight-version + attributes: + label: Hyperlight Version + description: The version of Hyperlight you are using. + placeholder: 0.1.0 + validations: + required: true + + - type: textarea + id: os-version + attributes: + label: OS version + description: The version of the OS you are using. + value: | +
+ + ```console + On Linux: + $ cat /etc/os-release + # paste output here + + $ cat /uname -a + # paste output here + + KVM version: + $ /usr/bin/qemu-system-x86_64 --version + # paste output here + + On Windows: + C:\> cmd /c ver + # paste output here + + ```` +
+ validations: + required: true + + - type: textarea + id: additional-info + attributes: + label: Additional Information + description: Add any other context about the problem here. + placeholder: Add any other context about the problem here. + validations: + required: false From c627027e689c346158ee5a25f72edc126149940e Mon Sep 17 00:00:00 2001 From: Mark Rossetti Date: Fri, 6 Dec 2024 15:22:47 -0800 Subject: [PATCH 2/4] Update README.md foo --- docs/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/README.md b/docs/README.md index 1b1572dda..32cb6f1b5 100644 --- a/docs/README.md +++ b/docs/README.md @@ -41,3 +41,6 @@ This project is composed internally of several internal components, depicted in * [Hyperlight Surrogate Development Notes](./hyperlight-surrogate-development-notes.md) * [Debugging Hyperlight](./debugging-hyperlight.md) * [Signal Handling in Hyperlight](./signal-handlers-development-notes.md) + + +test edit From 219bdea509f6a2658f0bd930aeb8fd2117fc763a Mon Sep 17 00:00:00 2001 From: Mark Rossetti Date: Mon, 9 Dec 2024 14:16:25 -0800 Subject: [PATCH 3/4] Adding jobs to test tide --- .github/workflows/conditional-fail.yml | 11 +++++++++++ .github/workflows/contidiontal-pass.yml | 11 +++++++++++ .github/workflows/optional-fail.yml | 11 +++++++++++ .github/workflows/optional-pass.yml | 11 +++++++++++ .github/workflows/required.yml | 11 +++++++++++ 5 files changed, 55 insertions(+) create mode 100644 .github/workflows/conditional-fail.yml create mode 100644 .github/workflows/contidiontal-pass.yml create mode 100644 .github/workflows/optional-fail.yml create mode 100644 .github/workflows/optional-pass.yml create mode 100644 .github/workflows/required.yml diff --git a/.github/workflows/conditional-fail.yml b/.github/workflows/conditional-fail.yml new file mode 100644 index 000000000..f75bdf4f0 --- /dev/null +++ b/.github/workflows/conditional-fail.yml @@ -0,0 +1,11 @@ +name: Conditional Job - Always Fail + +on: + workflow_dispatch: + +jobs: + fail_job: + runs-on: ubuntu-latest + steps: + - name: Always Fail Step + run: exit 1 diff --git a/.github/workflows/contidiontal-pass.yml b/.github/workflows/contidiontal-pass.yml new file mode 100644 index 000000000..bbe69f1ce --- /dev/null +++ b/.github/workflows/contidiontal-pass.yml @@ -0,0 +1,11 @@ +name: Conditional Job - Always Pass + +on: + workflow_dispatch: + +jobs: + pass_job: + runs-on: ubuntu-latest + steps: + - name: Always Fail Step + run: exit 0 diff --git a/.github/workflows/optional-fail.yml b/.github/workflows/optional-fail.yml new file mode 100644 index 000000000..84182a30c --- /dev/null +++ b/.github/workflows/optional-fail.yml @@ -0,0 +1,11 @@ +name: Optional Job - Always Fail + +on: + workflow_dispatch: + +jobs: + fail_job: + runs-on: ubuntu-latest + steps: + - name: Always Fail Step + run: exit 1 diff --git a/.github/workflows/optional-pass.yml b/.github/workflows/optional-pass.yml new file mode 100644 index 000000000..68207bea6 --- /dev/null +++ b/.github/workflows/optional-pass.yml @@ -0,0 +1,11 @@ +name: Optional Job - Always Pass + +on: + workflow_dispatch: + +jobs: + pass_job: + runs-on: ubuntu-latest + steps: + - name: Always Fail Step + run: exit 0 diff --git a/.github/workflows/required.yml b/.github/workflows/required.yml new file mode 100644 index 000000000..b054fcdbd --- /dev/null +++ b/.github/workflows/required.yml @@ -0,0 +1,11 @@ +name: Required Job - Pass + +on: + workflow_dispatch: + +jobs: + pass_job: + runs-on: ubuntu-latest + steps: + - name: Always Fail Step + run: exit 0 From 6e4c212d85c2c471b37497f4dd5f6a0d4fa901ee Mon Sep 17 00:00:00 2001 From: Mark Rossetti Date: Tue, 10 Dec 2024 17:04:48 -0800 Subject: [PATCH 4/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e4562586..500522218 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ pub fn guest_dispatch_function(function_call: FunctionCall) -> Result> { ErrorCode::GuestFunctionNotFound, function_name, )); -} +}asdfasdfasdfsadfsafd ``` For additional examples of using the Hyperlight host Rust library, see