perf: visibility-gate explore data intervals and fix lint crash

- Modifies `js/services/exploreDataService.js` to prevent starting background intervals if the document is hidden at initialization.
- Updates `scripts/check-hex.js` to increase max buffer size and exclude `js/webtorrent.min.js` to prevent `ENOBUFS` crashes.
- Adds `perf/hits-2026-02-17.json` inventory.
- Adds `daily-perf-report-2026-02-17.md` report.
- Adds `docs/agents/task-logs/daily/2026-02-17_06-45-57_perf-agent_completed.md`.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-17 06:48:22 +00:00
1 parent de7fc9dbec
commit 29982cfb63
7 files changed
+76 -4

No files matched your search

+5 -2
View File
@@ -35,7 +35,8 @@ const IGNORED_GLOBS = [
'releases/**',
'bitvid-working-webtorrent/**',
'scripts/agent/**',
'docs/capacitor-native-app-plan.md'
'docs/capacitor-native-app-plan.md',
'js/webtorrent.min.js'
];
const gitArgs = [
@@ -55,7 +56,9 @@ for (const glob of IGNORED_GLOBS) {
// We rely on 'git' being available and 'git grep' supporting -P.
// Typically available in most CI/dev environments.
const result = spawnSync('git', gitArgs, { encoding: 'utf8' });
// Increase maxBuffer to 10MB to avoid ENOBUFS on large outputs.
console.log("Running git with args:", gitArgs.join(" "));
const result = spawnSync('git', gitArgs, { encoding: 'utf8', maxBuffer: 1024 * 1024 * 10 });
if (result.error) {
console.error('Failed to execute git grep:', result.error.message);