Allan Shortlidge
941ac3c097
Distributed: Enabled availability checking in Distributed tests.
...
Various distributed actors test cases were testing behavior that ultimately
depends on availability checking but then disabled availability checking on the
command line when building. This will break with future planned changes to
availability checking infrastructure.
2023-11-08 20:56:04 -08:00
Konrad `ktoso` Malawski
faf287015f
[Distributed] Allow overloads with different types; mangling can handle it
2023-11-02 12:36:40 +09:00
Konrad `ktoso` Malawski
370fa50132
Merge pull request #69093 from ktoso/wip-distributed-effective-label
2023-10-25 10:40:17 +09:00
Konrad `ktoso` Malawski
0a65445765
[Distributed] Correct handling super-class implemented ad-hoc requirements
2023-10-20 10:30:51 +09:00
Konrad `ktoso` Malawski
1d150c811c
[Distributed] Fix effectiveLabel implemementation to expected semantics
2023-10-11 00:19:34 +09:00
Konrad `ktoso` Malawski
037df0130f
[Distributed] PoC using a property wrapper on distributed func param for validation
2023-06-30 11:28:27 +09:00
Konrad `ktoso` Malawski
cd3e243ff8
[Distributed] Ensure decoded classes get refcounted down to 0 from decoding
2023-05-19 23:29:49 +02:00
Yuta Saito
5f94468416
[Test] Disable part of distributed tests on singlethreaded global executor
2023-04-29 10:58:04 +00:00
Konrad `ktoso` Malawski
80b93863a9
[Concurrency] Rename Job to ExecutorJob, ease transition with typealias ( #65006 )
2023-04-11 14:52:10 +09:00
Konrad `ktoso` Malawski
b666fc672e
[Executors] Remote distributed actors get "crash on enqueue" default executor ( #64969 )
2023-04-10 19:12:03 +09:00
Konrad `ktoso` Malawski
854b889781
Fix test using assume APIs, which landed concurrently to API renames
2023-04-04 13:16:52 +09:00
Konrad `ktoso` Malawski
10b49bcb85
[Executors] Ensure we treat DA older than 5.9 always as DefaultActor ( #64800 )
2023-04-04 11:04:53 +09:00
Konrad `ktoso` Malawski
b8780c9d9e
[Executors] Move assert/assume APIs onto actors; assumeIsolated() ( #64812 )
2023-04-04 07:44:43 +09:00
Konrad `ktoso` Malawski
345c221f56
[Concurrency] Distributed actor's unownedExecutor should be optional ( #64499 )
2023-03-22 08:40:41 +09:00
Saleem Abdulrasool
06725cca3d
IRGen: correct field counting for distributed actors ( #64439 )
2023-03-17 13:31:19 +09:00
Allan Shortlidge
b2a1e16a80
Disable distributed_actor_assume_executor.swift because it is failing on Windows.
2023-03-16 13:17:07 -07:00
Konrad `ktoso` Malawski
5d2a311dda
[Executors] assumeOnLocalDistributedActorExecutor (isolated Act) ->
2023-03-16 13:23:47 +09:00
Konrad `ktoso` Malawski
41f99fc2ae
[Executors][Distributed] custom executors for distributed actor ( #64237 )
...
* [Executors][Distributed] custom executors for distributed actor
* harden ordering guarantees of synthesised fields
* the issue was that a non-default actor must implement the is remote check differently
* NonDefaultDistributedActor to complete support and remote flag handling
* invoke nonDefaultDistributedActorInitialize when necessary in SILGen
* refactor inline assertion into method
* cleanup
* [Executors][Distributed] Update module version for NonDefaultDistributedActor
* Minor docs cleanup
* we solved those fixme's
* add mangling test for non-def-dist-actor
2023-03-15 23:42:55 +09:00
Konrad `ktoso` Malawski
ae23892276
Merge branch 'main' into wip-prevent-async-overloads-dist
2022-09-20 20:31:04 +09:00
Duo Wang
21154d56f7
fix missing test codesign
2022-08-04 10:36:13 -07:00
Mishal Shah
a436f98fff
Merge pull request #60286 from wd-doylle/fix/test_codesign
...
[test] fix missing codesign in test files
2022-08-01 13:14:53 -07:00
Konrad `ktoso` Malawski
96462980fe
improve error reporting
2022-07-29 10:44:38 +09:00
Konrad `ktoso` Malawski
fbc829fbbd
[Distributed] Don't hang, but throw when target accessor not found
2022-07-29 09:33:38 +09:00
Duo Wang
72e0ac2819
[tests] fix missing codesign in test files
2022-07-28 13:59:44 -07:00
Pavel Yaskevich
ae0c942089
[Distributed] NFC: Re-enable two test-cases that used to fail on arm64e
2022-07-21 14:33:06 -07:00
Konrad `ktoso` Malawski
027c4a69c9
[Distributed] Prevent remote distributed actor from running deinit body
2022-07-14 17:56:03 +09:00
Konrad `ktoso` Malawski
db64d5a961
[Distributed] Disable test while we investigate arm64e issue
2022-07-07 12:58:12 +09:00
Konrad `ktoso` Malawski
6b8642cdf2
[Distributed] Prevent overloading on async in distributed methods, for wire compat
2022-07-05 18:49:42 +09:00
Konrad `ktoso` Malawski
728c007fb9
[Distributed] Implement witnesses for sync or non-throw dist reqs
...
[Distributed] generic and inner test; without one edge case
[Distributed] fix distributed_thunk test; unsure about those extra hops, could remove later
[Distributed] Remove type pretending in getSILFunctionType; it is not needed
It seems our constant replacement in the earlier phases is enough, and
we don't need this trick at all.
[Distributed] Use thunk when calling cross-actor on DA protocols
2022-07-04 19:02:11 +09:00
Konrad `ktoso` Malawski
ef525424f6
Merge pull request #59700 from xedin/distributed-computed-properties-via-accessor-thunk
...
[Distributed] Implement distributed computed properties via special accessor
2022-06-30 16:04:36 +09:00
Pavel Yaskevich
84fa2322d3
[Distributed] Synthesize 'distributed thunk' accessor for distributed computed properties
2022-06-29 14:49:10 -07:00
Konrad `ktoso` Malawski
febfef97d4
[Distributed] Skeleton implementation of distributed computed properties
2022-06-29 14:49:04 -07:00
Konrad `ktoso` Malawski
22b20afce6
[Distributed] make witness be the distributed thunk
2022-06-27 17:08:55 +09:00
Konrad `ktoso` Malawski
6a2778645f
Revert "Merge pull request #59481 from xedin/distributed-computed-properties"
...
This reverts commit 8125a85a8f , reversing
changes made to 728971c5b7 .
2022-06-25 08:49:00 +09:00
Konrad `ktoso` Malawski
bfb69d7ef0
[Distributed] Unlock test which was ASAN failures in the past (2)
...
This was very very likely solved by our ID/ActorSystem property ordering, this would have indeed triggered ASAN.
Resolves rdar://92277271
2022-06-23 10:18:10 +09:00
Konrad `ktoso` Malawski
1c58ee654d
[Distributed] Unlock test which was ASAN failures in the past
2022-06-22 09:30:59 +09:00
Pavel Yaskevich
cae01486c6
[CSApply] Distributed: Inject distributed thunk when necessary
...
Replace distributed member references with distributed thunks
when access happens outside of distributed actor context. This
significantly simplifies distributed compute properties implementation.
2022-06-17 12:35:48 -07:00
Konrad `ktoso` Malawski
079bbcf517
wip
2022-06-17 12:12:16 -07:00
Konrad `ktoso` Malawski
911b42f597
workaround for #59356 while still implementing the witness feature
2022-06-10 21:17:37 +09:00
Ben Barham
c163e0fe5e
[Tests] Make OS features consistent
...
lit.py currently allows any substring of `target_triple` to be used as a
feature in REQUIRES/UNSUPPORTED/XFAIL. This results in various forms of
the OS spread across the tests and is also somewhat confusing since they
aren't actually listed in the available features.
Modify all OS-related features to use the `OS=` version that Swift adds
instead. We can later remove `config.target_triple` so that these don't
the non-OS versions don't work in the first place.
2022-05-20 19:51:23 -07:00
Karoy Lorentey
ba525375c6
[wrangler] Unconditionally disable test/Distributed/Runtime/distributed_actor_init_local for now
2022-05-18 17:58:45 -07:00
Konrad `ktoso` Malawski
bec6a94c61
[Distributed] disable local_init test for 32bit platforms
2022-05-12 08:01:22 +09:00
Konrad `ktoso` Malawski
2a89cea262
[Distributed] restore id synthesis in DerivedConformance infra for multi module cases
2022-05-09 18:34:08 +09:00
Konrad `ktoso` Malawski
1675669e43
Revert "[Distributed] workaround for LocalTestingDAS crashes;"
...
This reverts commit bcd0f64e91 .
2022-05-08 19:37:24 +09:00
Konrad `ktoso` Malawski
1e489d6c0b
[Distributed] Force the order of properties in AST
2022-05-08 18:20:50 +09:00
Evan Wilde
a7558d34e5
Disabling failing test distributed_actor_init_local
2022-05-07 11:32:45 -07:00
Konrad `ktoso` Malawski
bcd0f64e91
[Distributed] workaround for LocalTestingDAS crashes;
...
This happens to work, but is not a real fix; we are not handling well
types declared in a library evolution enabled library, which this DAS
is. Without this, at runtime, we crash in LocalTestingDAS using actor
initializers
2022-05-07 07:28:55 +09:00
Josh Soref
a806726948
spelling: thesystem
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2022-04-30 23:37:02 -04:00
Artem Chikin
3589d06b7d
Disable failing distributed actor tests. Example failure: https://ci.swift.org/job/oss-swift-incremental-ASAN-RA-macos//408/console . Resolves rdar://92277271
2022-04-25 16:58:14 -07:00
Konrad `ktoso` Malawski
dfc2294e42
[Distributed] unlock test which used to fail on 32bit watch
2022-04-25 16:31:22 +09:00