-
Notifications
You must be signed in to change notification settings - Fork 133
IEP-1594: Package github-copilot plugins with the Espressif-IDE #1331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
WalkthroughAdded org.eclipse.terminal and com.microsoft.copilot installable units to the target definition and added corresponding for both features in the feature.xml; the Copilot InstallableUnit appears twice in the target file. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant TargetDef as Target Definition
participant AzureRepo as Azure Repo (github-copilot)
participant EclipseRepo as Eclipse Update Site
participant Planner as Target Planner
participant Eclipse as Eclipse Target
Note over TargetDef: New InstallableUnit locations added
AzureRepo->>TargetDef: metadata for com.microsoft.copilot.eclipse.feature (0.0.0)
EclipseRepo->>TargetDef: metadata for org.eclipse.terminal.feature (0.0.0)
TargetDef->>Planner: includeMode="planner", includeConfigurePhase="true"
Planner->>Eclipse: populate target with referenced features
Note right of Eclipse: Features referenced also added to feature.xml includes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
releng/com.espressif.idf.target/com.espressif.idf.target.target (1)
116-116: Consider pinning the Copilot plugin version for reproducible builds.The Copilot feature uses
version="0.0.0", which resolves to the latest available version. While this ensures you get the newest features, it can lead to:
- Non-reproducible builds across different environments or times
- Unexpected breaking changes when new versions are released
- Difficulty troubleshooting issues specific to a version
Other dependencies in this file use specific version constraints (e.g., embedcdt at line 78-81 uses version
6.4.0.202307251916).Consider pinning to a specific version once you've tested and validated a particular release:
- <unit id="com.microsoft.copilot.eclipse.feature.feature.group" version="0.0.0"/> + <unit id="com.microsoft.copilot.eclipse.feature.feature.group" version="[specific.version]"/>To find the available versions, query the repository metadata or check Microsoft's release notes for the Eclipse plugin.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
releng/com.espressif.idf.target/com.espressif.idf.target.target(3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: build_windows
- GitHub Check: build
🔇 Additional comments (2)
releng/com.espressif.idf.target/com.espressif.idf.target.target (2)
5-5: Document and verify disabling of the p2 configure phase
- Two existing
<location>entries were changed fromincludeConfigurePhase="true"tofalse.- Disabling the configure phase may skip essential setup steps for core Eclipse and CDT components.
- Update the PR description with the rationale and test results, and confirm existing plugins initialize correctly.
114-117: ****The Azure CDN repository URL is the official Microsoft/GitHub distribution channel for Copilot in Eclipse, as confirmed by Microsoft's documentation. The 404 errors from the curl tests are not problematic—p2 repositories do not expose directory listings to arbitrary requests.
The concerns about third-party hosting and security review are unfounded. The version
0.0.0is the correct Eclipse p2 notation for fetching the latest version, and no additional verification is required.Likely an incorrect or invalid review comment.
… updated the target definitions
| </url> | ||
|
|
||
| <includes id="com.microsoft.copilot.eclipse.feature" version="0.0.0"/> | ||
| <includes id="org.eclipse.terminal.feature" version="0.0.0"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
org.eclipse.terminal.feature - how does this help?
|
Hi @alirana01 can you check the error message |
|
Given our future plans with Eclipse, we can probably avoid this to prevent maintenance issues. If any user needs GitHub Copilot, they can always install the latest or supported version compatible with the Espressif IDE. |
|
Hence taking out from the 4.0.0 release milestone |
Description
Package github-copilot plugins with the Espressif-IDE. It requires some additional packages so trying to see if adding it to target definition can bring those dependencies to the end product.
Fixes # (IEP-1594)
Type of change
Please delete options that are not relevant.
Checklist
Summary by CodeRabbit
New Features
Chores