diff --git a/.github/workflows/canister-tests.yml b/.github/workflows/canister-tests.yml index a19fcd5f9f..c20555a08a 100644 --- a/.github/workflows/canister-tests.yml +++ b/.github/workflows/canister-tests.yml @@ -967,22 +967,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: ./.github/actions/setup-didc - - name: 'Get latest release' - uses: actions/github-script@v7 - id: latest-release-tag - with: - result-encoding: string - script: return (await github.rest.repos.getLatestRelease({owner:"dfinity", repo:"internet-identity"})).data.tag_name; - name: "Check canister interface compatibility" run: | - release="release-2024-05-13" - # undo the breaking changes that we _explicitly_ made - # remove after the next release - # if we accidentally introduced other breaking changes, the patch would no longer apply / fix them - # making this job fail. - if [ "${{ steps.latest-release-tag.outputs.result }}" == "$release" ]; then - echo "Rolling back intentionally made breaking changes $release" - git apply allowed_breaking_change.patch - fi curl -sSL https://github.com/dfinity/internet-identity/releases/latest/download/internet_identity.did -o internet_identity_previous.did didc check src/internet_identity/internet_identity.did internet_identity_previous.did diff --git a/allowed_breaking_change.patch b/allowed_breaking_change.patch deleted file mode 100644 index 35e2dae5b7..0000000000 --- a/allowed_breaking_change.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/src/internet_identity/internet_identity.did b/src/internet_identity/internet_identity.did -index 0164427a..f8aa40a1 100644 ---- a/src/internet_identity/internet_identity.did -+++ b/src/internet_identity/internet_identity.did -@@ -542,6 +542,11 @@ service : (opt InternetIdentityInit) -> { - fetch_entries: () -> (vec BufferedArchiveEntry); - acknowledge_entries: (sequence_number: nat64) -> (); - -+ // Calls used for event stats housekeeping. -+ // Only callable by the canister itself. -+ prune_events_if_necessary: () -> (); -+ inject_prune_event: (timestamp: Timestamp) -> (); -+ - // V2 API - // WARNING: The following methods are experimental and may change in the future. -