Skip to content

Conversation

@sachinh-amazon
Copy link
Contributor

Issue

D383171768 in Taskei, P369003901 in T-corp

Description of Changes

This PR makes the following two changes:

  1. The Docker image used by SageMaker to run Code Editor has a GLIBC version 2.36. ubuntu-latest translates to ubuntu24 and it has GLIBC version 2.38. Because of this mismatch in GLIBC version, @parcel/watcher fails to load and crashes Code Editor. Building on ubuntu22.04 fixes this issue.
  2. For Git-based workspaces, the chmodSync command in _handlePostStartupScriptInvocation fails with EPERM Insufficient permissions. The script /etc/sagemaker-ui/sagemaker_ui_post_startup.sh does not require updating permissions as it already is an executable. The updated patch first checks if the script is executable or not and only executes the chmod command if the script is not an executable.

Testing

The build works as expected. Ran the build on my fork: https://github.com/sachinh-amazon/code-editor/actions/runs/21401288330

Screenshots/Videos

Deployed on my AWS account and verified that Git-based workspaces open, which were throwing an error before.

Screen.Recording.2026-01-27.at.16.27.25.mov

Additional Notes

Backporting

Yes, this change will also be merged in the main branch.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@sachinh-amazon sachinh-amazon requested review from a team as code owners January 27, 2026 15:37
Copy link
Contributor

@feiyangliu2023 feiyangliu2023 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants