mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-16 08:06:24 +03:00
Fix: ignore hook cache artifact (#189)
This commit is contained in:
@@ -47,6 +47,7 @@ Thumbs.db
|
||||
.impeccable/live/manual-edit-events.jsonl
|
||||
.impeccable/live/manual-edit-evidence/
|
||||
.impeccable/live/pending-manual-edits.json
|
||||
.impeccable/hook.cache.json
|
||||
.impeccable/history/
|
||||
# Per-run critique snapshots are local artifacts. ignore.md (also under
|
||||
# this dir) carries deferrals the user may want to share, so it's
|
||||
|
||||
@@ -93,14 +93,16 @@ async function stashManualEdit(server, entry) {
|
||||
return res.json();
|
||||
}
|
||||
|
||||
it('gitignores local manual Apply runtime artifacts', () => {
|
||||
it('gitignores local Impeccable runtime artifacts', () => {
|
||||
const ignored = execFileSync('git', [
|
||||
'check-ignore',
|
||||
'.impeccable/live/manual-edit-apply-transaction.json',
|
||||
'.impeccable/live/manual-edit-evidence/example.json',
|
||||
'.impeccable/hook.cache.json',
|
||||
], { cwd: REPO_ROOT, encoding: 'utf-8' });
|
||||
assert.match(ignored, /\.impeccable\/live\/manual-edit-apply-transaction\.json/);
|
||||
assert.match(ignored, /\.impeccable\/live\/manual-edit-evidence\/example\.json/);
|
||||
assert.match(ignored, /\.impeccable\/hook\.cache\.json/);
|
||||
});
|
||||
|
||||
async function readSseUntil(reader, decoder, needle, maxReads = 12) {
|
||||
|
||||
Reference in New Issue
Block a user