-
Notifications
You must be signed in to change notification settings - Fork 10.2k
fix: derive plan path from feature.json in update-agent-context #3069
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
Open
amirreza225
wants to merge
27
commits into
github:main
Choose a base branch
from
amirreza225:fix/3067-feature-json-plan-path
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+359
−29
Open
Changes from 24 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
c13dfbc
fix: derive plan path from feature.json in update-agent-context
amirreza225 0710d12
fix: address Copilot review feedback on update-agent-context
amirreza225 6f302a3
Potential fix for pull request finding
amirreza225 780d19a
test: replace time.sleep with os.utime and strengthen PS normalizatio…
amirreza225 1a723d4
Apply suggestions from code review
amirreza225 5d30c89
Potential fix for pull request finding
amirreza225 9dc0172
fix: normalize trailing slash and guard non-string feature_directory …
amirreza225 19d475d
Fix: use .resolve().as_posix().
amirreza225 8de30cc
fix: use context manager for feature.json open() in bash heredoc
amirreza225 85ed168
test: add PS coverage for absolute feature_directory outside project …
amirreza225 900b98f
fix: guard null feature_directory, re-check empty after trailing-slas…
amirreza225 90cf965
test: add stale plan to absolute-path tests so feature.json preferenc…
amirreza225 ad51464
test: convert absolute paths to MSYS2 style for Git-for-Windows bash …
amirreza225 a73e611
fix: revert PS test to native path, fix bash outside-root assertion f…
amirreza225 1e75990
fix: use _to_bash_path in not-in assertion for Git bash Windows compat
amirreza225 5f7a1d9
fix: add ConvertFrom-Json fallback in PS script, write test config as…
amirreza225 db5e8ac
fix: use OS-appropriate StringComparison in PS prefix-strip (matches …
amirreza225 92ad472
fix: emit project-relative POSIX path from mtime fallback; use upstre…
amirreza225 2e8f99e
fix: write config as JSON directly, drop _install_agent_context_config
amirreza225 94f714b
fix: normalize backslashes to forward slashes in feature_directory be…
amirreza225 0cf914d
fix: treat drive-qualified paths (C:/...) as absolute after backslash…
amirreza225 d98c55e
fix: resolve symlinks when computing relative plan path; use UTF8 enc…
amirreza225 d16e485
fix: use bash-side path for outside-root case to avoid WindowsPath ba…
amirreza225 3c67851
fix: use .as_posix() instead of PurePosixPath() to avoid backslashes …
amirreza225 91b672e
fix: resolve ./.. segments in PS feature_directory via GetFullPath be…
amirreza225 45cd965
fix: replace $IsWindows guard with OSVersion.Platform check for PS 5.…
amirreza225 b153b66
fix: guard empty relDir to avoid leading slash in PlanPath when featu…
amirreza225 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.