Repository navigation
Make release entrypoint activation crash consistent - #623
Closed
GraciousGazelles wants to merge 11 commits into
Closed
GraciousGazelles wants to merge 11 commits into
GraciousGazelles wants to merge 11 commits into
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
| for executable, contents in previous_visible.items(): | ||
| visible = visible_bin / executable | ||
| if failure == "activation_sigterm": | ||
| visible.symlink_to(current / executable) |
| ) | ||
| if failure == "activation_backups_symlink": | ||
| self.assertTrue(backups.is_symlink()) | ||
| self.assertEqual(list(external_backups.iterdir()), []) |
| self.assertIn("unsafe stale custody directory", proc.stderr) | ||
| self.assertTrue((stale / "saved").is_symlink()) | ||
| self.assertEqual( | ||
| (external_saved / "codex").read_text(encoding="utf-8"), |
| self.assertIn("unsafe stale custody directory", proc.stderr) | ||
| self.assertTrue((stale / "candidate").is_symlink()) | ||
| self.assertEqual( | ||
| (external_candidate / "partial").read_text(encoding="utf-8"), |
| self.terminate_installer_process_group(second) | ||
| self.assertIsNotNone(second) | ||
| self.assertEqual(first.returncode, 0, first_stderr) | ||
| self.assertEqual(second.returncode, 0, second_stderr) |
| self.assertEqual(first.returncode, 0, first_stderr) | ||
| self.assertEqual(second.returncode, 0, second_stderr) | ||
| proc = subprocess.CompletedProcess( | ||
| command, second.returncode, second_stdout, second_stderr |
| (stale / "saved" / "codex").read_text(encoding="utf-8"), | ||
| previous_visible["codex"], | ||
| ) | ||
| self.assertTrue(collision.is_dir()) |
| def terminate_installer_process_group(process: subprocess.Popen[str]) -> None: | ||
| try: | ||
| os.killpg(process.pid, signal.SIGKILL) | ||
| except ProcessLookupError: |
| except subprocess.TimeoutExpired: | ||
| try: | ||
| os.killpg(process.pid, signal.SIGKILL) | ||
| except ProcessLookupError: |
Collaborator
Author
|
Superseded predecessor notice: this pull request is being closed unmerged because its installer activation and custody work was rebuilt in #642. The successor merged at 2a552f0 and is contained in current main at 76145a1. This is a lifecycle disposition only; it makes no claim of byte-for-byte equivalence. The original branch and exact head 1b0d109 are preserved. |
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
current/<executable>links on a completed first installfcntl.flock, including parent-death lock releaseHOME, release paths/files, and stale/live custody directoriesValidation
493c1724c9d83585de08a44b3a4f69102a5de193bash -n scripts/install_sedna_release_assetpython3 -m py_compile .github/scripts/test_ci_planners.py.github/scripts/validation-lanes/downstream-docs-check.shgit diff --check