mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #967] [MERGED] ci: detect drift in vendored Engine sources #1215
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1215
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/967
Author: @SpicyMarinara
Created: 9/20/2026
Status: ✅ Merged
Merged: 9/20/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/sept20-vendored-drift📝 Commits (5)
efb5ccbchore: coordinate vendored Engine drift detection6dcbe89ci: detect changes in vendored Engine snapshots7c078f5chore: record drift against final host integrations955ca73Merge remote-tracking branch 'origin/staging' into codex/sept20-vendored-drifta3a9b39docs: clarify vendored snapshot classification scope📊 Changes
6 files changed (+663 additions, -0 deletions)
View changed files
📝
.github/workflows/noodle-browser.yml(+9 -0)📝
.github/workflows/pull-request-checks.yml(+3 -0)📝
CONTRIBUTING.md(+2 -0)➕
scripts/tests/vendored-engine.regression.mjs(+70 -0)➕
scripts/validate-vendored-engine.mjs(+102 -0)➕
scripts/vendored-engine-baseline.json(+477 -0)📄 Description
Linked issue
Closes #955
Refs Pasta-Devs/Marinara-Engine#6385
Why this change
Vendored Engine integrations can become stale without a CI signal, so package users miss fixes already shipped by the host.
What changed
Classify the common source snapshot as current, drifted or orphaned against tracked Engine source. CI rejects new or changed drift and requires resolved baseline entries to be removed. The initial baseline records existing debt; later PRs may only shrink it. Package-owned overlays are excluded, and untracked Engine build output cannot masquerade as source. The existing Engine-backed browser job runs the check.
The host-service migration in #970 removes the live provider copies separately. This check does not blindly delete files whose ownership has moved into a package.
Package and security impact
Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Completed locally: npm run check, vendored-source regression, baseline validation, catalog-lane tests, catalog validation and git diff --check. The regression covers current/drifted/orphaned files, changed host content, baseline growth, resolved entries and invalid host roots. Local CodeRabbit completed; its host-content fingerprint finding was addressed.
Core claim: future source drift becomes a failing CI signal instead of silently entering package builds. No payload, runtime, permission or storage behavior changes. The initial 475-entry baseline is measured against Engine staging
4398962ff6be03568615298d318bca8a546472fe(merged Engine #6426). The tracked compiled shared snapshot remains in scope because packages still build from it; untracked output in the host checkout is ignored.Manual follow-up: contributors should inspect ownership before deleting an orphaned file; this detector does not decide package ownership.
Documentation impact
UI evidence (if applicable)
No UI change.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.