-
Notifications
You must be signed in to change notification settings - Fork 16
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
Rule information during integration testing #393
Draft
Soph1514
wants to merge
20
commits into
conjure-cp:main
Choose a base branch
from
Soph1514:tracing
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
e4d7772
printing out rules to the console
Soph1514 fb56220
Merge branch 'conjure-cp:main' into tracing
Soph1514 a2d0f77
added a function to write the rules into a file for a specific test
Soph1514 46f7c04
Merge remote-tracking branch 'refs/remotes/origin/tracing' into tracing
Soph1514 822309a
throwing a bug! if there are more than 1 rule that can be applied to …
Soph1514 3a68906
removing bug! from choose_rewrite to put in an separate pr
Soph1514 b75b24c
implemented bug! when multiple rules can be applied to an expression
Soph1514 7682231
Activated the trace from apply_all_rules
Soph1514 555c69f
Merge branch 'tracing'
Soph1514 951d928
git struggles
Soph1514 fff3b94
removed spam name from log
a-nosnitram b02b5eb
removing changes from rule_checking branch from tracing branch
Soph1514 a9e5cd7
Merge branch 'main' into tracing
Soph1514 766dbff
function to trace rules that were applied an an expression
Soph1514 b7ce7d5
Merge branch 'tracing' of https://github.com/Soph1514/conjure-oxide i…
Soph1514 4631c13
two versions of rule trace files: expected and the generated
Soph1514 14f7215
json logging format
a-nosnitram 3af5ead
deleted the TXT logs
a-nosnitram 166d25c
added expected rule trace
a-nosnitram 8e6c7c7
removed application from log
a-nosnitram File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
conjure_oxide/tests/integration/basic/bool/01/bool-01-rules.txt
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
conjure_oxide/tests/integration/basic/bool/01/bool-01.expected-rule-trace.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Event { fields: ValueSet { message: trace test, callsite: Identifier(0x55fb910e6020) }, metadata: Metadata { name: "event conjure_oxide/tests/generated_tests.rs:76", target: "rule_engine", level: Level(Trace), module_path: "generated_tests", location: conjure_oxide/tests/generated_tests.rs:76, fields: {message}, callsite: Identifier(0x55fb910e6020), kind: Kind(EVENT) }, parent: Current } |
1 change: 1 addition & 0 deletions
1
conjure_oxide/tests/integration/basic/bool/01/bool-01.generated-rule-trace.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Event { fields: ValueSet { message: trace test, callsite: Identifier(0x557b0aba4020) }, metadata: Metadata { name: "event conjure_oxide/tests/generated_tests.rs:77", target: "rule_engine", level: Level(Trace), module_path: "generated_tests", location: conjure_oxide/tests/generated_tests.rs:77, fields: {message}, callsite: Identifier(0x557b0aba4020), kind: Kind(EVENT) }, parent: Current } | ||
1 change: 0 additions & 1 deletion
1
conjure_oxide/tests/integration/basic/bool/02/bool-02-rules.txt
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
conjure_oxide/tests/integration/basic/bool/02/bool-02.expected-rule-trace.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Event { fields: ValueSet { message: trace test, callsite: Identifier(0x55fb910e6020) }, metadata: Metadata { name: "event conjure_oxide/tests/generated_tests.rs:76", target: "rule_engine", level: Level(Trace), module_path: "generated_tests", location: conjure_oxide/tests/generated_tests.rs:76, fields: {message}, callsite: Identifier(0x55fb910e6020), kind: Kind(EVENT) }, parent: Current } |
1 change: 1 addition & 0 deletions
1
conjure_oxide/tests/integration/basic/bool/02/bool-02.generated-rule-trace.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Event { fields: ValueSet { message: trace test, callsite: Identifier(0x555aa437c020) }, metadata: Metadata { name: "event conjure_oxide/tests/generated_tests.rs:77", target: "rule_engine", level: Level(Trace), module_path: "generated_tests", location: conjure_oxide/tests/generated_tests.rs:77, fields: {message}, callsite: Identifier(0x555aa437c020), kind: Kind(EVENT) }, parent: Current } |
1 change: 0 additions & 1 deletion
1
conjure_oxide/tests/integration/basic/bool/03/bool-03-rules.txt
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
conjure_oxide/tests/integration/basic/bool/03/bool-03.expected-rule-trace.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Event { fields: ValueSet { message: trace test, callsite: Identifier(0x55fb910e6020) }, metadata: Metadata { name: "event conjure_oxide/tests/generated_tests.rs:76", target: "rule_engine", level: Level(Trace), module_path: "generated_tests", location: conjure_oxide/tests/generated_tests.rs:76, fields: {message}, callsite: Identifier(0x55fb910e6020), kind: Kind(EVENT) }, parent: Current } |
1 change: 1 addition & 0 deletions
1
conjure_oxide/tests/integration/basic/bool/03/bool-03.generated-rule-trace.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Event { fields: ValueSet { message: trace test, callsite: Identifier(0x55cdcd2f2020) }, metadata: Metadata { name: "event conjure_oxide/tests/generated_tests.rs:77", target: "rule_engine", level: Level(Trace), module_path: "generated_tests", location: conjure_oxide/tests/generated_tests.rs:77, fields: {message}, callsite: Identifier(0x55cdcd2f2020), kind: Kind(EVENT) }, parent: Current } |
1 change: 0 additions & 1 deletion
1
conjure_oxide/tests/integration/basic/bool/04/bool-04-rules.txt
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
conjure_oxide/tests/integration/basic/bool/04/bool-04.expected-rule-trace.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Event { fields: ValueSet { message: trace test, callsite: Identifier(0x55fb910e6020) }, metadata: Metadata { name: "event conjure_oxide/tests/generated_tests.rs:76", target: "rule_engine", level: Level(Trace), module_path: "generated_tests", location: conjure_oxide/tests/generated_tests.rs:76, fields: {message}, callsite: Identifier(0x55fb910e6020), kind: Kind(EVENT) }, parent: Current } |
1 change: 1 addition & 0 deletions
1
conjure_oxide/tests/integration/basic/bool/04/bool-04.generated-rule-trace.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Event { fields: ValueSet { message: trace test, callsite: Identifier(0x555aa437c020) }, metadata: Metadata { name: "event conjure_oxide/tests/generated_tests.rs:77", target: "rule_engine", level: Level(Trace), module_path: "generated_tests", location: conjure_oxide/tests/generated_tests.rs:77, fields: {message}, callsite: Identifier(0x555aa437c020), kind: Kind(EVENT) }, parent: Current } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
callsite: ...
might cause issues on different computers?