[PR #1527] [MERGED] test(long-term-memory): wait for the status and scope queries in the browser suite #1528

Closed
opened 2026-10-22 04:03:09 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1527
Author: @Promansis
Created: 10/21/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @Promansis

Base: staging ← Head: fix(long-term-memory)/browser-suite-status-races


📝 Commits (2)

  • fd7a225 test(long-term-memory): wait for the status and scope queries in the browser suite (#1525)
  • df897ae Merge upstream/staging into fix(long-term-memory)/browser-suite-status-races

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

📝 tests/long-term-memory-browser.regression.ts (+4 -1)

📄 Description

Pull request

Linked issue

Closes #1525

Why this change

  • The Long-Term Memory browser suite fails now and then on a slow or busy machine. Two assertions read the page right after a surface appears, before the request that fills it has answered: the setup guide depends on /status, and the vault's place picker depends on /scope-targets. The product is correct in both cases; only the test is early. The same race on the vault health pill was fixed in #1521.

What changed

  • tests/long-term-memory-browser.regression.ts: wait for the setup guide to reopen after a reload instead of counting it at once, and wait for the place picker to show the current chat before reading it.
  • No package code, generated bundle, artifact or catalog change.

Package and security impact

  • Affected package IDs: none (long-term-memory browser regression suite only)
  • Engine compatibility impact: none
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • In a local copy of the suite that delays /status or /scope-targets by 1.5 s, each of the two assertions fails every time without its wait (0 !== 1 for the guide, "All" for the place) and passes with it. The copy is not part of this PR.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/1527 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/21/2026 **Status:** ✅ Merged **Merged:** 10/21/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `fix(long-term-memory)/browser-suite-status-races` --- ### 📝 Commits (2) - [`fd7a225`](https://github.com/Pasta-Devs/Marinara-Agents/commit/fd7a2250d8307a854ace9250c0d5615a5d309c73) test(long-term-memory): wait for the status and scope queries in the browser suite (#1525) - [`df897ae`](https://github.com/Pasta-Devs/Marinara-Agents/commit/df897ae3404d68cd5aaddc00e863751b3f751f7e) Merge upstream/staging into fix(long-term-memory)/browser-suite-status-races ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tests/long-term-memory-browser.regression.ts` (+4 -1) </details> ### 📄 Description # Pull request ## Linked issue Closes #1525 ## Why this change - The Long-Term Memory browser suite fails now and then on a slow or busy machine. Two assertions read the page right after a surface appears, before the request that fills it has answered: the setup guide depends on `/status`, and the vault's place picker depends on `/scope-targets`. The product is correct in both cases; only the test is early. The same race on the vault health pill was fixed in #1521. ## What changed - `tests/long-term-memory-browser.regression.ts`: wait for the setup guide to reopen after a reload instead of counting it at once, and wait for the place picker to show the current chat before reading it. - No package code, generated bundle, artifact or catalog change. ## Package and security impact - Affected package IDs: none (`long-term-memory` browser regression suite only) - Engine compatibility impact: none - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - In a local copy of the suite that delays `/status` or `/scope-targets` by 1.5 s, each of the two assertions fails every time without its wait (`0 !== 1` for the guide, "All" for the place) and passes with it. The copy is not part of this PR. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:03:09 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#1528
No description provided.