feat(codespace): add Azure CLI devcontainer and az login guide#3
Merged
Conversation
Students opening the assignment in GitHub Codespaces now get the Azure CLI pre-installed via the devcontainer features spec. AZURE_LOGIN.md provides a step-by-step device-code login walkthrough and troubleshooting tips for Task 3 (Blob Storage upload), removing the dependency on Week 1 local setup. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds Codespaces support for Week 2 by provisioning Azure CLI in the devcontainer and providing a step-by-step Azure login guide intended to help students complete Task 3 (Blob Storage upload) without local setup.
Changes:
- Added
AZURE_LOGIN.mdwithaz login --use-device-codewalkthrough and troubleshooting tips. - Updated
.devcontainer/devcontainer.jsonto install Azure CLI via devcontainer features and configure Python/Ruff VS Code extensions + format-on-save. - Simplified
postCreateCommandto install Task 1 Python dependencies.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
AZURE_LOGIN.md |
New documentation for authenticating to Azure (device code flow + troubleshooting). |
.devcontainer/devcontainer.json |
Adds Azure CLI feature and updates editor/dev setup for Codespaces. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Match python3 -m pip convention used in README and .hyf/test.sh - Add AZURE_LOGIN.md reference to Task 3 row in README so students landing directly in the repo can find the login instructions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.devcontainer/devcontainer.json— installs the Azure CLI via the devcontainers feature registry, plus Python, Pylance, and Ruff extensions with format-on-save enabledAZURE_LOGIN.md— step-by-step device-code login walkthrough (az login --use-device-code) with troubleshooting for common errors (wrong tenant, missing RBAC role, expired code)Students who click "Open in Codespaces" can now complete Task 3 (Blob Storage upload) without any local setup from Week 1. The assignment instructions reference
AZURE_LOGIN.mddirectly.Test plan
az --version— should print a version numberaz login --use-device-code— should prompt with a device code URLsthyfstudentsdemo🤖 Generated with Claude Code