fix: rely on gh-upload-log default log routing#1909
Conversation
Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: #1902
Working session summaryImplemented and pushed the fix to PR 1909: #1909 What changed:
Verification:
PR is marked ready for review. This summary was automatically extracted from the AI working session output. |
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:
Total: (673.2K + 17.3M cached) input tokens, 55.0K output tokens, $26.522229 cost 🤖 Models used:
📎 Log file uploaded as Repository (72157KB)Now working session is ended, feel free to review and add any feedback on the solution draft. |
✅ Ready to mergeThis pull request is now ready to be merged:
Monitored by hive-mind with --auto-restart-until-mergeable flag |
|
I think analysis is wrong. We should support auto mode. And if gist fails, we should fallack to single repository mode, looks like that issue inside gh-upload-log, so the issue must be reported there with suggested workarounds and fix. So repository per log file should never be used, unless explicitly asked by options in gh-upload-log. |
|
🤖 AI Work Session Started Starting automated work session at 2026-06-11T22:26:33.692Z The PR has been converted to draft mode while work is in progress. This comment marks the beginning of an AI work session. Please wait for the session to finish, and provide your feedback. |
Working session summaryImplemented and finalized issue #1902. PR: #1909 What changed:
Verification:
Note: after merging latest This summary was automatically extracted from the AI working session output. |
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:
Total: (350.8K + 17.0M cached) input tokens, 45.0K output tokens, $22.533037 cost 🤖 Models used:
📎 Log file uploaded as Repository (48274KB)Now working session is ended, feel free to review and add any feedback on the solution draft. |
✅ Ready to mergeThis pull request is now ready to be merged:
Monitored by hive-mind with --auto-restart-until-mergeable flag |
|
Apply latest version of https://github.com/link-foundation/gh-upload-log to our repository, check that it works as expected, and make sure we use only default auto mode without explicit options (we should only use minimum that is nessesary). And double check all other changes for correctness and consistency. |
|
🤖 AI Work Session Started Starting automated work session at 2026-06-12T08:15:06.972Z The PR has been converted to draft mode while work is in progress. This comment marks the beginning of an AI work session. Please wait for the session to finish, and provide your feedback. |
Working session summaryContinued and finalized PR #1909: #1909 What changed:
Verification:
This summary was automatically extracted from the AI working session output. |
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
📊 Context and tokens usage:
Total: (565.2K + 8.6M cached) input tokens, 48.8K output tokens, $16.432673 cost 🤖 Models used:
📎 Log file uploaded as Repository (67405KB)Now working session is ended, feel free to review and add any feedback on the solution draft. |
✅ Ready to mergeThis pull request is now ready to be merged:
Monitored by hive-mind with --auto-restart-until-mergeable flag |
Summary
Fixes #1902 by applying the upstream
gh-upload-logfallback fix and relying on its default auto mode/shared repository behavior.gh-upload-log@latest, which resolves to 0.8.1 at the time of this update.--auto,--shared-repository,--only-gist,--only-repository, or--no-shared-repositoryare produced by default.Root Cause
The captured log files were below the gist limit, so
gh-upload-log0.8.0 auto mode tried gist upload first. GitHub returned a secondary content-creation rate limit, and the fallback entered repository mode.In 0.8.0, repository fallback still had
useSharedRepository: true, but shared repository routing was incorrectly gated by file size. Sub-25 MB gist failures therefore created one-offlog-tmp-*repositories. Upstream PR link-foundation/gh-upload-log#32 fixed that routing, and 0.8.1 published the fix.Testing
Local checks:
npm exec --package=gh-upload-log@0.8.1 -- gh-upload-log /tmp/gh-upload-log-1902-smoke.log --public --dry --verbosenode tests/test-issue-1902-log-upload-routing.mjsnode tests/test-log-upload.mjsnode tests/test-log-upload-output-1678.mjsnode tests/test-log-upload-output-1682.mjsnpm run format:checknpm run lintnode scripts/validate-changeset.mjsbash scripts/check-file-line-limits.shnpm test(all 247 selected test files passed)CI:
65fcde2123b0ff8876e97b795029c7c09e0c51b4: https://github.com/link-assistant/hive-mind/actions/runs/27404947501Evidence