Commit Graph

7775 Commits

Author SHA1 Message Date
Samuel Guerra c7fdc20225 Fix CI. 2024-04-04 19:59:38 -03:00
Samuel Guerra 2d071a1f96 Change `INSTANT.epoch()` to now - 1 day.
Some services (like focus), use `DInstant::EPOCH` to initialize timestamps and then compare it to `INSTANT.now`. This caused a sporadic bug where highlight was enabled for the first focus event in a test run.
2024-04-04 18:11:45 -03:00
Samuel Guerra 93bfa2face Fix warning. 2024-04-04 16:25:08 -03:00
Samuel Guerra 1be4eb7a63 Fix test in CI.
Test expected more then one thread used, but runner has low core count and because tests run in parallel it can happen that all tasks in the test run in a single  thread.
2024-04-04 15:40:06 -03:00
Samuel Guerra fbc575d8c4 Add CI concurrency, manual start. 2024-04-04 15:28:46 -03:00
Samuel Guerra 58e0cbc003 Remove style TODO.
Converted to GitHub issues.
2024-04-04 14:13:01 -03:00
Samuel Guerra c4a43f677f Add `do version` for logging Rust and component versions. 2024-04-04 13:54:21 -03:00
Samuel Guerra 07c24987f2 Remove "expected one update" from var integration tests.
Any change to the app defaults can introduce new updates, all that really needs to be tested is if any update happened.
2024-04-04 13:45:09 -03:00
Samuel Guerra 2095bf7f49 Improve CI. 2024-04-03 23:30:41 -03:00
Samuel Guerra d3a2a374d0 Name CI step. 2024-04-03 20:33:28 -03:00
Samuel Guerra a5489b33bb CI fixes. 2024-04-03 19:37:24 -03:00
Samuel Guerra 95b021b836 Add message when do fails. 2024-04-03 19:02:39 -03:00
Samuel Guerra a34fbfa97f Fix CC CXX 2024-04-03 19:02:08 -03:00
Samuel Guerra aef83ed047 Try newer LLVM version. 2024-04-03 18:17:01 -03:00
Samuel Guerra f805016d9f Fix LLVM CC install path. 2024-04-03 17:53:35 -03:00
Samuel Guerra 887ab6f656 Fix LLVM CC install in release-1. 2024-04-03 17:41:40 -03:00
Samuel Guerra d3a2370991 Add manual run to release CI. 2024-04-03 17:39:58 -03:00
Samuel Guerra dbc08a0d9c Fix Windows build missing CC. 2024-04-03 17:33:56 -03:00
Samuel Guerra 7582e6eced Fix Windows build missing CC. 2024-04-03 17:33:56 -03:00
Samuel Guerra 12ec220c18 Fix Windows build missing CC. 2024-04-03 17:32:58 -03:00
Samuel Guerra 4b9ad437d3 Fix MIT license. 2024-04-03 16:42:47 -03:00
Samuel Guerra e852c58143 Fix license badges. 2024-04-03 16:27:24 -03:00
Samuel Guerra 486e4e95d8 Convert some TODOs into issues. 2024-04-03 15:51:30 -03:00
Samuel Guerra ec4b7d2910 Test audit CI. 2024-04-03 13:17:39 -03:00
Samuel Guerra ca99d9d198 Add ci-audit and Webrender publish docs. 2024-04-03 13:10:20 -03:00
Samuel Guerra bfcbec1df1 Fix doc test generating files inside ./zng. 2024-04-03 12:25:16 -03:00
Samuel Guerra 5662770617 Add burst to `do publish --execute` 2024-04-03 00:26:49 -03:00
Samuel Guerra a95406592b Update cargo authors metadata.
Add `do release --execute` that publishes all crates that need publishing.
2024-04-02 23:45:03 -03:00
Samuel Guerra beabb1132a Use CARGO_PKG_README to include zng-app README.
Cargo publish/package cannot find "../../zng-app/README.md", but it does copy the readme file to the package directory.
2024-04-02 22:11:14 -03:00
Samuel Guerra e3b0af548c Add `do publish --test`.
Limited to just some crates for now.
2024-04-02 21:33:34 -03:00
Samuel Guerra 4a4b926085 Add `do publish --check` that lists crates that need to be published. 2024-04-02 18:53:18 -03:00
Samuel Guerra a2cc6fcc9c Add `do publish --bump` to manage workspace crate versions. 2024-04-02 18:13:36 -03:00
Samuel Guerra acad7e03a3 Remove avif feature because it breaks --all-features tests. 2024-04-02 09:46:44 -03:00
Samuel Guerra a21528dba6 Configure image features in the view crate. 2024-04-02 02:01:34 -03:00
Samuel Guerra cc3d8091e5 Fix file cache test deadlock.
Deadlock only happens if the machine has <=2 cores, forcing rayon to run in only 2 threads caused the error outside GitHub too.

Fixed by removing recursive `Caused by recursive `block_on` call.
2024-04-02 00:46:15 -03:00
Samuel Guerra 0e5a0f8335 Add better release workflow. 2024-04-01 17:47:55 -03:00
Samuel Guerra b345da25eb Update CI and add release workflow. 2024-04-01 15:33:20 -03:00
Samuel Guerra a9dc852abf Try longer http cache timeout in test builds.
GitHub CI keeps failing this, but even a slow Ubuntu VM passes, lets see if 1 minute is enough.
2024-04-01 14:09:06 -03:00
Samuel Guerra 2ff5fa2a5a Increase file lock timeout. 2024-04-01 12:15:07 -03:00
Samuel Guerra f2da1c88a5 Fix image crate limits affecting requests cleared by our own limits implementation. 2024-03-31 23:01:10 -03:00
Samuel Guerra 7f3d6b3afc Use `ErrorKind::TimedOut` for fs4 try lock. 2024-03-31 22:28:58 -03:00
Samuel Guerra 626a185f3a Fix `do` not exiting with error when called commands exited with error.
This should fix the CI showing succes when some tests actually failed.
2024-03-31 21:09:04 -03:00
Samuel Guerra 91a5177ea2 Fix build tests failing in CI.
--deny=warnings changes the error message for the tests too.
2024-03-31 19:49:50 -03:00
Samuel Guerra f154cf7f8b Show diff of modified build test output.
This change will show what is changing in CI. Running test in Ubuntu did not generate different output, but CI failed.
2024-03-31 18:28:41 -03:00
Samuel Guerra 148c325a8f Remove `*` from do tool.
Only works in Windows, now places that used it also use `--all` and `-a`.
2024-03-31 18:19:56 -03:00
Samuel Guerra efba996df8 Handle `WouldBlock` in fs4 try_lock. 2024-03-31 18:19:19 -03:00
Samuel Guerra c95f4b0cad CI test fixes and improvements.
* Fix cargo example version check regex.
* Check if build tests actually modified output.
2024-03-31 16:08:28 -03:00
Samuel Guerra 26fb3ef555 CI retry. 2024-03-31 10:46:28 -03:00
Samuel Guerra e60766482d Add prebuild test to GitHub actions. 2024-03-31 01:22:43 -03:00
Samuel 78ca471203
Create rust.yml 2024-03-31 01:05:56 -03:00