Skip to content

Test sessions#5

Open
mt-omarov wants to merge 94 commits intomasterfrom
test_sessions
Open

Test sessions#5
mt-omarov wants to merge 94 commits intomasterfrom
test_sessions

Conversation

@mt-omarov
Copy link
Owner

No description provided.

mt-omarov and others added 30 commits March 19, 2024 16:31
1. Define session class.
2. Define the basic structure of the basic functions.
3. Write the abstract logic of reading and writing session files with the stream and serialize functions.
…functions and simple logic for working with extra attributes for session files.
The optimization is applied in case at least one of operands is empty.
In that case it eliminates copy creation and returns a shared array.
Change deb.debian.org on archive.debian.org in github pipelines and docs
* Increase possible parts_cnt & fix assert

* Replace assert with kphp_assert and kphp_error
This commit adds two flags to both typed and untyped RPC TL query builtins.

'requests_extra_info' parameter collects extra info about sent RPC requests:
'request_size'.

'need_responses_extra_info' tells the runtime to collect extra info about RPC
response associated with the RPC request. This info may later be extracted
with new 'extract_kphp_rpc_response_extra_info' builtin.
SIGSEGV was caused by using wrong string's constructor.
The constructor we used was an optimization for single-character
strings. Such strings are stored in `.rodata`. Writing to these strings'
buffer led to a SIGSEGV
In some cases RPC queries that are wrapped with RpcDestFlags, RpcDestActor,
or RpcDestActorFlags are wrapped one more time with RpcDestActorFlags.
This PR fixes this behaviour.
Replace static_assert with std::enable_if for VertexAdaptor
Fix TLS threads count
Replaces hardcoded installation paths with paths from GNUInstallDirs. This should help ensure cross-distribution builds, at least at the directory compatibility level.
Purpose: when a class occurs only in @param and is actually never created, 
resolve it in CollectRequiredPass.
Previously, @param weren't analyzed there, because phpdocs haven't been 
parsed up to that execution point, and I didn't want to perform parsing twice.
In vkcom, we sometimes see "file name too long".
This MR shrinks too long file names, replacing in exact places
long namespaces with their hashes.
…#1011)

Before this MR, all constants / globals were codegenerated as separate C++ variables.

This MR splits constants and globals into different storages and pipelines and targets 
to fully avoid mutable state in codegenerated C++ code.

The purpose of this approach is to be able to compile a script into .so, 
load it multiple times, and execute concurrently.
@mt-omarov mt-omarov force-pushed the test_sessions branch 3 times, most recently from 9788dd8 to fe1c9c0 Compare July 18, 2024 11:03
@mt-omarov mt-omarov force-pushed the test_sessions branch 7 times, most recently from ab6abcf to 5483799 Compare July 22, 2024 21:07
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.