Commit Graph

113 Commits

Author SHA1 Message Date
Elijah Ahianyo
e0fedeb419
[REF-1682][REF-1683][REF-1684][REF-2283]Benchmark reflex package size and .web folder (#2880)
* remove codspeed.yml

* test upload job

* minor edits to get upload job working

* perhaps this works

* upload needs relex-install-size

* retrigger pipeline

* test only on ubuntu

* change to save to db directly

* oops

* size benchmarks

* .web for counter

* its timeout-minutes

* se integration.sh to run and kill process

* install psycopg2

* move .web runs to integration_tests.yml to save runners

* fix measurement-type for reflex-web

* add database url to env

* psycopg2

* test run ids

* commit sha gets the job done

* refactor

* add more matrices

* move reflex package size to integration_test.yml

* fix venv path

* test fix

* test fix

* use hyphen

* testing reflex build size

* ls for temp debug

* fix typo in command

* possible fix

* possible fix for windows

* remove dead code

* remove dead code

* remove unwanted comments

* refactor

* rebase on main

* pr_title

* remove pr_title from args

* debug

* should work now

* precommit fix

* print out package size for

* add shell

* test

* trying again

* dont use cached poetry to have accurate measurement of deps

* remove reflex deps calculation step from integration job

* fix script path

* precommit fix

* no real difference on different python versions so use 3.11.5

* remove ls keyword
2024-03-25 08:33:28 +00:00
Elijah Ahianyo
83318530f2
[REF-2284]Benchmark add extra info on publishing data (#2864)
* Benchmark add extra info on publishing data

* fix typo

* get file name for simplicity

* precommit fix

* removesuffix not in python3.8

* add pr_id in case the pr title is changed

* precommit fix
2024-03-21 07:25:40 +00:00
Martin Xu
fa99407b81
Handle quote marks ' " in PR titles in benchmark CI (#2877)
* escape double quote marks in PR title

* move the pr title into the env
2024-03-20 11:30:47 -07:00
Elijah Ahianyo
a06b570e3a
Benchmark with app harness (#2774) 2024-03-13 15:59:55 -07:00
Alek Petuskey
4c10cbc6d1
Custom Component Request Template (#2853)
Co-authored-by: Alek Petuskey <alekpetuskey@aleks-mbp.lan>
2024-03-13 12:55:09 -07:00
Thomas Brandého
92db402539
telemetry refactor + unit tests (#2786) 2024-03-13 12:38:54 -07:00
Masen Furer
f52ff56440
[REF-2086] Avoid "Warning: The path to the Node binary could not be found. (#2803) 2024-03-13 12:35:43 -07:00
Masen Furer
eb18ce90d5
[REF-2172] Add DECORATED_PAGES before compiling in thread (#2841) 2024-03-12 10:28:37 -07:00
Masen Furer
82e3be76cf
benchmarks.yml: skip benchmarking if the DATABASE_URL is not set (#2701)
* benchmarks.yml: skip benchmarking if the DATABASE_URL is not set

* try to expand the value

* workaround secrets not available in the `if:` condition

* only skip database / pytest step if missing creds
2024-02-23 11:23:28 -08:00
Martin Xu
24ccb2a2aa
bump github action versions (#2680)
* bump gh action versions

* left out files
2024-02-21 15:01:59 -08:00
Masen Furer
192bddb5d4
workflows: remove references to now-defunct reflex-0.4.0 branch (#2643) 2024-02-16 11:32:24 -08:00
Masen Furer
fc6eff7104
Convert templates to use rx.chakra where needed (#2555)
* Convert templates to use `rx.chakra` where needed

* reflex_init_in_docker_test: run test on PR into reflex-0.4.0

This is why we didn't catch the template issues earlier
2024-02-12 13:32:23 -08:00
Masen Furer
aa4bdf53d5
enable CI on reflex-0.4.0 branch (#2502) 2024-01-31 16:06:04 -08:00
Martin Xu
3ff88390c2
Add git precommit hook that generates pyi files (#2447) 2024-01-29 20:32:36 -08:00
Nikhil Rao
d68de02bc8
Revert "Individually Import Chakra Packages (#2405)" (#2472) 2024-01-28 15:39:59 -08:00
Alek Petuskey
00a8054850
Individually Import Chakra Packages (#2405)
* Base lib switch

Co-authored-by: Alek Petuskey <alekpetuskey@aleks-mbp.lan>
2024-01-25 10:22:46 -08:00
Masen Furer
3de36be5f4
integration_tests: re-enable reflex-web with windows override (#2436) 2024-01-24 12:49:57 -08:00
Masen Furer
1916cf2277
integration tests: disable windows builds for reflex-web (#2417) 2024-01-18 12:53:35 -08:00
benedikt-bartscher
f90982ea06
use redis-py url syntax for redis_url (#2267)
* use redis-py url syntax for redis_url

* port is optional

* Add StateManagerRedis.close method

The close helper method always calls `close_connection_pool=True` so that all
outstanding redis operations can be stopped before changing event loops.

---------

Co-authored-by: Masen Furer <m_github@0x26.net>
2023-12-12 10:54:10 -08:00
Masen Furer
8e7d4819ee
check_generated_pyi: fix diff checking (#2029) 2023-11-17 15:21:52 -08:00
Masen Furer
ce47fcfd6c
Fix CustomComponent rendering (#2169) 2023-11-14 13:03:12 -08:00
Alek Petuskey
dd982c5ace
Add benchmarking tests (#2143) 2023-11-08 17:41:08 -08:00
Masen Furer
61c9afd5a5
Support Python 3.12 (#2006) 2023-11-06 12:08:14 -08:00
Alek Petuskey
864a66b20d
Lighthouse Test CI (#1974)
* Initital lighhouse test

* Added seperate lighthouse test

* Added sh

* Added Project dir to bash

* Change proj path sh

* Temp public storage

* Add port check to lighthouse

* Refactor Check

* Refactor Sh

* Change ENV to prod

* Change ENV to prod

* Check port

* Check port

* Change because it doesn't auto detect hmtl

* Change to SPA

* Change to SPA

* HTTPs to HTTP

* Added extra routes

* Add posthog

* Temp save to file for large uploads

* Add distinctid

* Add distinctid to outlevel

---------

Co-authored-by: Alek Petuskey <alekpetuskey@aleks-mbp.lan>
2023-10-16 18:10:49 -07:00
Alek Petuskey
06103a4d8d
Namespace Recharts + Victory Back With Depreciation Warning (#1928) 2023-10-08 19:09:09 -07:00
Jack Wang
f1f02e4c60
Add a placeholder timeout to GitHub Actions unit tests (#1897) 2023-10-02 11:19:47 -07:00
Masen Furer
351611ca25
rx.background and StateManager.modify_state provides safe exclusive access to state (#1676) 2023-09-21 11:42:11 -07:00
Nikhil Rao
264c44e630
Disable metrics in CI (#1822) 2023-09-15 18:15:25 -07:00
jackie-pc
9987e18eef
check pyi generations are up to date (#1786) 2023-09-08 11:38:56 -07:00
Masen Furer
b0b5c270b3
use actions/checkout@v4 (#1768) 2023-09-07 16:29:32 -07:00
Thomas Brandého
0ed055598f
fix pr template (#1774) 2023-09-07 10:03:53 -07:00
jackie-pc
869c67d67e
be more specific with python versions - so caching can be safe (#1769) 2023-09-06 15:51:44 -07:00
Masen Furer
544d352e55
Run AppHarness selenium integration tests in CI (#1538) 2023-08-07 14:46:09 -07:00
jackie-pc
c452ec774d
CI: Basic integration test for WSL (#1510) 2023-08-03 14:26:09 -07:00
Masen Furer
919f239168
check_initialized: skip REFLEX_DIR check for backend only (#1478) 2023-08-02 06:33:56 -07:00
jackie-pc
fb7e2b6a0c
try windows encoding fix (#1491) 2023-08-01 12:13:50 -07:00
jackie-pc
837978f378
Full OS matrix builds for unit and integration tests (Linux, Mac, Windows) (#1460) 2023-08-01 11:34:12 -07:00
jackie-pc
b67bba590d
CI: separate pre-commit github action job (#1457) 2023-07-28 17:39:40 -07:00
jackie-pc
afb15109db
CI: factor out env setup as composite action (#1455) 2023-07-28 15:39:57 -07:00
jackie-pc
e6f4bcdb95
Github action to run unit tests on windows (#1444) 2023-07-28 11:12:01 -07:00
Nikhil Rao
e26bba80a6
Create ~/.reflex directory and update integration tests (#1419) 2023-07-27 16:39:53 -07:00
Masen Furer
c589af84c1
pyproject.toml: bump httpx to ^0.24.0 (#1353) 2023-07-17 11:15:03 -07:00
Thomas Brandého
0a6c9d35e7
Update bug_report.md (#1312) 2023-07-06 16:00:38 -07:00
Nikhil Rao
139ce38df1
Rename pynecone to reflex (#1236) 2023-06-25 16:56:55 -07:00
Thomas Brandého
d232a98898
Add test coverage (#1004) 2023-05-11 17:02:08 -07:00
Alek Petuskey
bfb96b842f
Alek/intfix (#898)
* Added working integration tests

* Uncomment integration tests

* Get rid of no root

* Changed caching rules.
2023-04-27 19:01:02 -07:00
Nikhil Rao
61d1fe68c8
Comment pcweb integration tests (#702) 2023-03-17 13:07:26 -07:00
Elijah Ahianyo
38ecc66893
Add pcweb to integration tests (#657) 2023-03-11 15:35:42 -08:00
Elijah Ahianyo
07d0604ca5
Add integration tests (#650) 2023-03-09 14:59:04 -08:00
叶子
1529a23c1b
Switch linter to ruff (#450) 2023-02-09 11:33:18 -08:00
Saarthak Maini
d0304659b8
Feature: Template For Pull Request Added (#377) 2023-01-28 21:32:01 -08:00
Nikhil Rao
58a0d8c805
Fix running in backend-only mode (#311) 2023-01-22 09:30:58 -08:00
Alek Petuskey
fe81916a05
Fix integration test (#211) 2023-01-04 22:01:25 -08:00
Nikhil Rao
2be20745f1
Improve cli help messages (#185) 2022-12-27 00:01:20 -08:00
Alek Petuskey
f445febdc9
Run integration test on pr approval. (#155) 2022-12-20 22:45:03 -08:00
Alek Petuskey
92ddb90639
Added integration test. (#152) 2022-12-20 22:26:42 -08:00
Alek Petuskey
8d2488379c
Update issue templates (#87) 2022-12-13 12:51:48 -08:00
Nikhil Rao
23fc3cadd9
Update poetry to v1.3.1 (#80)
* Update poetry version and relock
* Update poetry version in build.yml
2022-12-12 19:08:20 -08:00
Nikhil Rao
5a157fb6db
Remove pylint (#38)
* Support python3.7
* Update poetry lock
2022-12-07 21:07:55 -08:00
Nikhil Rao
dd26dd044b
Add style for code blocks. (#32)
* Rename github actions file
* Update custom code
* Add theme for code blocks
2022-12-06 01:22:57 -08:00
Nikhil Rao
f710fc1a82
Support Python 3.11 (#17) 2022-11-29 17:01:14 -08:00
Nikhil Rao
30f1bb17e1
Add cache for GitHub actions (#13) 2022-11-24 17:35:39 -08:00
Nikhil Rao
c4b1f2c669
Create Github Action for pytest (#12) 2022-11-21 18:50:59 -08:00