Commit Graph

12658 Commits

Author SHA1 Message Date
Gary Verhaegen
c720361b7b
check-releases: fix typo (#18324) 2024-01-30 10:31:30 +01:00
Paul Brauner
806ca2a1ba
remove unused script1DevDar in DamlcTest.hs (#18323) 2024-01-30 09:19:59 +00:00
Paul Brauner
3d3e05981a
remove v1 encoder and decoder in the engine (#18295)
run-all-tests: true
2024-01-30 09:04:26 +01:00
mziolekda
90d90ea759
remove scala bindings and ledger-api-client (#18301)
* remove scala bindings from daml-script

* remove bindings-pekko

* clean test-common

* clean rx-java

* clean the rest

* remove ledger and scala-bindings

* format

* correcting from code-review
2024-01-29 17:28:14 +00:00
Moisés Ackerman
c6e1ace2b7
Bump grpc-java to 1.60.0 (#18315) 2024-01-29 16:59:46 +01:00
Gary Verhaegen
5f7f9784a4
check-releases: record verified releases (#18313)
With the current setup, every single day we download every single
artifact of evry single release we've ever made on GitHub, twice (once
from GitHub, once from GCS). Then we check signatures and compare the
two.

With this change, we save a representation of the state of both GCS and
GitHub, and if that representation hasn't changed, we assume the
artifacts haven't changed either. The assumption seems reasonable to me
as the representation includes platform timestamps, which no user can
tamper with as far as I'm aware.

Note: we do not save the entire GitHub release representation, and
instead just save relevant metadata for the associated artifacts. The
goal of this job is to verify that the artifacts haven't changed; it is
acceptable (and even expected in routine circumstances) that the
release description will change, as well as its "prerelease" and "latest
release" flags.
2024-01-29 16:18:37 +01:00
Paul Brauner
57d28c15fa
remove agreement text from the compiler (#18272)
* remove agreement text from the compiler

* update GHC_REV

run-all-tests: true

* point to the HEAD of master-8.8.1
2024-01-29 12:49:12 +00:00
Gary Verhaegen
c590c6c942
fix daily report (#18309)
broken by #18203
2024-01-29 12:24:18 +00:00
azure-pipelines[bot]
b3748d5b7c
update canton to 3.0.0-snapshot.20240126.12417.0.v2831b34a (#18302)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-29 08:42:10 +00:00
tudor-da
3e666850dc
PackageName format starts with # (#18274) (#18306)
run-all-tests: true
2024-01-29 09:16:40 +01:00
tudor-da
a9dc2d63d2
Move fromString utils to TypeConRef object (#18231) (#18275)
* Move (assert)fromString to TypeConRef object

* Add fromIdentifier

* Add TypeConRef to LoggingValue
2024-01-26 17:45:23 +00:00
mziolekda
779e84987a
use canton ledger-client (#18025)
* PoC to demonstrate the use of canton ledger-client

run-all-tests: true

* make it compile on canton-3

* remove all remnants of ledger-api-* from daml-script

* make the whole projet build

* Convert daml2-script and daml3-script to ledger-api-v2 (partially)

* Transfer some tests over to v2

* Update next batch of tests to api-v2

* Add temporary maven artifacts.

* Add maven tags to canton

* Format canton build file, rename coordinates

* Finally release passes

* Fix daml script following LedgerClient changes

run-all-tests: true

* Format canton/BUILD

* Update after merge, get all canton targets building

* Format canton/BUILD

* Fix further build issues

* Update ledgerclient to avoid GetLedgerEnd

* Update comment

---------

Co-authored-by: Samuel Williams <samuel.williams@digitalasset.com>
2024-01-26 16:14:39 +01:00
Samuel Williams
4e6778a54d
Restructure daml3-script such that everything is internal. (#18127)
* Restructure daml3-script such that everything is internal.
run-all-tests: true

* Fix remaining shake test
2024-01-26 14:03:30 +00:00
Moisés Ackerman
55e4e19cc2
Support dot syntax with user-defined HasField instances (#18287)
* Add failing test case

* Don't inline {get,set}Field when used with custom instances
2024-01-26 14:11:29 +01:00
Paul Brauner
561663c8a4
remove dead code in speedy (#18289) 2024-01-26 10:31:22 +01:00
azure-pipelines[bot]
9b2b2d605b
update NOTICES file (#18294)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-26 09:56:39 +01:00
azure-pipelines[bot]
e82166fe7b
bump blackduck script to 745a1566 (#18292)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-01-26 09:55:37 +01:00
Paul Brauner
0d5c249edc
fix dade-check-main-only-files instructions (#18242) 2024-01-26 09:23:20 +01:00
Paul Brauner
f0b61ae589
remove eval order option in the engine (#18283) 2024-01-25 21:26:49 +01:00
Gary Verhaegen
cd8e4ee4ba
infra: run apt-get upgrade on startup (#18288) 2024-01-25 17:53:59 +00:00
Moisés Ackerman
4599ab433a
Remove support for 'template-let' syntax (#18262)
* Bump GHC_REV

* Remove template-let from daml-test-files

* Remove template-let from code-snippets

* Update golden file UnusedMatchTests.EXPECTED.desugared-daml

* Bump GHC_REV
2024-01-25 17:05:13 +01:00
Hubert Slojewski
8bc0e8a8d7
#15209 Remove agreementText from Java codegen and bindings (#18267) 2024-01-25 14:20:24 +01:00
Gary Verhaegen
939e2240cf
smaller title/branch name for canton update PRs (#18265) 2024-01-25 13:37:54 +01:00
Hubert Slojewski
5aa94412e2
#15209 Remove ContractInstanceWithAgreement (Canton breaking change) (#18264) 2024-01-25 13:31:46 +01:00
Paul Brauner
e46c6f76f3
fix leading comma in tag_filter in build.sh (#18284)
run-all-tests: true
2024-01-25 12:59:36 +01:00
azure-pipelines[bot]
1ceaf5a581
update canton to 20240124.12386.0.v5b1223a9/3.0.0-snapshot.20240124.12386.0.v5b1223a9 (#18278)
* update canton to 20240124.12386.0.v5b1223a9/3.0.0-snapshot.20240124.12386.0.v5b1223a9

tell-slack: canton

* Adapt to cantons-side move of LedgerClient to ledger-common

https://github.com/DACH-NY/canton/pull/16628

* Formatting

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: oliverse-da <oliver.seeliger@digitalasset.com>
2024-01-25 12:56:35 +01:00
Gary Verhaegen
982b3c8891
fix compat update script (#18270) 2024-01-25 11:50:24 +01:00
Paul Brauner
3dd4fae6a1
fix handling of main-only tests on linux and darwin (#18280) 2024-01-25 10:36:32 +00:00
Paul Brauner
274120a3af
fix //language-support/hs/bindings:test (#18279)
run-all-tests: true
2024-01-25 09:51:54 +00:00
Paul Brauner
9b46669aae
remove the nat type erasure feature flag in the compiler (#18261)
* remove the nat type erasure feature flag in the compiler

* update LegacyCppFlags.daml

* fix platform independence test
2024-01-25 10:42:26 +01:00
Paul Brauner
318e1d380e
remove the simple interfaces feature flag from the compiler (#18263)
* delete the featureSimpleInterfaces flag

* fix DamlcIntegration tests

* add DAML_INTERFACE to LegacyCppFlags.daml
2024-01-24 16:41:49 +00:00
Moisés Ackerman
c4fbb2aa24
Update new-working-on-ghc-lib.md to mention da-master-8.8.1-daml-2.x (#18259) 2024-01-24 15:12:36 +01:00
Paul Brauner
279d36cc6c
fix typo in new-working-on-ghc-lib.md (#18268) 2024-01-24 14:42:57 +01:00
azure-pipelines[bot]
7ec33db439
update canton to 20240123.12376.0.vce2030db/3.0.0-snapshot.20240123.12376.0.vce2030db (#18256)
* update canton to 20240123.12376.0.vce2030db/3.0.0-snapshot.20240123.12376.0.vce2030db

tell-slack: canton

* Resolve import warnings

* Add ledger-api v2 experimental_features proto

to adapt to https://github.com/DACH-NY/canton/pull/16603/files#diff-3b3a96cb2f2ad9cfe33444f1327479d8d0ca48663fb7dd0a6a5e53c5d86afede

* Removing compatiblity_target_protobuf

as the corresponding compatibility change would move into the
canton repo as per https://github.com/DACH-NY/canton/issues/16637

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: oliverse-da <oliver.seeliger@digitalasset.com>
2024-01-24 14:26:56 +01:00
Paul Brauner
384111d806
remove the scenario feature flag from the compiler (#18258)
* remove the scenario feature flag from the compiler

* fix platform-independence-dar-hash-file-matches
2024-01-24 13:33:18 +01:00
Paul Brauner
52afb3aba5
remove the right-to-left eval feature from the compiler (#18257) 2024-01-24 10:18:18 +00:00
Marton Nagy
c5c43abea1
Snapshot release from 2.8.x (#18250) 2024-01-23 22:16:27 +01:00
Ratko Veprek
932a3ac226
Fixed the behaviour of the noop metrics gauge (#18252)
Before this change, the noop metrics gauge just ignored any value update. Now, it's backed by an atomic ref.
2024-01-23 18:27:42 +00:00
azure-pipelines[bot]
c62c9d4eea
update canton to 20240122.12366.0.v932e06e9/3.0.0-snapshot.20240122.12366.0.v932e06e9 (#18248)
* update canton to 20240122.12366.0.v932e06e9/3.0.0-snapshot.20240122.12366.0.v932e06e9

tell-slack: canton

* fix canton/BUILD.bazel

* fix the bootstrap scripts of the integration tests

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-01-23 17:43:22 +00:00
Gary Verhaegen
0b9c7faad2
fix external PRs (#18251) 2024-01-23 17:42:31 +01:00
Paul Brauner
5d9876983e
remove the nat synonyms feature flag from the compiler (#18246)
* remove the nat synonyms feature from the compiler

* Add cpp flags that are always set no matter what

* Add a test that DAML_NAT_SYN is always defined

* Apply suggestion

Co-authored-by: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>

* move the hpp-copy resource from integration-lib to integration-*

* fix LegacyCppFlags.daml

---------

Co-authored-by: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
2024-01-23 16:11:10 +00:00
Paul Brauner
a1309f05f5
Remove build-scripts/build_hs_lf_tooling.sh (#18234) 2024-01-23 16:00:43 +01:00
Moisés Ackerman
88569ac5d9
Update GHC instructions and remove utils/hpc subdir in GHC fork (#18237)
* Update new-working-on-ghc-lib.md

* Bump GHC_REV
2024-01-23 15:10:18 +01:00
Paul Brauner
827578df04
remove the type interning feature from the compiler (#18244) 2024-01-23 13:32:54 +00:00
azure-pipelines[bot]
d88dbfcd6b
update canton to 20240119.12351.0.v919e4e65/3.0.0-snapshot.20240119.12351.0.v919e4e65 (#18228)
* update canton to 20240119.12351.0.v919e4e65/3.0.0-snapshot.20240119.12351.0.v919e4e65

tell-slack: canton

* Move package service from v0 to v30

To adapt to: https://github.com/DACH-NY/canton/pull/16527/files#diff-ab9f2213eb571819e86f0623cdd806c3603cfce1337f2a48e3453843cd97f7aa

* Remove -x suffix from participants/sequencers/mediators config

to adapt to https://github.com/DACH-NY/canton/pull/16486/files#diff-4072c28eb5ca7db19525b30a6f02f38284470f4d0deda2ade3ce6a686805f8f4

run-all-tests: true

* Take advantage of ledger-api party-notication fix in canton

https://github.com/DACH-NY/canton/issues/16073

run-all-tests: true

* Fix remote-domains -> remote-sequencers

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: oliverse-da <oliver.seeliger@digitalasset.com>
2024-01-23 12:10:40 +01:00
Paul Brauner
9ba485aa84
remove the stringInterning feature from the compiler (#18241)
* remove the stringInterning feature from the compiler

* add a TODO to remove constructors_str in the lf2 definition
2024-01-23 10:52:42 +00:00
Hubert Slojewski
3b5dce66f5
#15209 Remove agreement text part 1 (internal changes only) (#18218) 2024-01-22 17:06:17 +00:00
Paul Brauner
d7c8e125c6
Make package metadata mandatory in the compiler (#18235)
* Make package metadata mandatory in the compiler

* remove metatada from worldSelf

* simplify mergePkgs
2024-01-22 14:20:03 +00:00
Moisés Ackerman
b5fbcf8e3a
Split DA.Test.Sandbox off //libs-haskell/test-utils into //libs-haskell/canton-test-utils (#18210) 2024-01-22 14:53:35 +01:00
Paul Brauner
f1925c1b71
fix DamlLf2 module alias (#18238) 2024-01-22 12:12:25 +00:00