-
Notifications
You must be signed in to change notification settings - Fork 13
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
Intermittent test failure: SerdeJson(Error("trailing characters", line: 1, column: 42)) #162
Comments
Maybe there isnt enough locking around writing and reading This CI looks very similar https://github.com/Electron100/butane/actions/runs/7513662527/job/20455666845?pr=170 , and it was fixed on the second run. failed to read types "/home/runner/work/butane/butane/butane/.butane/migrations/current/types.json"
error: proc-macro derive panicked
--> butane/tests/json.rs:234:39
|
234 | #[derive(PartialEq, Eq, Debug, Clone, FieldType, Serialize, Deserialize)]
| ^^^^^^^^^
|
= help: message: called `Result::unwrap()` on an `Err` value: SerdeJson(Error("trailing characters", line: 1, column: 42)) And I saw it locally, and then the tests passed when I ran them again. failed to read types "/home/jayvdb/rust/butane/butane/.butane/migrations/current/types.json"
error: custom attribute panicked
--> butane/tests/common/blog.rs:86:1
|
86 | #[model]
| ^^^^^^^^
|
= help: message: called `Result::unwrap()` on an `Err` value: SerdeJson(Error("trailing characters", line: 1, column: 41)) |
One of our team had this occur repeatedly until they deleted their |
still occurring
|
On Windows https://github.com/Electron100/butane/actions/runs/8494192148/job/23269030123
|
Occurring still, this time in basic
|
Not sure why this occurred, but it doesnt appear related to the PR
https://github.com/Electron100/butane/actions/runs/6779692955/attempts/1?pr=161
Rerunning the workflow succeeded.
The text was updated successfully, but these errors were encountered: