mziolekda
ac0bac67ef
reduce the usage of sandbox-on-x ( #16878 )
...
* reduce the usage of sandbox-on-x
* fix broken build
* fix build
* drop tests of very old compilers that are not supported by canton
* stop building sandbox-on-postgres when it is not used anyway
* drop tests of very old triggers that are not supported by canton
2023-05-22 14:38:37 +02:00
Remy
e230cf874f
Kill //ledger/cli-opts ( #16869 )
...
We inline the content in //trigger/service/auth that seems to be the only user.
2023-05-22 13:04:09 +02:00
Carl Pulley
fcc20eabb5
Improvements for trigger simulations that throw exceptions during initialization ( #16885 )
2023-05-22 08:54:08 +01:00
azure-pipelines[bot]
5267b166ce
bump canton to 20230519 ( #16889 )
...
CHANGELOG_BEGIN
CHANGELOG_END
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-22 08:53:19 +02:00
Raphael Speyer
50b2c59572
Make template id lookup concurrency-safe. ( #16883 )
2023-05-18 14:55:12 -04:00
Samuel Williams
434b33d1e5
Fix name clashes with choices ( #16858 )
...
* Fix name clashes with choices
* Update ghc version
2023-05-18 15:24:40 +01:00
Remy
912e9a9f33
[LF] make generic Dev interpretation error ( #16859 )
2023-05-18 13:01:43 +00:00
Remy
195ef9a95e
drop sandbox-on-x support to haskell test-utils ( #16879 )
2023-05-17 13:05:58 +00:00
Remy
4e99243dda
kill orcale tests inside '//ledger' ( #16880 )
2023-05-17 12:51:16 +00:00
azure-pipelines[bot]
1fab94dcf4
rotate release duty after 2023-05-17 ( #16874 )
...
@garyverhaegen-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md ) today's release, so they get pushed back to the end of the line.
Please do not merge this before the release is fully tested.
CHANGELOG_BEGIN
CHANGELOG_END
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-17 14:03:58 +02:00
azure-pipelines[bot]
e15d4eb3d4
bump canton to 20230516 ( #16875 )
...
CHANGELOG_BEGIN
CHANGELOG_END
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-17 12:48:54 +02:00
Gary Verhaegen
fc7c99a8a1
infra: tweak Azure config ( #16873 )
...
- Change machine types to be closer to GCP profiles.
- Set partition sizes correctly on Windows (bigger disks mean little if
partitions don't match).
- Enable full caching on disk access as the only downside seems to be
"risk of data loss if the machine shuts down unexpectedly", and we
never want a machine to come back if it shut down.
2023-05-17 11:55:10 +02:00
mziolekda
f74b2b404c
Remove migration tests in favor of similar tests running in canton repo ( #16876 )
...
* get rid of the append-only test flavour
* remove the whole migration folder
2023-05-17 11:25:15 +02:00
pbatko-da
9b04f15c63
IDP extensions - proto update user idp ( #16867 )
2023-05-17 10:40:23 +02:00
nickchapman-da
f88812f0e5
avoid adding WronglyTypedContractSoft error; wait until #16859 has landed ( #16871 )
2023-05-16 17:32:10 +00:00
dylant-da
224a6b1747
Add tool for compiling ghcide from a local copy ( #16860 )
...
* Add tool for compiling ghcide from a local copy
* Allow custom output path, so different repos can use different files
2023-05-16 15:56:20 +00:00
azure-pipelines[bot]
f681e2ad9f
bump canton to 20230515 ( #16865 )
...
CHANGELOG_BEGIN
CHANGELOG_END
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-16 13:14:20 +00:00
azure-pipelines[bot]
8d042f4155
update NOTICES file ( #16866 )
...
CHANGELOG_BEGIN
CHANGELOG_END
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-16 14:35:57 +02:00
Moisés Ackerman
990308ce53
[Upgrades PoC] softFetch ( #16839 )
...
* Refactor PackageMetadata construction
* Package Metadata now can include an upgraded package id
* define PackageInterface#lookupPredecessors
* Add SoftFetch in Daml LF
* Add softFetch function in Daml
* Add USoftFetch LFConversion primitive
* Define SoftFetch in terms of SBPromoteAnyContract
* daml_compile rule now takes upgrades arg
* Add script test for softFetch
* TODOs
* Check LF >= 1.dev when decoding 'upgradedPackageId' and 'softFetch' in DecodeV1.scala
* Check that softFetch is not called on templates with contract keys
* Seq=>List
* ModParser todo
* Extract PackageUpgradesIT from AbstractFuncIT
* Update docstring for SBPromoteAnyContract
* Fix build errors
* Fix build error
* DecodeV1Spec case for softFetch
* DecodeV1Spec case for upgradedPackageId
* EncodeV1 case for upgradedPackageId
* Fix build error
* Disable test due to cyclic dependency with canton
* Add transitive case to PackageUpgradesIT
* Clean up PackageUpgradesIT
* Fix build error
* Error if 'upgrades' field is present before featurePackageUpgrades
* Update doc on compileSoftFetchTemplate
* Reword WronglyTypedContractSoft error
2023-05-16 10:33:47 +02:00
Remy
c5ca9e4cf0
Drop Ledger Api Bench Tool ( #16857 )
2023-05-16 10:09:13 +02:00
azure-pipelines[bot]
36293a4e1a
update NOTICES file ( #16856 )
...
CHANGELOG_BEGIN
CHANGELOG_END
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-15 17:37:59 +02:00
mziolekda
377dee0fa2
Eliminate create-daml-app config without user management ( #16826 )
2023-05-15 16:47:15 +02:00
mziolekda
375fe6d991
convert lapitt compatibility tests to canton ( #16846 )
...
* convert lapitt compatibility tests to canton
* Add waiting for healthy status to avoid flakes
2023-05-15 16:46:21 +02:00
Carl Pulley
9f3ca7f0b6
trigger service Canton test migration cleanup work ( #16838 )
2023-05-15 08:37:08 +01:00
azure-pipelines[bot]
575b0e077d
bump canton to 20230512 ( #16855 )
...
CHANGELOG_BEGIN
CHANGELOG_END
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-13 08:55:39 +00:00
Remy
b2eb3224e7
fix canton update hook ( #16851 )
2023-05-12 09:13:07 +00:00
dylant-da
5637a2e509
Test result serializability ( #16850 )
...
* define serializeable protobuf for test results
* Redefine serializable datatype, rewrite printTestCoverage to use it
* Fix bug in occurence counting
* Refactor/restructure code
* Implement choice/template printers, amend PackageId datatype
* Protobuf encoding/decoding
* Fix duplicate template choices for Archive
* lint auto-formatting for bazel
* fix lint for haskell
* fix bad paren
* lint
* Document test_results protobuf
* remove commented out nowarn compiler flags
2023-05-11 17:44:46 +00:00
Remy
d284aff107
Refactor ledger-test-tool ( #16848 )
...
* Refactor ledger-test-tool
* address Marcin's review
* fix build-release-artifacts
2023-05-11 17:44:42 +02:00
Remy
2d3aaa65f3
update hash of canton snapshot ( #16849 )
2023-05-11 09:56:21 +00:00
Remy
a863d69d34
Move CatonFixture in its own bazel module ( #16824 )
2023-05-10 23:15:26 +00:00
azure-pipelines[bot]
cc16dde330
update compat versions (2023-05-10) ( #16842 )
...
CHANGELOG_BEGIN
CHANGELOG_END
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2023-05-10 23:50:43 +02:00
Carl Pulley
3b2a89e060
Oracle trigger service Canton test migration ( #16837 )
2023-05-10 18:03:50 +01:00
Samuel Williams
537447d92c
Json Api tests to canton ( #16782 )
...
Co-authored-by: Remy <remy.haemmerle@daml.com>
2023-05-10 16:01:39 +01:00
Carl Pulley
27f1268d63
Postgres trigger service Canton test migration ( #16836 )
2023-05-10 14:55:53 +01:00
Carl Pulley
3d8033ddc8
toxi proxy trigger service Canton test migration ( #16829 )
2023-05-10 14:01:31 +01:00
Carl Pulley
8fb76c5b63
In-memory trigger service Canton test migration ( #16811 )
2023-05-10 12:16:57 +01:00
Matthias Schmalz
6d82c6bf00
Removing securityTestLayer from test evidence ( #16843 )
...
The securityTestLayer property used to be defined on a per test suite basis. The value may vary from test case to test case. Therefore, it is not always possible to assign a correct value. Removing the property to resolve this problem.
CHANGELOG_BEGIN
CHANGELOG_END
2023-05-10 10:04:49 +00:00
mziolekda
fd4661042d
Trim the compatibility test matrix ( #16844 )
...
* Trim the compatibility test matrix
* correct script tested versions
2023-05-10 09:54:26 +00:00
Remy
90c023e98e
Migrate LedgerClient test from to Canton ( #16795 )
2023-05-10 11:16:40 +02:00
azure-pipelines[bot]
99cbff4eff
bump canton to 20230510 ( #16841 )
...
CHANGELOG_BEGIN
CHANGELOG_END
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy <remy.haemmerle@daml.com>
2023-05-10 09:15:16 +00:00
nickchapman-da
3b68f14e74
[engine] choice authority eval order testing ( #16835 )
...
* extend eval order testing for choice authority
* update security evidence
2023-05-10 09:36:32 +01:00
azure-pipelines[bot]
a2608b71c9
bump canton to 20230508 ( #16816 )
...
CHANGELOG_BEGIN
CHANGELOG_END
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2023-05-10 09:15:11 +02:00
mziolekda
576d505403
Port create-daml-app compatibility test to canton ( #16820 )
...
* stop relying on sandbox-on-x
* Convert tests to using user management
2023-05-09 12:54:23 +02:00
mziolekda
f35e2a9a3a
allocate free port to domain to avoid flakes ( #16827 )
2023-05-09 12:51:41 +02:00
mziolekda
eaffc65c69
Compatibility daml_ledger_test on canton ( #16805 )
...
* daml_ledger_test on canton
* fix migration tests
* discover free ports and launch canton there
2023-05-08 09:45:53 +00:00
Remy
b15f577298
Fix Main after conflict between 993ddaacb
and 7149ebdb
( #16818 )
2023-05-08 08:44:12 +00:00
Gary Verhaegen
df791fc87d
infra: increase Windows disk sizes ( #16812 )
2023-05-05 18:53:27 +02:00
Remy
7149ebdb73
[LF] refactor CantonFixture ( #1673 )
...
- force logging when debug is one (overring logbak conf)
- inherit SuiteResourceManagementAroundAll
- minor cleanup
- add default value for CantonFixture parameter
2023-05-05 16:31:26 +00:00
Samuel Williams
993ddaacb8
Convert remaining language-support tests to canton ( #16763 )
...
* Convert remaining language-support tests to canton
* Tweaks
* Make ScalaCodeGenIT async
* Rename usingLedger to withFixture
* Update TODOs
* Add changes from Remys PR
* Cleanup imports
* Address Remy's review
* Fix ts codegen tests
2023-05-05 16:05:15 +00:00
Moisés Ackerman
215f56844d
daml_compile rule now takes module_prefixes arg ( #16802 )
2023-05-05 15:47:38 +02:00