Ankush Menat
098a0851c6
ci: Fix coverage reporting (again) ( #38849 )
...
* chore: remove _decorate_all_methods_and_functions_with_type_checker
No one understands this runtime magic anymore.
* build: Bump coverage.py to latest
* test: Skip github in coverage reporting
* test: Print traceback from all threads when test is stuck
* ci: Enable coverage in server side tests
* ci: Always enable coverage
It's cheap in recent python versions, our reasons for selectively
disabling aren't valid anymore.
* ci: Disable stderr capturing
* ci: Use default buffer behaviour in unittest runner
* ci(coverage): Set concurrency to multiprocessing
We do use multiprocessing, perhaps the patches aren't concurrectly
handled?
* ci(coverage): Try parallel run
* fix: Apply subprocess patch
* ci: Don't start web server with coverage
Causes deadlock for some reason. We don't actually report it either.
* ci: only submit UI coverage if ran
* test: remove aggresive stuck test checking
* ci: disable UI coverage
(for now)
2026-04-24 16:05:14 +05:30
Rucha Mahabal
cc74712304
feat: after_build hook ( #38518 )
...
* feat: `after_build` hook
* feat: add option to skip running `after_build` hooks
* feat(boilerplate): add `after_build` hook
* revert: "feat: add option to skip running `after_build` hooks"
This reverts commit 6e9d2c6a2333d487fcf4d1908c366b496a8d80b1.
Removing the flag for now as other hooks (like after/before migrate) don't have a skip option either
2026-04-13 12:15:38 +05:30
AarDG10
fe12722e4b
fix(testing): use XMLTestRunner when junit_xml_output is wanted
2026-04-07 22:10:36 +05:30
Saqib Ansari
a23b1a3624
fix: disable cloud parallelization
2026-03-19 14:03:27 +05:30
Saqib Ansari
c485bacbcd
fix: install cypress-split when running tests
2026-03-19 13:03:30 +05:30
Ankush Menat
14daf5860e
test: flaky RQ / Gunicorn tests ( #37815 )
...
2% is too low and causes flaky tests sometimes.
2026-03-06 06:21:11 +00:00
ruthra kumar
8aa7de9897
refactor: support failfast on parallel test runner
2026-02-27 16:13:09 +05:30
Ankush Menat
ff3580bfd6
test: Skip gunicorn flaky tests ( #37519 )
...
Leaving just one of them (gthread).
Most failures seem to be from flaky cleanup between tests.
2026-02-25 08:52:27 +00:00
Faris Ansari
4b1f55d306
feat: improve bench execute argument passing ( #35964 )
...
* fix: better way to pass arguments to bench execute
* refactor: move execute logic in separate file
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2026-02-09 06:22:05 +00:00
AarDG10
eb2b5fe71d
refactor: leaner description and reduced noise
2026-01-28 16:14:30 +05:30
AarDG10
386418bd87
feat(UX): warn users during install that sqlite is in testing
2026-01-28 11:03:54 +05:30
AarDG10
c873c20c7b
feat(UX): warn users during install that postgres is in testing
2026-01-28 10:53:55 +05:30
sokumon
e99ada3ead
fix: add a command resync icons
2026-01-22 17:38:21 +05:30
Ankush Menat
735ea6fa0a
test: avoid flake from orphan gunicorn workers ( #35798 )
...
`kill` only kills arbiter, not workers.
pgrep and kill all gunicorn processes.
2026-01-09 17:09:17 +05:30
Sagar Vora
aa8210a6fe
fix: ignore warnings when running cypress
2026-01-08 13:47:12 +05:30
Saqib Ansari
de9c274f39
fix: flaky gunicorn test
2026-01-05 17:01:47 +05:30
Ankush Menat
02ecb10205
fix!: Remove badly written default portal list views ( #35182 )
...
* fix!: Remove badly written default portal list views
* fix!: Remove guest permissions from web form list endpoint
* test: cleanly terminate gunicorn
int sometimes ends up leaving socket open
2025-12-14 07:11:45 +00:00
Sagar Vora
83f2368ccd
fix: avoid package.json update during cypress install
2025-12-01 21:22:22 +05:30
Sagar Vora
9623b6f4cf
test: increase threshold for idle CPU usage to reduce flakiness
2025-12-01 19:05:42 +05:30
Aarol D'Souza
ef5d2213e0
test(postgres): enable test_restore for postgres ( #34768 )
2025-11-24 11:23:24 +05:30
Aarol D'Souza
c57444bc84
fix(postgres): fix query for pg compatibility in clear_log_table ( #34706 )
2025-11-24 11:22:21 +05:30
phot0n
3c754cac23
fix: consider default_log_clearing_doctypes as well for clear_log_table
2025-11-21 15:10:13 +05:30
sokumon
15c9e8201c
fix: semgrep issues
2025-11-14 23:05:13 +05:30
sokumon
a52c6cfd67
fix: add a db commit after adding icons in the command
2025-11-14 23:05:13 +05:30
sokumon
994ec8ad41
fix: semgrep issue
2025-11-14 23:05:12 +05:30
sokumon
586b62da05
refactor: move auto generations of icons to a command
2025-11-14 23:05:12 +05:30
AarDG10
b8793fac5b
test(postgres): enable test_force_install_app for postgres
2025-11-09 18:46:18 +05:30
AarDG10
103841bd0c
test(postgres): enable test_bench_drop_site_should_archive_site for postgres
2025-11-09 18:30:49 +05:30
AarDG10
2feb536ec9
test(postgres): add pg-compatible query for test_db_cli_with_sql
2025-11-08 11:46:57 +05:30
AarDG10
a9c17f0e84
test(postgres): add delay in test_backup_no_options to avoid same-second timestamp collision
2025-11-07 15:08:08 +05:30
AarDG10
e1b1426147
test(postgres): enable test_backup_no_options for postgres
2025-11-06 19:37:40 +05:30
Samar Singh
39b14f3a67
feat: configurable esbuild build target ( #34398 )
2025-10-17 00:55:21 +00:00
Akhil Narang
871ae70172
Merge pull request #34263 from akhilnarang/fix-encrypted-restore-relative-path
...
fix: move backup file locating logic to `_restore()`
2025-10-16 16:27:35 +05:30
Akhil Narang
7e61d71817
fix: move backup file locating logic to _restore()
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-10-04 16:51:55 +05:30
Ejaaz Khan
5f99434f52
fix: import function/module inside inside fucntion
2025-09-29 23:09:25 +05:30
Ejaaz Khan
964dd6c034
feat: Chrome PDF generator
...
Co-authored-by: maharshivpatel <maharshivpatel@users.noreply.github.com>
2025-09-29 12:15:51 +05:30
Akhil Narang
898742cdb6
chore: manual fixups
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-09-26 13:22:29 +05:30
Akhil Narang
6ca4d4d167
refactor(treewide): ruff format
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-09-26 13:16:43 +05:30
Abhishek kumar
76517d101c
feat: add --skip-fixtures option to bench migrate command ( #33754 )
2025-08-22 16:51:17 +05:30
Akhil Narang
d5fcdff679
Merge pull request #33621 from akhilnarang/change-get-version-output
...
chore(commands/version)!: use `plain` output instead of `legacy` by default
2025-08-13 12:50:28 +05:30
Akhil Narang
c22ff226aa
fix(restore): check for AES instead of cipher to detect encrypted backup
...
Seems more consistent, have seen the following outputs with `file`:
- GPG symmetrically encrypted data (AES256 cipher)
- PGP symmetric key encrypted data - AES with 256-bit key salted & iterated - SHA512 .
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-08-13 12:04:14 +05:30
Akhil Narang
b40c1d292b
chore(commands/version)!: use plain output instead of legacy by default
...
This includes the commit hash in the output, which is useful
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-08-12 14:57:14 +05:30
ruthra kumar
df2ab80f82
Merge pull request #33003 from ruthra-kumar/lightmode_on_parallel_test_runner
...
refactor: introduce lightmode in parallel test runner
2025-06-23 16:05:57 +05:30
ruthra kumar
a134b83eb8
refactor: toggle test flag in lightmode
2025-06-20 15:11:16 +05:30
ruthra kumar
ee864dac12
refactor: introduce lightmode in parallel test runner
2025-06-19 11:40:09 +05:30
Sagar Vora
cb0d06455b
chore: use frappe._dev_server instead of local.dev_server
2025-06-17 12:03:08 +05:30
ruthra kumar
7b811d0490
refactor: return code for light test runner
2025-06-05 20:10:24 +05:30
ruthra kumar
ccfb5a01eb
Merge pull request #32726 from ruthra-kumar/lightweight_test_runner
...
feat: Lightweight test runner
2025-06-05 11:34:29 +05:30
ruthra kumar
31c4bbec73
refactor: move imports to defer memory usage
2025-06-05 09:23:03 +05:30
ruthra kumar
0c6c6f50c4
refactor: support failfast and minor changes
2025-06-05 09:23:03 +05:30