Skip to content
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

[6/7] feat(test): report PrepareWorkingDirectoryError reason #1357

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

@arxanas arxanas changed the title feat(test): report PrepareWorkingDirectoryError reason [6/6] feat(test): report PrepareWorkingDirectoryError reason Jun 30, 2024
@arxanas arxanas changed the base branch from master to arxanas/feat-submit-phabricator-pass-allow-untracked-to-arc June 30, 2024 20:39
@arxanas arxanas changed the title [6/6] feat(test): report PrepareWorkingDirectoryError reason [6/7] feat(test): report PrepareWorkingDirectoryError reason Jun 30, 2024
Base automatically changed from arxanas/feat-submit-phabricator-pass-allow-untracked-to-arc to master July 2, 2024 14:47
@arxanas arxanas force-pushed the arxanas/feat-test-report-prepareworkingdirectoryerror-reason branch 2 times, most recently from 3b9b417 to 3e55e79 Compare July 6, 2024 18:38
It seems easier for contributors to get started if the compiler version is already configured; plus, this will presumably make it so that I don't have to set the Rust version with `rustup override` whenever I create a new worktree.
This should have been done from the beginning, since we operate on these symbols in several places for formatting. This would also help a migration away from `cursive`, since now only two modules have direct dependencies on `cursive`/`cursive_core`:

- git-branchless-lib for general output formatting.
- git-branchless-undo for the interactive undo UI.
Currently, `git submit` for Phabricator will abort the entire operation if any commit fails to be submitted. This means that if `arc diff` succeeds on one commit and then fails on its child, the entire operation is aborted. However, the first `arc diff` had side effects, so the user gets diffs uploaded to Phabricator that are not reflected locally. Instead, we should confirm any passing commits and abort after we get a failing commit. This commit updates the Phabricator forge to handle the error case better and not produce garbage commits on Phabricator.
@arxanas arxanas force-pushed the arxanas/feat-test-report-prepareworkingdirectoryerror-reason branch from 3e55e79 to 0552f9c Compare August 9, 2024 01:37
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.

1 participant