Skip to content

test: tie the E2E stale-snapshot case to OWNED_MAX_AGE_MINUTES - #14348

Merged
teamleaderleo merged 1 commit into
mainfrom
ci/e2e-owned-age-test
Sep 25, 2026
Merged

teamleaderleo merged 1 commit into
mainfrom
ci/e2e-owned-age-test

Conversation

@teamleaderleo

@teamleaderleo teamleaderleo commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

#14341 raised OWNED_MAX_AGE_MINUTES from 20 to 45. tests/test_run_e2e.py still hard-codes age=30 for its "snapshot too old" case, so that snapshot now counts as fresh and the test fails. That turns guards / workflow-guard-tests / app-host-execution red on main and on PRs (for example, #14338 and #14346).

The case now uses OWNED_MAX_AGE_MINUTES + 1.

Tests: python3 -m unittest tests.test_run_e2e (101) passes.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Summary by cubic

Ties the E2E stale-snapshot test case to the actual OWNED_MAX_AGE_MINUTES constant so the test stays valid when the value changes. Previously the test hard-coded age 30, which broke after OWNED_MAX_AGE_MINUTES was raised to 45.

Written for commit 3dfc85f. Summary will update on new commits.

Review in cubic

Summary by CodeRabbit

  • Tests
    • Updated the owned-pool routing test to check snapshots against the configured maximum age plus one minute.

#14341 raised OWNED_MAX_AGE_MINUTES from 20 to 45, so a 30 minute old
snapshot is now fresh enough and the "snapshot too old" case in
test_run_e2e takes the owned Mac, failing app-host-execution guards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@coderabbitai

coderabbitai Bot commented Sep 25, 2026

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Repository: manaflow-ai/cmux/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 3c4c2505-981e-4e2a-b3f2-9bc7a16fb01c

📥 Commits

Reviewing files that changed from the base of the PR and between e20651a and 3dfc85f.

📒 Files selected for processing (1)
  • tests/test_run_e2e.py
 ________________________________________________________________________________
< This conditional is a choose-your-own-adventure where every choice is 'panic'. >
 --------------------------------------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@teamleaderleo
teamleaderleo merged commit 359f14c into main Sep 25, 2026
41 of 43 checks passed
@teamleaderleo
teamleaderleo deleted the ci/e2e-owned-age-test branch September 25, 2026 02:14
rustybret pushed a commit to rustybret/bmux that referenced this pull request Sep 25, 2026
cbe0bd9 ci: seed the macOS 15 pool with its own Xcode (manaflow-ai#14315)
5fab6f5 refactor: move CmuxWebView into CmuxBrowser behind an injected host (manaflow-ai#14321)
8475872 Merge pull request manaflow-ai#14335 from manaflow-ai/13458-safe-device-rollout
2f7bd16 fix(ios): accept the Mac's push key exchange (device id) and allow Simulator push verification (manaflow-ai#14292)
fd66cc7 ci: give an owned Mac's second compile slot its own canonical root (manaflow-ai#14338)
af4097b ci: build cmuxTests without the compilation cache so it rebuilds incrementally (manaflow-ai#14349)
fe61107 ci: replay input times onto an owned Mac's kept DerivedData (manaflow-ai#14346)
f7b8848 Freeze the historical socket migration in the rollback fixture
73c3a07 fix(web): store sandbox for production-bundle installs that declare it (manaflow-ai#14296)
c04616b Merge remote-tracking branch 'origin/main' into 13458-safe-device-rollout
459d89c ci: read the owned pools' free machines live through the org route App (manaflow-ai#14350)
2b7afe3 ci: give the iOS upload workflows the R2 cache URL (manaflow-ai#14347)
359f14c test: tie the E2E stale-snapshot case to OWNED_MAX_AGE_MINUTES (manaflow-ai#14348)
1fcef82 Update CI guard expectations and require the passing layout regression
9b5a251 Merge remote-tracking branch 'origin/main' into 13458-safe-device-rollout
60ab69a Exercise remote mirror pane replacement in the workspace regression
7a0ba5d Merge remote-tracking branch 'origin/main' into 13458-safe-device-rollout
1649314 Preserve remote Mac workspaces across sidebar creation and pane replacement
52fec11 Observe asynchronous remote cleanup in the creation regression
a93af4d Reproduce remote workspace deletion when its local placeholder is replaced
bc0a0ad Test sidebar workspace creation preserves the remote Mac target
93aff4d ci: quote development Worker revision arguments
24475c2 Merge remote-tracking branch 'origin/main' into 13458-safe-device-rollout
57331a9 fix: make Devices rollout preserve SQLite rollback compatibility
448eeb2 test: reproduce unsafe Devices rollout assumptions

# Conflicts:
#	.github/workflows/ci-guards.yml
#	.github/workflows/ci-macos.yml
#	.github/workflows/ci.yml
#	.github/workflows/ios-appstore-upload.yml
#	.github/workflows/ios-testflight.yml
#	.github/workflows/iroh-v2-production-drift.yml
#	.github/workflows/iroh-v2.yml
#	.github/workflows/seed-derived-data.yml
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