Repository navigation
Chore: merge main into staging 0.11.0 - #8652
Conversation
Signed-off-by: Jagath Weerasinghe <jagath.weerasinghe@digitalasset.com>
Signed-off-by: Julien Tinguely <julien.tinguely@digitalasset.com>
Signed-off-by: Robert Autenrieth <robert.autenrieth@digitalasset.com>
[ci] Signed-off-by: pasindutennage-da <pasindu.tennage@digitalasset.com> Signed-off-by: Pasindu Tennage <pasindu.tennage@digitalasset.com>
Signed-off-by: Mateusz Błażejewski <mateusz.blazejewski@digitalasset.com>
Signed-off-by: Robert Autenrieth <robert.autenrieth@digitalasset.com>
…de/skills (#8488) Replaces .claude/skills/ci-triage (from #7502) with the version in use on the triage branch. Also adds the ci-triage-inbox and ci-triage-fix skills, and the scripts all three use, in .claude/skills/ci-triage/scripts. The skills take triage branch location as skill arguments: repo=, branch=, dir= (a separate clone, by default next to the main splice checkout) and access=ro|rw. A read-only sandbox hands its commits over as a git bundle, with the sbx cp and git pull commands for the user; a read-write one pushes. See also DACH-NY/cn-test-failures#11524 Assisted-by: Claude:claude-5.5-opus Co-authored-by: Robert Autenrieth <31539813+rautenrieth-da@users.noreply.github.com> Signed-off-by: Stephen Compall <stephen.compall@digitalasset.com>
Signed-off-by: Mateusz Błażejewski <mateusz.blazejewski@digitalasset.com>
Signed-off-by: Jagath Weerasinghe <jagath.weerasinghe@digitalasset.com>
Signed-off-by: Itai Segall <itai.segall@digitalasset.com>
Signed-off-by: Julien Tinguely <julien.tinguely@digitalasset.com>
Signed-off-by: Robert Autenrieth <robert.autenrieth@digitalasset.com>
…ions (#8600) All of these guards check for package versions at or below the minimum supported versions (amulet 0.1.19, wallet 0.1.20): - supportsTokenStandard, supportsDescriptionInTransferPreapprovals (wallet 0.1.9). The wallet's /v0/feature-support endpoint is kept for API compatibility and now always reports both features as supported. - supports24hSubmissionDelay and its synonyms supportsExpireTransferInstructions and supportsExpireAmuletAllocations (amulet 0.1.17). The amulet expiry triggers keep pinning the preferred packages through the new preferredPackageIds. - supportsConvertFeaturedAppActivityMarkerObservers (amulet 0.1.16) - supportsTrafficBasedAppRewards (amulet 0.1.19) - supportsMintingDelegation (wallet 0.1.16) supportsMergeDuplicatedValidatorLicense is kept on purpose, see its comment. Fixes #1825 [ci] Signed-off-by: Simon Meier <simon@digitalasset.com>
* validate whether the participant admin API audience was already outputted by infra and fail if it wasnt to prevent passing an undefined audience to config (#8602) Signed-off-by: Mateusz Błażejewski <mateusz.blazejewski@digitalasset.com> Co-authored-by: DA Automation <splice-maintainers@digitalasset.com>
…on of participant admin API auth (#8617) Signed-off-by: Mateusz Błażejewski <mateusz.blazejewski@digitalasset.com>
…8613) Signed-off-by: Raymond Roestenburg <raymond.roestenburg@digitalasset.com>
Signed-off-by: Simon Meier <simon@digitalasset.com> Co-authored-by: Martin Florian <martin.florian@digitalasset.com>
Signed-off-by: Jagath Weerasinghe <jagath.weerasinghe@digitalasset.com>
[static] Signed-off-by: Jagath Weerasinghe <jagath.weerasinghe@digitalasset.com>
…ationTest (#8632) Signed-off-by: srikanth-bitdynamics <259878899+srikanth-bitdynamics@users.noreply.github.com>
Signed-off-by: DA Automation <splice-maintainers@digitalasset.com> Co-authored-by: DA Automation <splice-maintainers@digitalasset.com>
Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
…8626) Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
…#8624) Signed-off-by: Paweł Perek <pawel.perek@digitalasset.com>
* [ci] Make CI caches efficient and safe - Save the sbt/classes/npm/Daml caches from the docs job only. Several jobs raced to save the same key, and on PRs ui_tests (which does not compile Scala) usually won with a partial classes archive. - Save under the key computed at restore time. Recomputing hashFiles at the end of the job produced npm keys that no later restore ever matched. - Save on push to main/release-line branches; on pull_request only when nothing was restored; never on pull_request_target (which wrote into the base branch scope with the fork's branch name in the key) or other events. - Drop branch:/job= from the keys: GitHub already scopes caches per ref and falls back to the base/default branch, and the sbt cache was stored three times with near-identical content. - Skip restoring sbt caches in python_tests and check_canton_consistency, which do not run sbt. - Pass cache_version to common_test_setup in scala_test, so that the Scala test jobs use the same nix cache key as the job that saves it. Signed-off-by: krzysztofczyz-da <krzysztof.czyz@digitalasset.com> --------- Signed-off-by: krzysztofczyz-da <krzysztof.czyz@digitalasset.com>
…of ERROR (#8629) Signed-off-by: Raymond Roestenburg <raymond.roestenburg@digitalasset.com>
Signed-off-by: Jagath Weerasinghe <jagath.weerasinghe@digitalasset.com>
* [static] Static tests no longer compile: checks that need the build move to the docs job Signed-off-by: Raymond Roestenburg <raymond.roestenburg@digitalasset.com> * [static] Run the checks that need the build after the caches are saved Signed-off-by: Raymond Roestenburg <raymond.roestenburg@digitalasset.com> * [static] Rename the docs job to compile_checks, it now compiles and runs the checks that need the build Signed-off-by: Raymond Roestenburg <raymond.roestenburg@digitalasset.com> * [static] Point build.yml at the renamed compile_checks workflow and job Signed-off-by: Raymond Roestenburg <raymond.roestenburg@digitalasset.com> --------- Signed-off-by: Raymond Roestenburg <raymond.roestenburg@digitalasset.com>
Signed-off-by: Robert Autenrieth <robert.autenrieth@digitalasset.com>
…ecked the same inputs (#8611)
- Replace the shell helpers with a shared, exclusion-based python-checks.py CLI - Enable twelve additional mypy rules - move type checking into static CI - cover extensionless Python scripts Assisted-by: Copilot:gpt-6.1-sol Signed-off-by: Stephen Compall <stephen.compall@digitalasset.com>
Signed-off-by: Itai Segall <itai.segall@digitalasset.com>
Signed-off-by: Robert Autenrieth <robert.autenrieth@digitalasset.com>
`runOnce()` also returned true for a task that was skipped as stale, so tests waiting for `runOnce() shouldBe true` could stop even though the task never completed (e.g., a round advancement while `AmuletRules` was replaced). - Rename `runOnce` to `runOnePollingIteration`, and drop its override in `PollingParallelTaskExecutionTrigger` so that it runs one iteration of the polling loop for all triggers. - Add `runOnceWithTaskOutcome`, which reports the outcome of the task. - Migrate tests to the `TriggerTestUtil` helpers `runUntilTaskSucceeds`, `runTasksUntil` and `runExpectingNoTask`, as documented in AGENTS.md. Remaining direct uses are explained in comments. - Run `DeleteCorruptAcsSnapshotTrigger` until the history is marked clean. It marks the history as free of corrupt snapshots while retrieving its tasks when there is nothing to delete, and then returns no task, so `runUntilTaskSucceeds` timed out on it. [ci] Signed-off-by: Simon Meier <simon@digitalasset.com>
Conflicts resolved:
- VERSION: keep staging's 0.11.0.
- PackageVersionSupport.scala:
- Take main's removal of the obsolete feature flags (supportsTokenStandard,
supportsDescriptionInTransferPreapprovals,
supportsConvertFeaturedAppActivityMarkerObservers,
supports24hSubmissionDelay, supportsExpireTransferInstructions,
supportsExpireAmuletAllocations, supportsTrafficBasedAppRewards).
Main removed their call sites as well; nothing in the merged tree uses
them anymore.
- Take main's new supportsAmuletAllocationV2 and getPreferredPackageIds.
- Keep staging's supportsSynchronizerNodeIdClaimsCheck: it was added on
staging by "Reject sequencer and mediator ids claimed by another SV"
(#8406) and does not exist on main.
- splice-participant/templates/participant.yaml and
compose/validator/compose.yaml: keep both sides, as the changes are
independent additions next to each other:
- staging's CANTON_PARTICIPANT_IDENTIFIER and manual-init env vars from
"Let Canton initialize the participant identity" (#8074)
- main's participant admin API auth config
- images/canton-participant/additional-config.conf:
- keep staging's participant auto-init block (#8074)
- keep main's admin API auth config
- do NOT re-add `canton.features.enable-repair-commands = yes`: staging
removed it deliberately in "Actually disable repair service by default"
(#8509), and it only appears on main's side because main does not have
that change.
- pulumi/common-validator/src/participant.ts:
- keep staging's nodeIdentifier and enableAutoInit chart values (#8074)
- take main's removal of participantValuesWithSpecifiedAud (main now
passes the ledger API audience via the participant values template),
so staging's additionalEnvVars line uses participantValues instead
Verified: `sbt compile Test/compile` passes, and `make update-expected`
produces no changes to cluster/expected.
[ci]
Signed-off-by: Simon Meier <simon@digitalasset.com>
[backport] ReminderPlease consider backporting to the following branches:
And your PR is currently against base branch: staging-0.11.0. Note: Any PR comment containing [backport] will be considered for auto-backporting upon merge, |
|
Deploy upgrade pipeline triggered for Commit 80dbe4dde0a84e73d4a3d66c18ade5b3f4f550d2 in , please contact a Contributor to approve it in CircleCI: https://app.circleci.com/pipelines/github/DACH-NY/canton-network-internal/89659 |
martinflorian-da
left a comment
There was a problem hiding this comment.
LGTM, thank you! Not sure why the LSU test failed though; plausibly unrelated.
Conflicts resolved:
staging by "Reject sequencer and mediator ids claimed by another SV"
(Reject sequencer and mediator ids claimed by another SV #8406) and does not exist on main.
compose/validator/compose.yaml: keep both sides, as the changes are
independent additions next to each other:
"Let Canton initialize the participant identity" (Let Canton initialize the participant identity #8074)
canton.features.enable-repair-commands = yes: stagingremoved it deliberately in "Actually disable repair service by default"
(Actually disable repair service by default #8509), and it only appears on main's side because main does not have
that change.
passes the ledger API audience via the participant values template),
so staging's additionalEnvVars line uses participantValues instead
Pull Request Checklist
Cluster Testing
/cluster_teston this PR to request it, and ping someone with access to the DA-internal system to approve it./upgrade_teston this PR to request it, and ping someone with access to the DA-internal system to approve it./lsu_teston this PR to request it, and ping someone with access to the DA-internal system to approve it.PR Guidelines
Fixes #n, and mention issues worked on using#nMerge Guidelines