Skip to content

Commit 0d5cc0e

Browse files
Simplify telemetry to anonymous gists only, remove token complexity
- Replace complex GitHub token authentication with anonymous gists - Remove all GitHub authentication, token setup, and permission handling - Use simple HTTP POST to GitHub gist API (no auth required) - Remove GitHub.jl dependency, keep only HTTP and JSON - Clean fallback to local file saves when gist creation fails - Eliminate user friction - telemetry just works without setup - Much simpler codebase and user experience - Zero authentication barriers for community data sharing 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 933569a commit 0d5cc0e

File tree

3 files changed

+24
-900
lines changed

3 files changed

+24
-900
lines changed

lib/LinearSolveAutotune/Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
99
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
1010
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
1111
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
12-
GitHub = "bc5e4493-9b4d-5f90-b8aa-2b2bcaad7a26"
1312
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3"
1413
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
1514
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
@@ -37,7 +36,6 @@ BenchmarkTools = "1"
3736
Base64 = "1"
3837
CSV = "0.10"
3938
DataFrames = "1"
40-
GitHub = "5"
4139
HTTP = "1"
4240
JSON = "0.21"
4341
Plots = "1"

lib/LinearSolveAutotune/src/LinearSolveAutotune.jl

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ using Base64
1515
using RecursiveFactorization # Hard dependency to ensure RFLUFactorization is available
1616

1717
# Optional dependencies for telemetry and plotting
18-
using GitHub
1918
using HTTP
2019
using JSON
2120
using Plots
@@ -134,14 +133,9 @@ function autotune_setup(;
134133
@info "Configuration: large_matrices=$large_matrices, telemetry=$telemetry, make_plot=$make_plot, set_preferences=$set_preferences"
135134
@info "Element types to benchmark: $(join(eltypes, ", "))"
136135

137-
# Set up GitHub authentication early if telemetry is enabled
138-
github_auth = nothing
136+
# Note: Using anonymous gists for telemetry - no authentication needed
139137
if telemetry
140-
@info "🔗 Checking GitHub authentication for telemetry..."
141-
github_auth = setup_github_authentication()
142-
if github_auth === nothing
143-
@info "📊 Continuing with benchmarking (results will be saved locally)"
144-
end
138+
@info "🌐 Telemetry enabled - will share results via anonymous GitHub gist"
145139
end
146140

147141
# Get system information
@@ -222,7 +216,7 @@ function autotune_setup(;
222216
if telemetry && nrow(successful_results) > 0
223217
@info "📤 Preparing telemetry data for community sharing..."
224218
markdown_content = format_results_for_github(results_df, system_info, categories)
225-
upload_to_github(markdown_content, plot_files, github_auth, results_df, system_info, categories)
219+
upload_to_github(markdown_content, plot_files, nothing, results_df, system_info, categories)
226220
end
227221

228222
@info "Autotune setup completed!"

0 commit comments

Comments
 (0)