Commit Graph

12877 Commits

Author SHA1 Message Date
Gary Verhaegen
1938d516c0
[release] try to fix 2.x arm again (#18710) 2024-03-11 23:58:00 +01:00
Gary Verhaegen
9340f02b95
2.7.8 test release (#18706) 2024-03-11 17:35:23 +01:00
Gary Verhaegen
4c82f93a5f
[release] fix split-release step name (#18707) 2024-03-11 14:36:21 +00:00
Gary Verhaegen
504b2c1cac
[release] skip arm on 2.8 and earlier (#18705) 2024-03-11 14:52:53 +01:00
azure-pipelines[bot]
405f1ae6f7
update canton to 3.0.0-snapshot.100000000.20240308.12805.0.vd86a0688 (#18696)
* update canton to 3.0.0-snapshot.100000000.20240308.12805.0.vd86a0688

tell-slack: canton

* fix codegen tests

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2024-03-11 12:17:46 +01:00
Gary Verhaegen
1e671b6356
try to fix release branches (#18693)
Right now building Linux/ARM fails on release branches. This is because:
- Release branches do not support Linux/ARM.
- Releases are built from `main`, using `main`'s version of YAML files.

This should skip over the Linux/ARM build when running on release
branches.
2024-03-11 12:16:33 +01:00
Paul Brauner
949f0b35d8
In scala, get stable packages from an embedded resource (#18687)
* In scala, get stable packages from an embedded resource

* add the new package to artifacts.yaml

* add maven coordinates for stable-packages

* Apply suggestion

Co-authored-by: Remy <remy.haemmerle@daml.com>

---------

Co-authored-by: Remy <remy.haemmerle@daml.com>
2024-03-11 11:03:31 +01:00
Gary Verhaegen
5a85f72b09
re-enable macOS (#18700)
This reverts commit 8f2e425b0b.
2024-03-11 10:58:22 +01:00
azure-pipelines[bot]
aba8bcd394
update NOTICES file (#18699)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-11 10:04:07 +01:00
Gary Verhaegen
8f2e425b0b
disable macOS over the weekend (#18659) 2024-03-08 19:15:31 +01:00
Remy
7bc3744625
Align value in scenario proto with value proto (#18688) 2024-03-08 17:32:11 +00:00
Remy
62731d7a2d
clean LF versions in java codegen test (#18689) 2024-03-08 17:30:12 +00:00
Gary Verhaegen
b978f97970
fix check-protobuf-stability (#18682)
Currently fails in the presence of release candidates.
2024-03-08 18:22:09 +01:00
Carl Pulley
b95140e9bb
Participant upload package map upgrade checks (#18638) 2024-03-08 15:23:22 +00:00
azure-pipelines[bot]
18f8a05115
update NOTICES file (#18675)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-08 15:37:35 +01:00
azure-pipelines[bot]
6b63b00786
bump blackduck script to 13991807 (#18676)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-08 15:36:54 +01:00
azure-pipelines[bot]
f6ddaa5045
update canton to 3.0.0-snapshot.100000000.20240307.12796.0.va9296958 (#18677)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-08 13:03:06 +01:00
Remy
644f5702c3
[LF] final renumbering of archive proto (#18651) 2024-03-08 09:18:10 +01:00
azure-pipelines[bot]
66d83e433d
update canton to 3.0.0-snapshot.100000000.20240306.12783.0.vbe62816f (#18657)
* update canton to 3.0.0-snapshot.100000000.20240306.12783.0.vbe62816f

tell-slack: canton

* remove daml-lf/validation deps from canton_participant

* Reset canton 'unused_dependency_checker_mode' to 'error'

* Enable disableUpgradeValidation in daml-script DevIT

* fix ts tests

* Fix haskell

* format

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
Co-authored-by: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
Co-authored-by: Marcin Ziolek <marcin.ziolek@digitalasset.com>
2024-03-07 22:42:13 +01:00
Gary Verhaegen
cd1d114db4
[dev-env] remove custom nix derivation for semver-tool (#18661) 2024-03-07 15:50:35 +01:00
dylant-da
a57d50ad4a
Add flag for disabling upgrade validation, refactor tests (#18628)
* Add flag for disabling upgrade validation, refactor tests

* mark upgrade-tests flaky

* remove unused disableUpgradeValidation method

* update canton to 3.0.0-snapshot.100000000.20240305.12764.0.v09f6d95a

tell-slack: canton

* Adapt code after renaming v1 to v2

Adapts daml because of https://github.com/DACH-NY/canton/pull/175211

run-all-tests: true

* Quick-fix build by adding missing `recordTime` parameter to the `TransactionGenerator`

This change affects tests only. However, this is a quick-fix, and there should
be a proper follow-up.

* Disable "hot reload" test since it breaks on Carl's changes

In a week we should fix this once https://github.com/DACH-NY/canton/pull/17652 is merged

* Fix expected protobuf structure in test-protobuf-structure.sh

* Compare transactions without record time in UpdateClientImplTest

* lint

* Revert changes to canton since origin/main

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
Co-authored-by: Yves Geissbuehler <yves.geissbuehler@digitalasset.com>
2024-03-07 11:45:00 +00:00
Moisés Ackerman
c121d90b61
Remove 'daml repl' command (#18648) 2024-03-07 10:21:57 +01:00
azure-pipelines[bot]
7bee7ef399
update canton to 3.0.0-snapshot.100000000.20240305.12764.0.v09f6d95a (#18642)
* update canton to 3.0.0-snapshot.100000000.20240305.12764.0.v09f6d95a

tell-slack: canton

* Adapt code after renaming v1 to v2

Adapts daml because of https://github.com/DACH-NY/canton/pull/175211

run-all-tests: true

* Quick-fix build by adding missing `recordTime` parameter to the `TransactionGenerator`

This change affects tests only. However, this is a quick-fix, and there should
be a proper follow-up.

* Disable "hot reload" test since it breaks on Carl's changes

In a week we should fix this once https://github.com/DACH-NY/canton/pull/17652 is merged

* Fix expected protobuf structure in test-protobuf-structure.sh

* Compare transactions without record time in UpdateClientImplTest

* lint

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
Co-authored-by: Yves Geissbuehler <yves.geissbuehler@digitalasset.com>
Co-authored-by: Dylan Thinnes <dylan.thinnes@digitalasset.com>
2024-03-06 17:47:59 +00:00
Paul Brauner
1d806b4b73
Fix //language-support/hs/bindings:test (#18646) 2024-03-06 15:15:56 +01:00
Paul Brauner
760c278882
remove minSharedKeys (#18639) 2024-03-06 14:48:47 +01:00
Gary Verhaegen
e585ebf254
remove pex (#18641)
I can't find any usage site for it and it's failing to build on some platforms.
2024-03-06 08:41:30 -05:00
Remy
b034728d68
[LF] cleanning Builtin Function in archive (#18609)
Co-authored-by: Paul Brauner <141240651+paulbrauner-da@users.noreply.github.com>
2024-03-06 12:47:52 +00:00
azure-pipelines[bot]
8ecd2d79b6
update NOTICES file (#18644)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-06 11:24:38 +01:00
azure-pipelines[bot]
50a1711d01
update canton to 3.0.0-snapshot.100000000.20240304.12755.0.v782a3e64 (#18631)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-05 16:33:11 +00:00
Paul Brauner
55d1d9c07f
Make keys 2.dev-only (#18573)
* reject keys in the decoder for lf<2.dev

* fix ContractKeySpec

* fix the AnyContractKey.daml integration test

* fix the AnyEqOrd.daml integration test

* split the AuthFailure.daml integration test

* fix the BasicTests.daml integration test

* fix the ConsumedContractKey.daml integration test

* fix the ContractIdInContractKey.daml integration test

* fix the "*Key*.daml" integration tests

* split the ExceptionSemantics.daml integration test

* split the ExplicitDisclosure.daml integration tests

* fix the LfStableMustFailCommit.daml integration tests

* fix the LfStableMustFailInterpretation.daml integration tests

* split the SemanticsEvalOrder.daml integration tests

* use dev dars in EngineTest.scala for now

* use dev dars in NodeSeedsTest.scala for now

* fix tests extending AbstractScriptTest

* fix CodegenTest.scala

* fix ScriptService.hs

* fix Daml*ScriptTestRunner tests

* fix doc snippets tests

* fix codegen tests

* fix test-common:model-tests

* fix compile error

* fix //language-support/ts/codegen/tests:build-and-lint-test

* fix //ledger-service/lf-value-json:tests

* fix //daml-script/test:upgrade-test

* Apply

Co-authored-by: Remy <remy.haemmerle@daml.com>

* Apply su

Co-authored-by: Remy <remy.haemmerle@daml.com>

---------

Co-authored-by: Remy <remy.haemmerle@daml.com>
2024-03-05 16:23:11 +00:00
Remy
a5046e124b
Rename EBuiltin into EBuiltinFun (#18635) 2024-03-05 15:32:55 +01:00
azure-pipelines[bot]
bdeb7dd86e
update NOTICES file (#18633)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-05 12:24:23 +01:00
Remy
c29cd07b18
[LF] Change Prim* to Builin* (#18608)
Co-authored-by: Paul Brauner <141240651+paulbrauner-da@users.noreply.github.com>
2024-03-05 07:55:51 +00:00
Moisés Ackerman
58f5c70d98
Enum/Variant upgrade tests (#18518)
* Add VariantChanges upgrade test file

* Rename {variant=>enum} in DataChanges upgrades test

* Add cases from Sam's testing

* Small tweaks

* Add missing comma

* Switch from full file regex to per-line scan

---------

Co-authored-by: Samuel Williams <samuel.williams@digitalasset.com>
2024-03-04 17:06:48 +00:00
azure-pipelines[bot]
ee73911caf
update canton to 3.0.0-snapshot.100000000.20240301.12744.0.v046ec13c (#18624)
* update canton to 3.0.0-snapshot.100000000.20240301.12744.0.v046ec13c

tell-slack: canton

* fix

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2024-03-04 17:52:32 +01:00
Remy
6e74d0d4bc
Add Generic Numeric rounding (#18613) 2024-03-04 17:38:41 +01:00
Marton Nagy
18ed5a82e3
Add domainId to TS bindings (#18610)
Plus a smoke test
2024-03-04 13:52:38 +01:00
dylant-da
2657d34882
Add "tink" provider in daml sandbox (#18619) 2024-03-04 12:17:08 +00:00
Remy
5df53ffa30
move BigNumeric type out of Prelude (#18614) 2024-03-04 12:07:26 +01:00
Samuel Williams
fea93c8e83
Codegen error improvements (#18549) 2024-03-01 15:14:21 +00:00
Moisés Ackerman
7ee8ddf798
20240301 snapshot (#18617) 2024-03-01 14:46:13 +00:00
Moisés Ackerman
41e4848eb1
Make CI steps 'publish_npm_mvn', 'publish' and 'PublishPipelineArtifact@0' only run on 'main{,-2.x}' (#18620)
This is a partial revert of https://github.com/digital-asset/daml/pull/18597, which removed the condition 'in(variables['Build.SourceBranchName'], 'main', 'main-2.x')' from those steps
2024-03-01 15:19:21 +01:00
Remy
9c5fae542e
Fix Serialization of choice observer (#18615) 2024-03-01 11:59:27 +00:00
azure-pipelines[bot]
29e001900d
update canton to 3.0.0-snapshot.100000000.20240229.12732.0.v376ecf1c (#18612)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-01 07:32:20 +00:00
Remy
68dfd93476
Drop non interned string from archive proto (#18598) 2024-02-29 17:01:51 +00:00
dylant-da
b089e6daea
Typecheck variant upgrades (#18592) 2024-02-29 15:00:17 +00:00
azure-pipelines[bot]
90de0c12c6
update canton to 3.0.0-snapshot.100000000.20240228.12717.0.vfdec1693 (#18604)
* update canton to 3.0.0-snapshot.100000000.20240228.12717.0.vfdec1693

tell-slack: canton

* Add @maven//:org_typelevel_cats_core_2_13 to community_ledger_ledger-json-api deps

* Fix java codegen

* fix javadoc for java codegen

* fmt

* Fix //release:test-protobuf-structure

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2024-02-29 15:14:57 +01:00
dylant-da
a9d14fbb5e
Deeper type resolution via gammaTypes, more errors for datatypes (#18172) 2024-02-29 11:25:33 +00:00
Remy
9fd32b7b0c
[LF] Drop non interned DottedName from archive proto (#18578) 2024-02-28 18:11:55 +01:00
Gary Verhaegen
8b8e95d0e0
[release] push to maven again (#18597) 2024-02-28 17:37:30 +01:00