Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

different sarif output produced on macOS latest #160

Closed
kdudka opened this issue Jan 31, 2024 · 1 comment · Fixed by #161
Closed

different sarif output produced on macOS latest #160

kdudka opened this issue Jan 31, 2024 · 1 comment · Fixed by #161
Assignees
Labels
ci CI related changes regression

Comments

@kdudka
Copy link
Member

kdudka commented Jan 31, 2024

The macOS latest CI job started to fail due to differences in the SARIF output produced in this environment:

--- /Users/runner/work/csdiff/csdiff/tests/csgrep/0080-sarif-writer-stdout.txt	2024-01-31 11:26:22.000000000 +0000
+++ -	2024-01-31 11:33:56.000000000 +0000
@@ -1,13 +1,11 @@
 {
     "$schema": "https://json.schemastore.org/sarif-2.1.0.json",
     "version": "",
-    "inlineExternalProperties": [
-        {
-            "externalizedProperties": {
-                "analyzer-version-snyk-code": "1.0.0"
-            }
+    "inlineExternalProperties": {
+        "externalizedProperties": {
+            "analyzer-version-snyk-code": "1.0.0"
         }
-    ],
+    },
     "runs": [
         {
             "tool": {

affected CI job: https://github.com/csutils/csdiff/actions/runs/7725324164/job/21059295165?pr=159

@lzaoral
Copy link
Member

lzaoral commented Jan 31, 2024

The issue was caused by the following change introduced in Boost JSON
1.84.0: boostorg/json#921

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci CI related changes regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants