Skip to content

Add Makefile overrides for install kpt macro w/ retries#4

Merged
hellt merged 29 commits intomainfrom
kaelem-test
Jan 10, 2026
Merged

Add Makefile overrides for install kpt macro w/ retries#4
hellt merged 29 commits intomainfrom
kaelem-test

Conversation

@kaelemc
Copy link
Collaborator

@kaelemc kaelemc commented Jan 10, 2026

No description provided.

@kaelemc kaelemc changed the title kpt timeout testing kaelem testing Jan 10, 2026
@kaelemc kaelemc changed the title kaelem testing Add Makefile overrides for install kpt macro w/ retries Jan 10, 2026
@hellt hellt marked this pull request as ready for review January 10, 2026 23:16
Copilot AI review requested due to automatic review settings January 10, 2026 23:16
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds Makefile overrides to implement retry logic for kpt package installations in the GitHub Codespaces development environment. The changes aim to improve reliability when deploying to Kubernetes in potentially unstable codespace environments.

Changes:

  • Created new Makefile override file with retry logic for kpt live apply operations
  • Refactored container image pre-pulling from onCreate to postCreate phase
  • Updated devcontainer configuration with new environment variables and settings

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
.devcontainer/overrides.mk New file implementing INSTALL_KPT_PACKAGE macro with 5 retry attempts and 3-minute reconcile timeout
.devcontainer/postCreate.sh Added image pre-pulling logic and updated make command to use override file
.devcontainer/onCreate.sh Removed image pre-pulling logic (moved to postCreate)
.devcontainer/devcontainer.json Added environment variables, updated base image tag to test version, modified VS Code settings
.devcontainer/Dockerfile Changed to use specific version tag (v0.0.1) from forked repository
.devcontainer/shell/starship.toml Removed symbol configurations and disabled kubernetes module in shell prompt

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"containerEnv": {
"EDA_PORT": "9443"
"EDA_PORT": "9443",
"TRY_EDA_OVERRIDES_FILE": "/workspaces/codespaces/.devcontainer/overrides.mk",
Copy link

Copilot AI Jan 10, 2026

Choose a reason for hiding this comment

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

The hardcoded path "/workspaces/codespaces/.devcontainer/overrides.mk" assumes a specific workspace structure. Consider making this path configurable or using a relative path to improve portability.

Suggested change
"TRY_EDA_OVERRIDES_FILE": "/workspaces/codespaces/.devcontainer/overrides.mk",
"TRY_EDA_OVERRIDES_FILE": "${containerWorkspaceFolder}/.devcontainer/overrides.mk",

Copilot uses AI. Check for mistakes.
@hellt hellt merged commit 53518d9 into main Jan 10, 2026
1 check passed
@hellt hellt deleted the kaelem-test branch January 13, 2026 18:36
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