From b50793604eb7fcabf801c20a098a0f2c674868db Mon Sep 17 00:00:00 2001 From: Akanshu Aich Date: Tue, 3 Feb 2026 07:32:30 +0000 Subject: [PATCH 1/3] fix: added comment for temporary workaround for .devcontainer build --- .devcontainer/Dockerfile | 16 ++++++++++++++++ .devcontainer/devcontainer.json | 17 +++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index bfdee03..f5fd9df 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,3 +1,19 @@ +# TEMPORARY WORKAROUND: +# This removes the legacy Yarn APT repository to unblock Codespaces pre-builds +# failing with: +# EXPKEYSIG 23E7166788B63E1E Yarn Packaging +# +# Root cause: expired/invalid Yarn signing key in the default Microsoft +# devcontainer base image causing `apt-get update` to fail and abort +# devcontainer feature installation. +# +# Tracking: +# - https://2u-internal.atlassian.net/browse/BOMS-394 +# - https://2u-internal.atlassian.net/browse/BOMS-402 +# +# IMPORTANT: Revert this change after confirming the upstream image no longer +# includes the broken Yarn APT configuration. + FROM mcr.microsoft.com/devcontainers/universal:latest # Fix: remove legacy Yarn apt repo that can break apt-get update with EXPKEYSIG diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a0bced6..b3432d0 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,6 +2,23 @@ "hostRequirements": { "cpus": 8 }, + + /* TEMPORARY WORKAROUND: + This removes the legacy Yarn APT repository to unblock Codespaces pre-builds + failing with: + EXPKEYSIG 23E7166788B63E1E Yarn Packaging + + Root cause: expired/invalid Yarn signing key in the default Microsoft + devcontainer base image causing `apt-get update` to fail and abort + devcontainer feature installation. + + Tracking: + - https://2u-internal.atlassian.net/browse/BOMS-394 + - https://2u-internal.atlassian.net/browse/BOMS-402 + + IMPORTANT: Revert this change after confirming the upstream image no longer + includes the broken Yarn APT configuration.*/ + "build": { "dockerfile": "Dockerfile" }, From ffd7f764fd71d7e1f535f99623997c60a1c1ba58 Mon Sep 17 00:00:00 2001 From: Akanshu Aich Date: Tue, 3 Feb 2026 13:38:37 +0000 Subject: [PATCH 2/3] fix: added actual error log --- .devcontainer/Dockerfile | 2 ++ .devcontainer/devcontainer.json | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index f5fd9df..642c8ec 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,6 +1,8 @@ # TEMPORARY WORKAROUND: # This removes the legacy Yarn APT repository to unblock Codespaces pre-builds # failing with: +# GPG error: https://dl.yarnpkg.com/debian +# stable InRelease: The following signatures were invalid: # EXPKEYSIG 23E7166788B63E1E Yarn Packaging # # Root cause: expired/invalid Yarn signing key in the default Microsoft diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index b3432d0..9c15f4e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -6,7 +6,9 @@ /* TEMPORARY WORKAROUND: This removes the legacy Yarn APT repository to unblock Codespaces pre-builds failing with: - EXPKEYSIG 23E7166788B63E1E Yarn Packaging + GPG error: https://dl.yarnpkg.com/debian + stable InRelease: The following signatures were invalid: + EXPKEYSIG 23E7166788B63E1E Yarn Packaging Root cause: expired/invalid Yarn signing key in the default Microsoft devcontainer base image causing `apt-get update` to fail and abort From 29dc0bc8664a4c5f4cb6edc371c830471bcd7e17 Mon Sep 17 00:00:00 2001 From: Akanshu Aich Date: Tue, 3 Feb 2026 13:56:47 +0000 Subject: [PATCH 3/3] fix: removed comments from devcontainer.json --- .devcontainer/devcontainer.json | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 9c15f4e..a0bced6 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,25 +2,6 @@ "hostRequirements": { "cpus": 8 }, - - /* TEMPORARY WORKAROUND: - This removes the legacy Yarn APT repository to unblock Codespaces pre-builds - failing with: - GPG error: https://dl.yarnpkg.com/debian - stable InRelease: The following signatures were invalid: - EXPKEYSIG 23E7166788B63E1E Yarn Packaging - - Root cause: expired/invalid Yarn signing key in the default Microsoft - devcontainer base image causing `apt-get update` to fail and abort - devcontainer feature installation. - - Tracking: - - https://2u-internal.atlassian.net/browse/BOMS-394 - - https://2u-internal.atlassian.net/browse/BOMS-402 - - IMPORTANT: Revert this change after confirming the upstream image no longer - includes the broken Yarn APT configuration.*/ - "build": { "dockerfile": "Dockerfile" },