mystack-rig 1.6.0__tar.gz → 1.6.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/PKG-INFO +1 -1
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/remote_dev.py +25 -1
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/mystack_rig.egg-info/PKG-INFO +1 -1
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/mystack_rig.egg-info/scm_version.json +2 -2
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_remote_dev_coverage_extensions.py +1 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_setup_provision.py +25 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_snapshots.py +56 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/.coveragerc +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/.git-blame-ignore-revs +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/.github/workflows/release.yml +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/.github/workflows/tests.yml +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/.gitignore +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/.rig/playbooks/README.md +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/.rig/playbooks/vpn-gateway.yml +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/CLI_STORAGE_SUMMARY.md +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/Dockerfile +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/GIT_CLONE_FEATURE.md +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/GLOSSARY.md +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/HETZNER_STORAGE_GUIDE.md +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/HETZNER_STORAGE_SECURITY_GUIDE.md +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/LICENSE +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/Makefile +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/README.md +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/README_REAL_E2E.md +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/STORAGE_CLI_GUIDE.md +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/docs/adr/0001-per-profile-generated-state-bucket.md +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/docs/adr/0002-outputs-as-separate-object-via-file-handoff.md +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/docs/adr/0003-mcp-servers-declared-once-rendered-at-authorize.md +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/docs/adr/0004-agents-run-as-live-agents-in-tmux.md +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/docs/adr/0005-docker-in-configure-for-devcontainers.md +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/docs/architecture.md +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/docs/architecture.png +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/docs/architecture.svg +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/forged-idea.md +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/pyproject.toml +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/pytest.ini +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/requirements.txt +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/sample.env +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/scripts/coverage_badge.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/scripts/pypi_version.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/setup.cfg +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/__init__.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/__init__.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/__main__.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/agents.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/ansible_filters/__init__.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/ansible_filters/rig_live.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/ansible_filters/rig_mcp.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/assets/rig-agent-queue +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/assets/rig-agent-state +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/assets/tmux.conf +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/config.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/devcontainers.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/encrypt.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/git.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/git_author.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/last_env.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/last_session.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/last_target.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/live_agent.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/log.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/main.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/mcp.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/outputs.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/requirements.txt +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/snapshots.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/state_bucket.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/storage.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/vault_keys.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/cli/vpn.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/mystack_rig.egg-info/SOURCES.txt +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/mystack_rig.egg-info/dependency_links.txt +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/mystack_rig.egg-info/entry_points.txt +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/mystack_rig.egg-info/requires.txt +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/mystack_rig.egg-info/scm_file_list.json +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/src/mystack_rig.egg-info/top_level.txt +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/test_hetzner_integration.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/conftest.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_agents.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_ansible_galaxy.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_attach_command.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_credential_security.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_destroy_command.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_dev_command.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_devcontainers.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_encrypt_command.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_encrypt_coverage.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_firewall_client_ip.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_git_clone_unit.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_git_credentials_and_author.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_git_manager.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_gitignore_init.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_hetzner_storage.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_init_command.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_inspect_describe.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_last_env.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_last_session.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_last_target.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_live_agent.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_live_agent_cli.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_log.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_main_coverage.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_mcp_command.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_mcp_render.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_outputs.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_outputs_storage.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_pypi_version.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_python_floor.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_r2_storage.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_real_e2e_integration.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_real_e2e_storage.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_real_e2e_vpn.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_real_e2e_vpn_tunnel.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_remote_dev.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_rig_ansible_vars.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_rig_config.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_secret_prompt_hidden.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_simulation_storage.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_small_module_coverage.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_state_bucket.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_storage_basic.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_vault_keys.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_vpn_optional.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_vpn_unit.py +0 -0
- {mystack_rig-1.6.0 → mystack_rig-1.6.1}/tests/test_workspace_git_clone.py +0 -0
|
@@ -2528,6 +2528,10 @@ class RemoteDevEnvironment:
|
|
|
2528
2528
|
agent_type=inputs.get("agent_type"),
|
|
2529
2529
|
)
|
|
2530
2530
|
|
|
2531
|
+
if not self.flush_disk():
|
|
2532
|
+
log.warning("Skipping snapshot %s: could not flush the disk first", description)
|
|
2533
|
+
return False
|
|
2534
|
+
|
|
2531
2535
|
try:
|
|
2532
2536
|
image = self.manager.create_snapshot(
|
|
2533
2537
|
str(self.vm_id),
|
|
@@ -3257,6 +3261,24 @@ echo "Agent installation complete!"
|
|
|
3257
3261
|
timeout=timeout,
|
|
3258
3262
|
)
|
|
3259
3263
|
|
|
3264
|
+
def flush_disk(self, *, timeout: int = 120) -> bool:
|
|
3265
|
+
"""Flush the VM's dirty pages to disk, so a snapshot of it is consistent.
|
|
3266
|
+
|
|
3267
|
+
Hetzner snapshots a running server's disk as it is, and ext4 can hold
|
|
3268
|
+
a new file's contents in memory for ~30s after journaling that it exists.
|
|
3269
|
+
"""
|
|
3270
|
+
if not self.vm_ip:
|
|
3271
|
+
return False
|
|
3272
|
+
try:
|
|
3273
|
+
result = self.run_remote("sync && sync", timeout=timeout, connect_timeout=15)
|
|
3274
|
+
except (OSError, subprocess.SubprocessError) as exc:
|
|
3275
|
+
log.warning("Could not flush the disk of %s: %s", self.name, exc)
|
|
3276
|
+
return False
|
|
3277
|
+
if result.returncode != 0:
|
|
3278
|
+
log.warning("Could not flush the disk of %s: %s", self.name, (result.stderr or "").strip())
|
|
3279
|
+
return False
|
|
3280
|
+
return True
|
|
3281
|
+
|
|
3260
3282
|
# --- live agents -------------------------------------------------------
|
|
3261
3283
|
|
|
3262
3284
|
def live_agents(self, *, connect_timeout: int = 10) -> list[LiveAgent] | None:
|
|
@@ -4141,6 +4163,7 @@ AUTHORIZE_PLAYBOOK = r"""---
|
|
|
4141
4163
|
# --- Skip first-run prompts (theme picker, login wizard, folder trust) ---
|
|
4142
4164
|
# Runs on every create (authorize is never snapshotted) and merges into any
|
|
4143
4165
|
# existing file: the installer can create ~/.claude.json before we get here.
|
|
4166
|
+
# A file can be empty (a snapshot taken before its contents reached disk): read it as {}.
|
|
4144
4167
|
- name: Ensure Claude config directory exists for seeding
|
|
4145
4168
|
file:
|
|
4146
4169
|
path: /root/.claude
|
|
@@ -4171,7 +4194,8 @@ AUTHORIZE_PLAYBOOK = r"""---
|
|
|
4171
4194
|
| map(attribute='item.item') | zip(
|
|
4172
4195
|
_claude_state_contents.results | default([])
|
|
4173
4196
|
| map(attribute='content')
|
|
4174
|
-
| map('b64decode') | map('
|
|
4197
|
+
| map('b64decode') | map('trim') | map('default', '{}', true)
|
|
4198
|
+
| map('from_json')) ) }}
|
|
4175
4199
|
_ws: "{{ workspace_root | default('/workspace') }}"
|
|
4176
4200
|
_state_seed:
|
|
4177
4201
|
hasCompletedOnboarding: true
|
|
@@ -1035,6 +1035,7 @@ class TestRemoteDevEnvironmentMore:
|
|
|
1035
1035
|
env.vm_id = "vm1"
|
|
1036
1036
|
env.manager = MagicMock()
|
|
1037
1037
|
env.manager.create_snapshot.return_value = {"id": "img"}
|
|
1038
|
+
env.flush_disk = MagicMock(return_value=True)
|
|
1038
1039
|
# Patch helpers in-place — never replace sys.modules["cli.snapshots"].
|
|
1039
1040
|
monkeypatch.setattr("cli.snapshots.package_version", lambda: "0")
|
|
1040
1041
|
monkeypatch.setattr(
|
|
@@ -1177,3 +1177,28 @@ def test_authorize_fails_loudly_on_an_invalid_mcp_json(tmp_path):
|
|
|
1177
1177
|
_root, result = _run_authorize_mcp_tasks(tmp_path, {"mcpServers": {"a": {}}}, ["claude"])
|
|
1178
1178
|
assert result.returncode != 0
|
|
1179
1179
|
assert "exactly one of" in result.stdout + result.stderr
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
def test_authorize_treats_empty_claude_state_files_as_empty_json():
|
|
1183
|
+
"""A snapshot can hold a 0-byte settings.json; seeding must merge into {}."""
|
|
1184
|
+
import base64
|
|
1185
|
+
|
|
1186
|
+
import yaml
|
|
1187
|
+
|
|
1188
|
+
pytest.importorskip("ansible")
|
|
1189
|
+
from ansible.parsing.dataloader import DataLoader
|
|
1190
|
+
from ansible.template import Templar, trust_as_template
|
|
1191
|
+
|
|
1192
|
+
from cli.remote_dev import AUTHORIZE_PLAYBOOK
|
|
1193
|
+
|
|
1194
|
+
tasks = yaml.safe_load(AUTHORIZE_PLAYBOOK)[0]["tasks"]
|
|
1195
|
+
seed = next(t for t in tasks if t.get("name", "").startswith("Seed Claude Code onboarding"))
|
|
1196
|
+
results = [
|
|
1197
|
+
{"item": {"item": "/root/.claude/settings.json"}, "content": ""},
|
|
1198
|
+
{"item": {"item": "/root/.claude.json"}, "content": base64.b64encode(b'{"a": 1}').decode()},
|
|
1199
|
+
]
|
|
1200
|
+
templar = Templar(loader=DataLoader(), variables={"_claude_state_contents": {"results": results}})
|
|
1201
|
+
assert templar.template(trust_as_template(seed["vars"]["_existing"])) == {
|
|
1202
|
+
"/root/.claude/settings.json": {},
|
|
1203
|
+
"/root/.claude.json": {"a": 1},
|
|
1204
|
+
}
|
|
@@ -308,6 +308,7 @@ def test_snapshot_after_playbook_only_after_configure(tmp_path):
|
|
|
308
308
|
env = RemoteDevEnvironment(name="dev-x")
|
|
309
309
|
env.vm_id = 99
|
|
310
310
|
env.manager.create_snapshot = MagicMock(return_value={"id": 1})
|
|
311
|
+
env.flush_disk = MagicMock(return_value=True)
|
|
311
312
|
|
|
312
313
|
# provision alone does not snapshot.
|
|
313
314
|
assert env._snapshot_after_playbook("provision", project) is True
|
|
@@ -742,3 +743,58 @@ def test_system_hash_follows_provision_and_configure_playbooks(tmp_path):
|
|
|
742
743
|
base = system_content_hash(project_dir=str(tmp_path))
|
|
743
744
|
(rig / "configure.yml").write_text("# c2\n")
|
|
744
745
|
assert system_content_hash(project_dir=str(tmp_path)) != base
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
def _snapshot_project(tmp_path):
|
|
749
|
+
(tmp_path / "rig.yml").write_text("name: demo\nkind: workspace\nagent:\n type: opencode\n")
|
|
750
|
+
(tmp_path / ".rig").mkdir()
|
|
751
|
+
for name in ("provision", "configure", "materialize"):
|
|
752
|
+
(tmp_path / ".rig" / f"{name}.yml").write_text("---\n")
|
|
753
|
+
|
|
754
|
+
from cli.remote_dev import ProjectConfig
|
|
755
|
+
|
|
756
|
+
project = ProjectConfig(str(tmp_path))
|
|
757
|
+
assert project.load()
|
|
758
|
+
return project
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
def test_snapshot_flushes_the_disk_before_creating_the_image(tmp_path):
|
|
762
|
+
project = _snapshot_project(tmp_path)
|
|
763
|
+
env = RemoteDevEnvironment(name="dev-x")
|
|
764
|
+
env.vm_id = 99
|
|
765
|
+
calls = MagicMock()
|
|
766
|
+
env.flush_disk = calls.flush
|
|
767
|
+
calls.flush.return_value = True
|
|
768
|
+
env.manager.create_snapshot = calls.create
|
|
769
|
+
calls.create.return_value = {"id": 1}
|
|
770
|
+
|
|
771
|
+
assert env._snapshot_after_playbook("configure", project) is True
|
|
772
|
+
assert [c[0] for c in calls.mock_calls] == ["flush", "create"]
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
def test_snapshot_is_skipped_when_the_disk_cannot_be_flushed(tmp_path):
|
|
776
|
+
project = _snapshot_project(tmp_path)
|
|
777
|
+
env = RemoteDevEnvironment(name="dev-x")
|
|
778
|
+
env.vm_id = 99
|
|
779
|
+
env.flush_disk = MagicMock(return_value=False)
|
|
780
|
+
env.manager.create_snapshot = MagicMock(return_value={"id": 1})
|
|
781
|
+
|
|
782
|
+
assert env._snapshot_after_playbook("configure", project) is False
|
|
783
|
+
env.manager.create_snapshot.assert_not_called()
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
def test_flush_disk_runs_sync_on_the_vm():
|
|
787
|
+
env = RemoteDevEnvironment(name="dev-x")
|
|
788
|
+
env.vm_ip = "198.51.100.7"
|
|
789
|
+
env.run_remote = MagicMock(return_value=MagicMock(returncode=0, stderr=""))
|
|
790
|
+
assert env.flush_disk() is True
|
|
791
|
+
assert env.run_remote.call_args.args[0].split()[0] == "sync"
|
|
792
|
+
|
|
793
|
+
env.run_remote.return_value = MagicMock(returncode=255, stderr="refused")
|
|
794
|
+
assert env.flush_disk() is False
|
|
795
|
+
|
|
796
|
+
env.run_remote.side_effect = OSError("no ssh")
|
|
797
|
+
assert env.flush_disk() is False
|
|
798
|
+
|
|
799
|
+
env.vm_ip = None
|
|
800
|
+
assert env.flush_disk() is False
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mystack_rig-1.6.0 → mystack_rig-1.6.1}/docs/adr/0002-outputs-as-separate-object-via-file-handoff.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mystack_rig-1.6.0 → mystack_rig-1.6.1}/docs/adr/0005-docker-in-configure-for-devcontainers.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|