Commit Graph

13158 Commits

Author SHA1 Message Date
Moisés Ackerman
4a94fbfc23
Add support for 'module_prefixes' in bazel macro 'daml_test' (#19010) 2024-04-16 17:00:58 +02:00
tudor-da
cf0579f614
More useful PackageInfo definition (#18998)
* More useful PackageInfo def

* Simplified
2024-04-16 15:00:48 +00:00
Remy
54cfdfb5de
[Engine] Simplify Compiled packages (#19007) 2024-04-16 16:06:42 +02:00
Samuel Williams
d1c76d21a7
Implement damlc generate-multi-package-manifest (#18832)
* Implement damlc generate-multi-package-manifest

* Fix source hash file paths

* Add generate multi package manifest tests

* Apply hlint suggestion

* Review and CI fixes

* Remove repeat pragma

* Refactor test suite to be OS/version agnostic

* Update comments

* Fix after merge
2024-04-16 14:42:40 +01:00
Gary Verhaegen
6881725412
[release] 2.8.4 (#18954) 2024-04-15 20:12:44 +02:00
tudor-da
91c1c12ded
Improve PackageInfo definition (#18980)
* Improve PackageInfo definition

* Fix PackageInfoSpec

* Apply suggestions from code review

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

* Format

* Another small fix

---------

Co-authored-by: Remy <remy.haemmerle@daml.com>
2024-04-12 18:20:04 +02:00
Ratko Veprek
5b63b00666
Triggering adhoc 3.1.0 release (#18976) 2024-04-11 13:00:39 +00:00
Ratko Veprek
640cac45bc
Metrics: initialise views before meters to re-enable histograms (#18963)
Before this change, the whole histogram building logic was broken since we upgraded telemetry. Now,
we initialize the view before the meters. As part of this change, I also move the documentation
into the meter definition such that the metrics can include a description in otel, and finally I've improved
the filtering such that we now also filter by qualification, which means that a client will not be
overwhelmed with 400 unnecessary metrics.

Part of https://github.com/DACH-NY/canton/issues/17917
2024-04-11 14:05:58 +02:00
azure-pipelines[bot]
1a17fb37d0
update canton to 20240410.13062.v63473f5d (#18974)
* update canton to 20240410.13062.v63473f5d

tell-slack: canton

* fix integration tests

* fix remaining failing integration tests

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-04-11 14:05:07 +02:00
azure-pipelines[bot]
f813d79a34
update canton to 20240410.13059.vaa7f9dde (#18971)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-10 17:14:58 +02:00
azure-pipelines[bot]
0b4f060244
update canton to 20240409.13054.v4f1ad842 (#18967)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-10 12:43:35 +02:00
azure-pipelines[bot]
8b31fcfae4
update NOTICES file (#18970)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-10 09:49:36 +00:00
azure-pipelines[bot]
be4fc91cb6
update canton to 20240409.13048.v8a5f112c (#18962)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-09 14:55:43 +02:00
azure-pipelines[bot]
2ec4a3b7fd
update canton to 20240408.13044.v976ee867 (#18958)
* update canton to 20240408.13044.v976ee867

tell-slack: canton

* specify the protocol version in calls to StaticDomainParameters.defaults

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-04-09 09:19:45 +00:00
Samuel Williams
1d9a83931f
Multi-build direct dependency support + build all ordering (#18956) 2024-04-09 09:46:54 +01:00
azure-pipelines[bot]
f4246b34a2
rotate release duty after 2024-04-03 (#18930)
@basvangijzel-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.

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-09 10:24:37 +02:00
azure-pipelines[bot]
0ec879853e
update canton to 20240405.13039.vc7eec3f0 (#18948)
* update canton to 20240405.13039.vc7eec3f0

tell-slack: canton

* fix build

* remove usages of tink in the canton config

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-04-08 15:31:20 +02:00
azure-pipelines[bot]
8f88f4f188
update NOTICES file (#18952)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-08 15:15:11 +02:00
Remy
9c3ceab776
Test for LF V1 Archive Reader (#18946)
* Test for LF V1 Archive Reader

* Update sdk/daml-lf/api-type-signature/src/test/scala/lf/typesig/reader/SignatureReaderSpec.scala
2024-04-08 11:00:42 +02:00
Simon Maxen
6eb409f898
Pass package-name into GlobalKey construction (#18927)
* Pass package-name into GlboalKey construction
2024-04-08 09:36:38 +01:00
Remy
c31940581e
Decode package type signature for LF1 (#18940)
We pick the proto for LF1 and the Decoder from main-2.x
We drop withing the decoder the expression decoding and and fill the AST with EUnit where an expression is needed.

Test will be done in a subsequent PR.
2024-04-05 09:27:47 +02:00
Gary Verhaegen
655af78433
[release] small fix to split-release job (#18941) 2024-04-04 12:09:34 +00:00
azure-pipelines[bot]
7a2509d6f4
update canton to 20240403.13026.v4a622ee4 (#18936)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-04 07:43:30 +00:00
azure-pipelines[bot]
09e7d8029e
update NOTICES file (#18937)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-04 07:41:54 +00:00
Paul Brauner
cf2b387c3b
Disallow keys in LF 2.1 in the compiler (#18886)
* Disable keys in LfConversion.

* fix UnusedMatchTests.daml in integration-v21

* fix //compiler/damlc/tests:upgrades

* stop compiling daml tests that use keys with 2.1

* migrate the upgrade examples to 2.dev as they use keys

* only compile daml-script/tests dar using keys to 2.dev

* do not compile daml-script/test daml files that use keys to 2.1

* fix //docs:bindings-java-daml-test

* add TODOs everywhere tests need to be split

* add a tests that checks that contract keys are rejected for LF<2.dev

* remove keys from compatibility tests

* Add the qualified template name to the keys not supported error message
2024-04-03 16:24:22 +02:00
azure-pipelines[bot]
62fe3c4bb4
update NOTICES file (#18931)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-03 14:40:29 +02:00
azure-pipelines[bot]
d80ada08c7
update canton to 20240403.13021.v8c185ad5 (#18933)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-03 14:39:40 +02:00
azure-pipelines[bot]
9e29ce5284
update canton to 20240402.13020.vc2501a89 (#18928)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-03 12:17:35 +02:00
azure-pipelines[bot]
dee7adc67f
update canton to 20240402.13019.v58aad7d4 (#18924)
* update canton to 20240402.13019.v58aad7d4

tell-slack: canton

* align tink with canton's

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2024-04-02 20:26:43 +02:00
Gary Verhaegen
1a5450d654
[3.1] uncomment condition on daily snapshots (#18925) 2024-04-02 17:01:51 +00:00
Remy
edb0a4effd
extract archive reader trampoline in its own file (#18921) 2024-04-02 18:50:25 +02:00
Gary Verhaegen
4089b68eaf
[3.1] trigger all snapshots from main (#18920) 2024-04-02 16:19:56 +02:00
Simon Maxen
aef62dc3b6
Include package-name in global key (#18835) 2024-04-02 13:13:39 +01:00
Remy
e378a0f221
partial revert of [LF] drop retroactive interface instance #18282 (#18876)
* refactor bazel LF versions

* partial revert of [LF] drop retroactive interface instance #18282

recover retroacive instance in
- AST
- api-type-signature

* fmt

* Apply suggestions from code review

Co-authored-by: Paul Brauner <141240651+paulbrauner-da@users.noreply.github.com>

* address Paul's review

---------

Co-authored-by: Paul Brauner <141240651+paulbrauner-da@users.noreply.github.com>
2024-04-02 10:11:36 +00:00
azure-pipelines[bot]
11100b5f7f
update canton to 20240330.13012.vce359a66 (#18912)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-02 08:01:23 +02:00
azure-pipelines[bot]
3b51e1d5b2
update canton to 20240328.13010.v2f1421b1 (#18907)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-29 11:39:22 +01:00
azure-pipelines[bot]
2e6ff0acd5
bump blackduck script to f5ca3ea4 (#18908)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-29 09:55:11 +00:00
Gary Verhaegen
563cfb4fba
[release] notify team-releases instead of canton (#18906) 2024-03-28 13:55:07 +01:00
azure-pipelines[bot]
c66b9cd566
update canton to 20240327.13000.vb4399545 (#18899)
* update canton to 20240327.13000.vb4399545

tell-slack: canton

* remove dependencies as requested by Bazel

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2024-03-28 11:29:13 +01:00
Gary Verhaegen
929d187a28
[release] fix daily-snapshot logic (#18905)
When we manually run the daily-snapshot job to make a specific commit,
the resulting release should be named based on the release commit, not
the trigger commit.
2024-03-28 11:22:50 +01:00
Gary Verhaegen
f18a374767
[release] 2.3.19 (#18904) 2024-03-28 11:10:17 +01:00
azure-pipelines[bot]
6183e68918
update NOTICES file (#18900)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-28 10:46:10 +01:00
azure-pipelines[bot]
f5f4c282c9
rotate release duty after 2024-03-27 (#18879) 2024-03-27 17:26:55 +00:00
Gary Verhaegen
392770bfb4
[release] snapshot 3.0.0 (#18889) 2024-03-27 17:37:21 +01:00
Gary Verhaegen
dfc174d65d
bump netty (#18887)
* bump netty

* bazel run @unpinned_maven//:pin
2024-03-27 17:34:52 +01:00
azure-pipelines[bot]
353f2d04cb
update canton to 20240326.12988.v061093f7 (#18880)
* update canton to 20240326.12988.v061093f7

tell-slack: canton

* set PV=dev when config.devMode is true in the Canton fixture

* honor devVersionSupport in Sandbox.hs

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

* explicitly set dev-version-support in the sequencer and mediator in Sandbox.hs

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-03-27 17:01:05 +01:00
Gary Verhaegen
f2593b913f
[release] fix Standard-Change check (#18890) 2024-03-27 17:00:23 +01:00
Gary Verhaegen
a6b5aeb657
[release] double-check 2.3 still works (#18884) 2024-03-27 14:10:24 +01:00
Gary Verhaegen
7c83265ef9
[release] faster releases - experiment (#18812)
When we build a release, it is always a "past" commit - typically, one
that has already been tested twice: once when the corresponding PR was
run, and then again as a "main"-branch commit.

Release branches don't run, but their protection rules enforce linear
merges.

Either way, we know we're building a _good_ commit, and, assuming our
builds and tests are hermetic, testing that commit again when we make a
release is a pure waste of time and CPU resources.

The other case, where we make an ad-hoc release from a branch that has
not been merged, has a similar issue: we do not necessarily want to run
the full test suite, because part of the reason we need that commit may
be that it doesn't succeed as is.

Based on that observation, I wondered what might be the minimal set of
things we actually need to build when making a release. This PR is an
experiment in trying to find that out.
2024-03-27 12:06:39 +01:00
Samuel Williams
714b0c7f4f
Daml ide multi ide (#17345)
* add -fobject-code to fix da-ghci[d]

* stage everything for Sam :-)

* Staging up last changes for Sam - track pending requests & SMethod types

* Some cleanup, get vscode working again with full parsing

* Cleanup

* Add TODO notes

* First multiple SubIDE support

* Cleanup and polish initial multi-ide

* First version of cross IDE goto definition

* Small cleanup

* Update TODO

* Linting

* Fix shutdown logic for windows

* Update ghcide, fix merge warning

* Read multi-package.yaml

* First review comments addressed

* Second batch of fixes

* Penultimate batch of changes

* Add errors as shown messages

* Add client progress token prefixing

* Review/ci fixes

* Update ghcide to main

* Update comment

---------

Co-authored-by: Dylan Thinnes <dylan.thinnes@digitalasset.com>
2024-03-27 10:49:23 +00:00