mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-07 13:22:14 +00:00
Add verified provider update preflight and record first self-host trial
This commit is contained in:
1 parent
2a8ec35dac
commit
f72daadcba
17 files changed
+855
-22
No files matched your search
@@ -23,6 +23,7 @@ export const CANDIDATE_ACCEPTANCE_SCENARIOS = Object.freeze([
|
||||
'branches-worktrees',
|
||||
'runtime-identities',
|
||||
'runtime-profiles',
|
||||
'provider-updates',
|
||||
'console-runtime-profile',
|
||||
'console-schedule-launcher',
|
||||
'runtime-adapters',
|
||||
@@ -150,10 +151,10 @@ function gitSourceDescriptor(root) {
|
||||
const excludedUntracked = execFileSync('git', ['-C', root, 'ls-files', '--others', '--exclude-standard', '-z'], {
|
||||
encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'],
|
||||
}).split('\0').filter(Boolean).sort();
|
||||
const include = (name, entry) => name === 'node_modules'
|
||||
const include = (name, entry) => name !== '.torch' && !name.startsWith('.torch/') && (name === 'node_modules'
|
||||
|| name.startsWith('node_modules/')
|
||||
|| tracked.has(name)
|
||||
|| (entry.isDirectory() && [...tracked].some((path) => path.startsWith(`${name}/`)));
|
||||
|| (entry.isDirectory() && [...tracked].some((path) => path.startsWith(`${name}/`))));
|
||||
return { mode: 'git-commit', commit, include, excludedUntracked };
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user