Commit graph

54 commits

Author SHA1 Message Date
Anthony Alaribe
579840850f Use npx tailwindcss instead of @tailwindcss/cli for v4 compatibility
The tailwindcss package (v4.1.13) in devDependencies is the correct CLI
for Tailwind v4. Using @tailwindcss/cli was unnecessarily specific and
may have caused issues in the Docker build environment.

This ensures the CSS with all custom utilities (surface-raised, etc.)
builds correctly in production.
2025-12-17 14:17:04 +01:00
Anthony Alaribe
07187039d6 Fix CSS build in deployment by using correct Tailwind v4 CLI
The project uses Tailwind CSS v4 syntax (@import, @source, @plugin
directives) but the build commands were using the old v3 CLI which
doesn't process v4 syntax correctly, causing CSS changes to not appear
in deployed builds.

Updated Dockerfile and CI workflows to use @tailwindcss/cli instead of
the legacy tailwindcss command, and removed the obsolete -c config flag
since v4 uses @config directive in the CSS file.
2025-12-17 13:17:40 +01:00
Anthony Alaribe
e212df0b96
Tests in prs. And fix hlint warnings and failing UI tests (#230)
* Enable tests and hlint in pull request workflow

- Add hlint job to run on all PRs

- Make test jobs run even if build fails (using if: always())

- Fix shadowing binding in Table.hs colAttrs function

- Fix LLM.hs type error by using langchain-hs standard pattern

- Fix TypeScript error in log-worker-functions.ts with optional chaining

This ensures CI checks run independently and provide feedback even when some jobs fail.

* Convert PR workflow from stack to cabal

- Replace stack with cabal commands throughout

- Update caching to use dist-newstyle and ~/.cabal/store

- Use awalsh128/cache-apt-pkgs-action for system deps

- Set OpenSSL env vars properly for GitHub Actions

- Add fail-fast: false to test matrix

- Add ::group:: annotations for better log organization

* Revert LLM.hs changes - they were stack-related, not actual bugs

* minor linting error

* run hlint refactor in prs

* Apply hlint fixes across codebase

Fixed 239 hlint warnings: use toText, simplify encoding chains, replace fromMaybe with maybe, use ordNub, convert to guards, use unless, eta reduction, list comprehensions, newtype conversions, and remove unused imports. Updated .hlint.yaml to allow flexible imports for Data.List and Data.Aeson.

* Auto-format code with fourmolu

* Fix UI test failures in GitHub Actions

Update Node.js version from 18 to 20 to satisfy happy-dom requirement

Add CSS.escape mock for Monaco Editor theme initialization

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-17 00:34:01 +01:00
Anthony Alaribe
aa6fe0dd20 Complete GHC 9.12.2 upgrade across build tools
- Update Dockerfile base image to haskell:9.12.2
- Update Makefile GHC_VERSION and compiler flags
- Update GitHub Actions workflows to use GHC 9.12.2
- Replace manual Default instances with deriving anyclass
2025-11-17 21:12:54 +01:00
Anthony Alaribe
269d8f0f3b introduce the ui-tests into ci 2025-10-26 23:50:25 +01:00
Anthony Alaribe
4b4ed0252a rename project to monoscope 2025-09-14 19:55:26 +02:00
Anthony Alaribe
ffe0a50323 setup database for integration tests in CI 2025-09-05 04:17:40 +02:00
Anthony Alaribe
0253610970 fix failing tests in github actions 2025-09-04 22:22:45 +02:00
Anthony Alaribe
9a285db9bc remove the rust interop configuration and lines from github actions 2025-09-04 02:28:21 +02:00
Anthony Alaribe
e57b714688 make fmt. and improve github actions to compile rust and copy .so files 2025-07-07 01:08:49 +02:00
Anthony Alaribe
524d71c095 test in the github actions as separate piepline flows 2025-07-02 01:41:16 +02:00
Anthony Alaribe
f71c11f891
Visualization editor (#174)
* checkpoint

* rudimentary visualization on explorer

* improve visualization on explorer

* checkpoint

* checkpoint
2025-05-30 01:49:05 +02:00
Anthony Alaribe
7226b55b48 remove the prod flag from CI 2025-05-25 10:11:38 -07:00
Mahmud Bello
0aad242242
fix : ffi linker issue for linux resolved in ghc 9.10.22 (#166)
* fix : ffi linker issue for linux resolved in ghc 9.10.22

* fix : stack resolver updated for workflow

* Revert "fix : ffi linker issue for linux resolved in ghc 9.10.22"

This reverts commit c2ef849d93.

* fix : stack resolver updated for workflow

* fix : corrected mistakes in versioning

* add libkafka to workflow

* fix: correct workflow error

* fix: correct workflow error

* add hs otel to tests

---------

Co-authored-by: = <=>
Co-authored-by: Anthony Alaribe <anthonyalaribe@gmail.com>
2025-05-15 04:32:14 +02:00
dawkaka
528a15efbe workflow ghc versions 2025-05-12 13:08:54 +00:00
Anthony Alaribe
85770f59e9
Update pullrequest.yml to 9.10.2 2025-05-07 20:20:14 +02:00
Anthony Alaribe
3a1f063e72 install libsnappy in ci 2025-04-18 22:05:54 +02:00
Anthony Alaribe
324f7b10f0 install protoc in git actions 2025-04-18 21:53:46 +02:00
dawkaka
6eb4353f1b fix build attempt 2025-02-13 07:45:18 +00:00
Anthony Alaribe
212039a144 custom dashboards checkpoint 2025-01-28 16:16:20 +01:00
Anthony Alaribe
adac290e41 includes CP which is a test page that will be deleted eventually 2025-01-28 15:57:50 +01:00
Anthony Alaribe
613ca93005 copy to /usr/local/lib 2024-11-22 21:34:22 +01:00
Anthony Alaribe
904bba2837 Revert to c7e1f1a0d5 2024-11-21 18:03:59 +01:00
Anthony Alaribe
3a5a6df135 force dependency build 2024-11-21 07:31:43 +01:00
Anthony Alaribe
15b8dd4bd8 fix any issues 2024-11-21 05:23:49 +01:00
Anthony Alaribe
a3a9af88ab compile without app 2024-11-21 05:21:25 +01:00
Anthony Alaribe
67acc7a751 update github actions 2024-11-21 01:46:46 +01:00
Anthony Alaribe
e062a02e77 fix compile issues with tests 2024-09-05 16:44:52 +02:00
Anthony Alaribe
3c56104060 fix issue with null unicode escape characters 2024-03-01 02:15:02 +01:00
Anthony Alaribe
629c5f73d3 set lang to fix incorrect handling of non-ascii characters 2024-02-19 14:45:26 +02:00
Anthony Alaribe
42b9216a5f fix fourmolu 2023-10-18 21:18:37 +02:00
Anthony Alaribe
1821ccef19 fix some lint errors 2023-10-18 17:51:22 +02:00
Anthony Alaribe
6d9ecb8da3 run fourmolu 2023-09-29 12:52:07 +02:00
Anthony Alaribe
48ef287d14 fix export path 2023-06-15 21:13:19 +02:00
Anthony Alaribe
b23dfc3dbd working pipelines 2023-06-15 20:53:17 +02:00
Anthony Alaribe
7982974858 add timescaletoolkit 2023-06-15 20:39:33 +02:00
Anthony Alaribe
6082d7b0ad add stack test section 2023-06-15 20:13:59 +02:00
Anthony Alaribe
40f1a4834e make pipeline pass 2023-06-15 20:07:48 +02:00
Anthony Alaribe
a44adff216 use cache apt-get dependencies 2023-06-15 19:55:25 +02:00
Anthony Alaribe
c0c2ac1152 sudo timescaledb-tune 2023-06-15 19:47:51 +02:00
Anthony Alaribe
c4b5273209 install timescaledb 2023-06-15 19:45:47 +02:00
Anthony Alaribe
09de085f90 apit iontall 2023-06-15 19:42:42 +02:00
Anthony Alaribe
e1c351e064 apit iontall 2023-06-15 19:36:19 +02:00
Anthony Alaribe
b6c83c4a2c apit iontall 2023-06-15 19:30:36 +02:00
Anthony Alaribe
c020792d4d yes 2023-06-15 19:26:39 +02:00
Anthony Alaribe
ec7531bd7f sudo 2023-06-15 19:23:11 +02:00
Anthony Alaribe
ba1a024cd9 test installing timescale 2023-06-15 19:17:02 +02:00
Anthony Alaribe
3993b01893 test installing postgres in PR pipeline 2023-06-15 19:08:43 +02:00
Anthony Alaribe
56f2d7b19b add timescaledb image to actions 2023-06-15 01:01:07 +02:00
Anthony Alaribe
4ef03fc27d switch closer to using jsonpath and also version update with statuscodes in the shapes 2023-05-27 17:18:31 +02:00