Skip to content

test: cover agents mtime conflict path#776

Merged
memtomem merged 1 commit intomainfrom
fix/issue-773-agent-conflict-fixture
May 4, 2026
Merged

test: cover agents mtime conflict path#776
memtomem merged 1 commit intomainfrom
fix/issue-773-agent-conflict-fixture

Conversation

@memtomem
Copy link
Copy Markdown
Owner

@memtomem memtomem commented May 4, 2026

Summary

  • Add an HTTP-layer Agents route fixture for the stale mtime conflict path
  • Verify sync creates a runtime agent before externally bumping the canonical file mtime
  • Assert stale PUT returns 409 and does not overwrite the canonical agent

Closes #773

Tests

  • uv run pytest -m "not ollama" packages/memtomem/tests/test_web_routes_context.py

@memtomem memtomem merged commit e6e3a18 into main May 4, 2026
11 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators May 4, 2026
@memtomem memtomem deleted the fix/issue-773-agent-conflict-fixture branch May 4, 2026 15:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: backfill 409 conflict-path fixture for Phase C (Agents) sync route

2 participants