Skip to content
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

s #1

Open
wants to merge 10,000 commits into
base: develop
Choose a base branch
from
Open

s #1

wants to merge 10,000 commits into from

Conversation

topfayez
Copy link

@topfayez topfayez commented Mar 4, 2023

s

blaggacao and others added 17 commits October 4, 2024 15:22
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 7.81.1 to 7.119.1.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.119.1/CHANGELOG.md)
- [Commits](getsentry/sentry-javascript@7.81.1...7.119.1)

---
updated-dependencies:
- dependency-name: "@sentry/browser"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
* refactor: Improve readability and maintainability of main function

* refactor: Simplify and optimize the run_all_tests function

* refactor: simplify run_tests_for_doctype function

* refactor: hint private methods

* refactor: simplify _run_unittest function

* refactor: simplify _add_test function

* fix: Rename `iterate_suite` to `_iterate_suite`
* refactor: simplify print_mandatory_fields function

* refactor: Encapsulate test record log functionality into a class

* refactor: Simplify and consolidate make_test_records_for_doctype function
* refactor: use pathlib for file operations

* feat: Add caching to get_dependencies and get_modules functions
* feat: Improve logging in test runner

* feat: Categorize tests as unit or integration

* feat: Add support for selecting test categories

* feat: Split unit and integration tests execution

* test: better output on cli runner

* feat: Create TestRunner class

* feat: Implement run method in TestRunner class

* refactor: Refactor test discovery and execution in TestRunner class

* feat: Integrate _run_doctype_tests functionality into TestRunner class

* feat: Integrate _run_unittest functionality into TestRunner class

* refactor: Handle distinction between loading specific test case and entire module

* feat: Add handling of test dependencies in _add_module_tests method

* refactor: Merge _add_tests into discover_tests

* feat: Improve test results printing with click

* refactor: wrap in proper error handling

* fix: some signatures

* feat: Add debug logs to frappe/test_runner.py

* refactor: Move before_tests hooks after test discovery

* refactor: Use TestConfig instead of frappe.flags.skip_before_tests

* refactor: Add skip_test_records to TestConfig and update calling sites

* feat: Defer test record creation until after before_tests hooks

* feat: Add app parameter to _run_doctype_tests and _run_module_tests

* feat: Add --test-category option to run_tests command

* refactor: Add explanatory comments for skipping before_tests hooks and test record creation callbacks for unit tests

* feat: Add test category option to run_tests command

* feat: Unify explanatory comments in _prepare_integration_tests

* fix: wrap implicit db access in try-except block

* fix: mark current site

* fix: case counting
barredterra and others added 30 commits October 31, 2024 19:52
Because of large common prefix hash naming becomes "too sequential" when
doing a lot of concurrent writes.

I don't know a good tradeoff between both use cases:
1. Lots of reads - prefers large shared prefix.
2. Lots of writes - prefers small shared prefix.

But as of now this punishes writes too badly in form of excessive
locking. Until a better fix is found, it's better to keep it prefix free.

---

A better fix would be a tradeoff of between these two:

1. Reads - temporal locality should result in spatial locality on disk.
2. Writes - temporal locality should NOT result in spatial locality.

temporal locality = data inserted around same time
spatial locality = data sits next to each other in DB pages.

This can be achieved by adding a small request/job specific part to
prefix so each concurrent request has it's own different locality when
writing data.
… function

- Created `send_notification_by_channel` method to handle notification sending by channel and make it easier to extend the channels with a new channel

- Simplified `send` method by moving channel-based notification logic to the new function
fix(style): fix oauth authorisation page and standardise error responses
feat: add `sms_gateway_enabled` flag to bootinfo
* fix: French translations

* fix: Spanish translations

* fix: Arabic translations

* fix: German translations

* fix: Swedish translations

* fix: Turkish translations

* fix: Persian translations

* fix: Bosnian translations

* fix: Esperanto translations

* fix: Hungarian translations

* fix: Chinese Simplified translations

* fix: Spanish translations

* fix: Swedish translations

* fix: Polish translations

* fix: Russian translations

* fix: Turkish translations

* fix: Spanish translations

* fix: Turkish translations

* fix: German translations

* fix: French translations

* fix: Spanish translations

* fix: Arabic translations

* fix: German translations

* fix: Swedish translations

* fix: Turkish translations

* fix: Persian translations

* fix: Bosnian translations

* fix: Esperanto translations

* fix: Hungarian translations

* fix: Chinese Simplified translations

* fix: Polish translations

* fix: Russian translations

* fix: Persian translations

* fix: French translations

* fix: Spanish translations

* fix: Arabic translations

* fix: German translations

* fix: Swedish translations

* fix: Turkish translations

* fix: Persian translations

* fix: Bosnian translations

* fix: Esperanto translations

* fix: Hungarian translations

* fix: Chinese Simplified translations

* fix: Polish translations

* fix: Russian translations

* fix: Turkish translations

* fix: Turkish translations

* fix: Turkish translations

* fix: Swedish translations

* fix: Spanish translations

* fix: Swedish translations
due to circular imports issues and me going out of my way to make it work 'cleanly', the previous backwards compatibility for FrappeTestCase unfortunately did not work on the manual cli test runner 'run-tests'

While not generally not affecting CI (which is precedented by the framwork's best practices to use 'run-parallel-test'), this broke some manual developer workflows

The restauration of FrappeTestCase in these scenario now unfortunately involves a plain copy of almost an entire implementation into the dumpster.

On the one hand, this doesn not accurately reflect the rather minuscule differences between IntegrationTestCase and FrappeTestCase, but on the other hand, it shields and freezes the old api should IntegrationTestCase evolve futher
* fix: Newsletter scheduling

* fix: Newsletter scheduling
…s added

Mismerge in 0d3b249

Thanks Revant for pointing it out

Signed-off-by: Akhil Narang <[email protected]>
fix(new-site): `mariadb_user_host_login_scope` has been broken
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.