Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1056 commits
Select commit Hold shift + click to select a range
d8e7c34
Auto update to testnet (#147)
patimen May 29, 2025
011f52b
Fix tag wildcard (#155)
patimen May 29, 2025
1a494f7
Fix artifact grab (#156)
patimen May 29, 2025
710582c
Fix artifact grab (#157)
patimen May 29, 2025
fdb64bd
Fix tags 3 (#158)
patimen May 29, 2025
a655aae
logs
0xBECEDA May 30, 2025
8f17f0f
api doc
0xBECEDA May 30, 2025
b6229e9
Fix cosmovisor for API (#159)
patimen May 30, 2025
5b821d8
Merge branch 'refs/heads/main' into explorer-missing-metrics
0xBECEDA Jun 1, 2025
7744ddd
developer stats
0xBECEDA Jun 1, 2025
4d30ef7
Log chain version (#161)
patimen Jun 2, 2025
76d6e69
developer stats debug
0xBECEDA Jun 3, 2025
cb1d8d7
Release/v0.1.4 (#146)
patimen Jun 3, 2025
2016dba
Script to reset cosmovisor (#163)
gmorgachev Jun 4, 2025
bc6e5e9
Merge branch 'refs/heads/main' into explorer-missing-metrics
0xBECEDA Jun 4, 2025
8cd67c9
developer stats endpoints
0xBECEDA Jun 4, 2025
77d815c
Change test net params: shorter epochs (#166)
DimaOrekhovPS Jun 4, 2025
67c166c
debug + new edpoints + tests
0xBECEDA Jun 5, 2025
b0e99ff
fix logger
0xBECEDA Jun 5, 2025
7d26f18
FIX: large PoC val transactions; change logic of accepting/rejecting …
DimaOrekhovPS Jun 5, 2025
d437c05
Adding MCP server for log analysis and .cline defaults (#167)
patimen Jun 5, 2025
aef4d3e
Several attempts at making k8s more reliable (#165)
patimen Jun 5, 2025
2236110
Fix wiremock validation endpoint (#169)
DimaOrekhovPS Jun 6, 2025
7517d33
improve and update endpoints
0xBECEDA Jun 7, 2025
7d91afc
bug fixes
0xBECEDA Jun 8, 2025
266c4e3
epoch id bug fix
0xBECEDA Jun 8, 2025
d6fec19
More retries (#173)
patimen Jun 9, 2025
c244f1e
Clean command queue (#172)
gmorgachev Jun 9, 2025
22aa41b
fix a few bugs + fill current stats of participant with real value
0xBECEDA Jun 10, 2025
309f4c9
models
0xBECEDA Jun 15, 2025
9e8adbe
Training: on-chain sync (#107)
DimaOrekhovPS Jun 16, 2025
20c9c7a
Only trigger releases on release/v* (#174)
patimen Jun 16, 2025
0b0a0b6
Test update: v0.1.4-test-update (#153)
DimaOrekhovPS Jun 16, 2025
0b0fa99
Implement max_tokens (#170)
patimen Jun 18, 2025
621a14e
count participants and developers spent tokens
0xBECEDA Jun 18, 2025
796c817
Ethereum Bridge Receipts COSMWASM Update (#176)
GLiberman Jun 18, 2025
89dde39
fix corner cases
0xBECEDA Jun 19, 2025
7a5f7c4
fix naming
0xBECEDA Jun 20, 2025
ee5097e
Merge branch 'refs/heads/main' into explorer-missing-metrics
0xBECEDA Jun 20, 2025
2c4a91f
fix proto
0xBECEDA Jun 20, 2025
1cc7dce
Delete .idea/inference-ignite.iml
0xBECEDA Jun 20, 2025
90af7ad
clean up PR
0xBECEDA Jun 20, 2025
5522735
Merge remote-tracking branch 'origin/explorer-missing-metrics' into e…
0xBECEDA Jun 20, 2025
efbfd0c
revert changes
0xBECEDA Jun 23, 2025
170f277
fix .idea
0xBECEDA Jun 23, 2025
eeb983e
fix .run
0xBECEDA Jun 23, 2025
52bc1da
fix run without explorer
0xBECEDA Jun 23, 2025
d219734
fix run with explorer
0xBECEDA Jun 23, 2025
82ee670
docker arch update
GLiberman Jun 24, 2025
b87a401
StreamingTests and fixes, Inference messages fixes/refactor, MockServ…
patimen Jun 25, 2025
659557b
Merge branch 'refs/heads/main' into explorer-missing-metrics
0xBECEDA Jun 25, 2025
2728577
fix tests
0xBECEDA Jun 25, 2025
b679d03
review fixes
0xBECEDA Jun 25, 2025
8cdb3d9
operator address name fix
GLiberman Jun 27, 2025
20c96dd
test script
0xBECEDA Jun 30, 2025
1ec5750
experiment
0xBECEDA Jul 1, 2025
5bda3c6
fix tests
0xBECEDA Jul 1, 2025
e00894d
- remove spaces
0xBECEDA Jul 1, 2025
1218681
Merge pull request #168 from product-science/explorer-missing-metrics
0xBECEDA Jul 1, 2025
930d757
Upgrade, add cosmwasmparams (#181)
patimen Jul 2, 2025
317adb3
fix prefixes and inference timestamp (#187)
0xBECEDA Jul 3, 2025
6dcc941
change k8s net params: increase voting periods; increase epoch length…
DimaOrekhovPS Jul 4, 2025
ab7c762
epoch_shift: 280 (#191)
DimaOrekhovPS Jul 4, 2025
bb05ab3
k8s-test-net: shorter epochs (#192)
DimaOrekhovPS Jul 5, 2025
a801198
MLNode PoC state reconciliation (#160)
DimaOrekhovPS Jul 5, 2025
82931b2
Update readme.md (#180)
tcharchian Jul 5, 2025
bc18bbc
if 1 tx missed, resend all after it
0xBECEDA Jul 11, 2025
6399eb4
2 ml nodes testnet (#200)
DimaOrekhovPS Jul 12, 2025
cfbf2e4
HotFix & Proposal: Align /participants_stats with Validators (#198)
gmorgachev Jul 12, 2025
c0c2dfb
Use fast escrow estimation (#201)
gmorgachev Jul 12, 2025
ea3f11f
Add Proxy (#196)
GLiberman Jul 13, 2025
fc52432
Add upgrade handler for v1.13 and define upgrade name constant (#203)
gmorgachev Jul 13, 2025
dd017ff
- nats server
0xBECEDA Jul 13, 2025
ba31549
gomod
0xBECEDA Jul 13, 2025
355dd43
- send blocking transactions
0xBECEDA Jul 16, 2025
7260c15
- fix bugs
0xBECEDA Jul 18, 2025
099347b
explore late hight seq bug
0xBECEDA Jul 18, 2025
cb20d49
fix err
0xBECEDA Jul 18, 2025
03cb113
Cosmos 0.53.3 upgrade (plus Replay attacks) (#205)
patimen Jul 18, 2025
f908f54
- fix highest sequence bug
0xBECEDA Jul 19, 2025
dd33dd0
Multiple bug fixes & Validation Sampling (#206)
gmorgachev Jul 19, 2025
ef618e3
- fix highest sequence bug
0xBECEDA Jul 19, 2025
d9af2ae
more logs
0xBECEDA Jul 19, 2025
ffd42ae
Merge branch 'refs/heads/main' into issue-335
0xBECEDA Jul 19, 2025
5c63ca1
- fix merge with main
0xBECEDA Jul 20, 2025
a16afb0
- fix corner cases for resend-txs
0xBECEDA Jul 20, 2025
24470e3
Unordered transactions merge (#211)
gmorgachev Jul 20, 2025
ae0cb8e
Matrix testing (#208)
gmorgachev Jul 21, 2025
0801e66
- fix corner cases for resend-txs 2
0xBECEDA Jul 22, 2025
060679a
Merge branch 'refs/heads/main' into issue-335-unordered-txs
0xBECEDA Jul 22, 2025
39a936b
- integration with unordered txs + refactoring
0xBECEDA Jul 22, 2025
d124fbd
Fix java build (#215)
patimen Jul 22, 2025
a06354e
[Require chain restart?]: OperatorAddress from account key (#199)
gmorgachev Jul 22, 2025
74157ec
Release branch/v0.1.15 (#218)
gmorgachev Jul 23, 2025
e0dacdc
Bump (#219)
gmorgachev Jul 23, 2025
53681ed
Cleanup (#220)
gmorgachev Jul 23, 2025
9dd7811
Gm/clean 1 (#221)
gmorgachev Jul 23, 2025
f330ef1
Gm/stress test description (#223)
gmorgachev Jul 23, 2025
db952f4
Fix (#224)
gmorgachev Jul 23, 2025
0631cb5
clean up
0xBECEDA Jul 23, 2025
8b24faf
add nats folder to volume
0xBECEDA Jul 23, 2025
7588cfc
Merge branch 'refs/heads/main' into issue-335-unordered-txs
0xBECEDA Jul 23, 2025
2a41097
- fix nats config
0xBECEDA Jul 23, 2025
7700232
- remove some changes
0xBECEDA Jul 23, 2025
d2c2dd7
- fix text autofix
0xBECEDA Jul 23, 2025
18f1682
k8s w explorer setup (#227)
DimaOrekhovPS Jul 25, 2025
cb361d6
review fixes
0xBECEDA Jul 25, 2025
35e8d4b
Simple schedule v1 (#193)
DimaOrekhovPS Jul 26, 2025
794a038
Simple Pruning (#226)
patimen Jul 27, 2025
4937553
Merge branch 'refs/heads/main' into issue-335-unordered-txs
0xBECEDA Jul 27, 2025
37acd9c
Guard against NPE; fix testermint InferenceTests + StreamingInference…
DimaOrekhovPS Jul 28, 2025
4a360ea
Merge branch 'main' into issue-335-unordered-txs
0xBECEDA Jul 29, 2025
c58b745
fix broker
0xBECEDA Jul 29, 2025
7ba817d
fix context on models
0xBECEDA Jul 29, 2025
9d0cd19
Pruning fixes (#231)
DimaOrekhovPS Jul 29, 2025
4117873
Set v0.1.15 in k8s files (#232)
DimaOrekhovPS Jul 29, 2025
ea32eb0
0.1.17 upgrade handler
DimaOrekhovPS Jul 29, 2025
f1bb8ca
set mock inference response for all pairs (#236)
DimaOrekhovPS Jul 30, 2025
88470cc
Inference val details epoch (#214)
DimaOrekhovPS Jul 30, 2025
c7cb673
Make binaries static by default (#238)
GLiberman Jul 31, 2025
84c3726
Update fixes: deterministic participant order; change QwQ model param…
DimaOrekhovPS Jul 31, 2025
eebdb84
config (#240)
gmorgachev Jul 31, 2025
f780364
3 blocks wait (#239)
DimaOrekhovPS Jul 31, 2025
4bb87e2
fix context on pricing. again.
0xBECEDA Jul 31, 2025
2b228c4
Internal test net "how to test" instruction (#241)
DimaOrekhovPS Aug 1, 2025
100db8d
Add links to report and log files to Test Summary (#243)
patimen Aug 1, 2025
22df35a
Dl/tokenomics v2 (#213)
libermans Aug 1, 2025
5dc37ae
Create GONKA_LICENSE.md (#245)
tcharchian Aug 2, 2025
68dbf41
License 1 (#246)
gmorgachev Aug 2, 2025
26947cb
License 1 (#247)
gmorgachev Aug 2, 2025
c4c3292
rename (#248)
gmorgachev Aug 2, 2025
9894050
Key Management v0 (#244)
gmorgachev Aug 3, 2025
be382f9
New release params (#249)
gmorgachev Aug 4, 2025
eadb9dd
fix
gmorgachev Aug 4, 2025
dca2ef4
params
gmorgachev Aug 4, 2025
20c9f97
Merge branch 'main' into issue-335-unordered-txs
0xBECEDA Aug 4, 2025
da82249
fix merge
0xBECEDA Aug 4, 2025
62300b9
Fix: Invalid Public Key Consensus Failure During Registration (#252)
gmorgachev Aug 5, 2025
de87b33
Bump version
gmorgachev Aug 5, 2025
84573c4
Bump version
gmorgachev Aug 5, 2025
c24a13b
Bump
gmorgachev Aug 5, 2025
67fdb26
Merge branch 'main' into issue-335-unordered-txs
0xBECEDA Aug 5, 2025
77657a5
Fix k8s deploy gh action post migration (#255)
DimaOrekhovPS Aug 5, 2025
3692deb
Fix bug with proof verification (#230)
0xBECEDA Aug 5, 2025
ecad325
Dk/bls last (#251)
libermans Aug 7, 2025
a7b793d
Per-Transfer Agent Bandwidth Limiter with Windowed KB Tracking (#253)
gmorgachev Aug 7, 2025
55c5457
Merge branch 'main' into issue-335-unordered-txs
0xBECEDA Aug 7, 2025
6b348cc
merge with main
0xBECEDA Aug 7, 2025
e8bc34a
fix merge
0xBECEDA Aug 7, 2025
5c314ac
fix tests
0xBECEDA Aug 7, 2025
5a477f6
fix nats conn
0xBECEDA Aug 7, 2025
c1ea13c
Gm/bls warm key (#258)
gmorgachev Aug 7, 2025
2bebe25
Bandwidth Params
gmorgachev Aug 8, 2025
43b889b
test bandwidth
gmorgachev Aug 8, 2025
d106fd8
Updated validation parameters handling with error logging in new bloc…
gmorgachev Aug 8, 2025
e8e67a5
Merge branch 'main' into issue-335-unordered-txs
0xBECEDA Aug 8, 2025
e40b8d4
fix for tmkms (#263)
DimaOrekhovPS Aug 12, 2025
bf4044e
Fixup event handling to not queue events that won't be handled (#264)
patimen Aug 12, 2025
9d3aabe
Merge branch 'main' into issue-335-unordered-txs
0xBECEDA Aug 12, 2025
8a2eb76
update gosum
0xBECEDA Aug 14, 2025
b07d2f2
update depts
0xBECEDA Aug 14, 2025
a134784
Merge pull request #216 from gonka-ai/issue-335-unordered-txs
0xBECEDA Aug 14, 2025
c93b4d6
Make testermint work with warm/cold keys (#259)
patimen Aug 15, 2025
6081a65
Gentx Ceremony (#266)
gmorgachev Aug 15, 2025
49969ec
Fix template
gmorgachev Aug 15, 2025
576a982
rollback deploy version
gmorgachev Aug 15, 2025
84f6bb1
Merge latest MLNode (#267)
gmorgachev Aug 15, 2025
d42dd12
Testnet genesis-draft
gmorgachev Aug 17, 2025
b46a605
Genesis Ceremony: Phase 1 (#270)
gmorgachev Aug 18, 2025
c16ddf7
Fix (#271)
gmorgachev Aug 18, 2025
cecf378
Field
gmorgachev Aug 18, 2025
f280d68
Update template
gmorgachev Aug 18, 2025
a1d26cf
SPVre validator (#275)
blizko Aug 19, 2025
a947afc
Add validator: gonka-hy-001, gonka-gid-001 (#274)
AnzeKovac Aug 19, 2025
aa87a62
add validator info (#273)
zyz-007 Aug 19, 2025
48a3608
Add validator: gonka1, gonka2 (#272)
gmorgachev Aug 19, 2025
b85c2ae
Phase 2: genesis-draft.json (#277)
gmorgachev Aug 19, 2025
3bb168d
Early Network Protection Through Power Distribution Limits (#254)
libermans Aug 19, 2025
2b474cb
Fix for audit: ValidationBasic (#265)
patimen Aug 19, 2025
306c8e9
Phase 3 (#278)
gmorgachev Aug 20, 2025
7aa708f
Add gentx files for validator: Spvre (#279)
blizko Aug 20, 2025
9c831ef
phase_3 add infos (#280)
zyz-007 Aug 20, 2025
875fd52
Adds gentx files for validator: gonka-hy-001, gonka-gid-001 (#282)
AnzeKovac Aug 20, 2025
56efd16
Genesis Reheasal: Phase 5 (#283)
gmorgachev Aug 20, 2025
0437251
Transfer restrictions and Genesis Account Ownership Transfer (#269)
libermans Aug 20, 2025
018ff0b
wait longer
gmorgachev Aug 20, 2025
bb81b68
Move to EpochIndex from PocStartHeight (#276)
patimen Aug 20, 2025
3ed9e28
Move to Cosmos SDK collections (#284) (#287)
gmorgachev Aug 20, 2025
5231744
Fix tests
gmorgachev Aug 20, 2025
974baad
Fix
gmorgachev Aug 21, 2025
5718bdd
renaming (#288)
gmorgachev Aug 22, 2025
519b38d
Add guardians
gmorgachev Aug 22, 2025
0f3d949
Correct format
gmorgachev Aug 22, 2025
45b57c8
Genesis Tokens Supply Params
libermans Aug 22, 2025
d841d1c
guardian calculateEnhancedPower fix
libermans Aug 22, 2025
43baaab
Add validator: spv.re (#290)
blizko Aug 22, 2025
a93aff5
Phase 1: Gonka (#291)
gmorgachev Aug 22, 2025
045c5f2
Adds validators: gonka-hy-001, gonka-gid-001 -a (#292)
AnzeKovac Aug 22, 2025
d5518ab
Phase 1 (#293)
gmorgachev Aug 22, 2025
5241693
add main validator info (#294)
zyz-007 Aug 22, 2025
9993c73
Phase 2: genesis-draft.json
gmorgachev Aug 22, 2025
48ee3a4
Add gentx files for validator: spvre (#295)
blizko Aug 22, 2025
0f2b744
Add gentx files for validators (#296)
AnzeKovac Aug 22, 2025
1214898
Phase 3: gentxs (#297)
gmorgachev Aug 22, 2025
3ee889d
main_phase_3 add infos (#298)
zyz-007 Aug 22, 2025
1d436f5
Gcore 3 (#299)
gmorgachev Aug 22, 2025
b3cbd45
Gm/genesis launch (#300)
gmorgachev Aug 22, 2025
771a84c
disable genesis (#301)
gmorgachev Aug 22, 2025
09923fb
Update CONTRIBUTING.md (#268)
tcharchian Aug 22, 2025
e6a1791
Update README.md (#289)
tcharchian Aug 22, 2025
4644ce2
Update LICENSE.md (#302)
tcharchian Aug 22, 2025
10a0860
MLNode Update: Launch version (#303)
gmorgachev Aug 25, 2025
e223eba
BUGFIX: persisten storage for `api-config.yml` (#306)
gmorgachev Aug 27, 2025
e590fe4
Full token enforcing (#256)
gmorgachev Sep 11, 2025
ff7d925
BUG: Invalid Request to create new participant can break validateo (#…
gmorgachev Sep 11, 2025
27ff182
Fix possible panics for negative coins (#309)
patimen Sep 12, 2025
f67b82d
Missed validations recovery system (#353)
patimen Sep 15, 2025
d6034f6
Update README.md
tcharchian Sep 17, 2025
1d1be51
TestNet (#363)
gmorgachev Sep 18, 2025
3a413b1
MLNode on-chain upgrade (#364)
gmorgachev Sep 18, 2025
f056aec
dynamic resolve for docker address (#354)
gmorgachev Sep 18, 2025
e5dc743
lost file
gmorgachev Sep 18, 2025
c8b1d52
PROPOSAL 2: new models (#350)
gmorgachev Sep 18, 2025
44f258a
register migrations in test
gmorgachev Sep 18, 2025
006dbec
Filter duplicate nonces (#366)
DimaOrekhovPS Sep 19, 2025
eae51e0
Fix: total num nodes according to current state
gmorgachev Sep 19, 2025
736dd1b
Proposal: Inference Validation v2 (#312)
mtvnastya Sep 19, 2025
adae213
Logs, description, new versions
gmorgachev Sep 19, 2025
875441d
Pagination fixes (#369)
DimaOrekhovPS Sep 22, 2025
8153f56
Fix inference (#370)
gmorgachev Sep 22, 2025
0938f85
fix: del by zero
gmorgachev Sep 23, 2025
b423490
Multiple Fixes and Security Improvements
gmorgachev Sep 24, 2025
9a7b07a
Validate claim epoch (#374)
gmorgachev Sep 24, 2025
4478408
README
gmorgachev Sep 24, 2025
6c65803
Fix tests
gmorgachev Sep 24, 2025
b627a72
regenerate seed (#375)
0xBECEDA Sep 28, 2025
c621d8c
Revert "regenerate seed (#375)" (#378)
DimaOrekhovPS Sep 28, 2025
e9b60ef
Upgrade proposal: v0.2.3 (#379)
gmorgachev Oct 3, 2025
85c9794
V0.2.3 patch (#384)
gmorgachev Oct 7, 2025
dcc2ea6
Upgrade v0.2.4 (#385)
gmorgachev Oct 22, 2025
9e38a89
Upgrade v0.2.5 (#404)
gmorgachev Nov 22, 2025
0f65720
feat: sequence check validator
strange-dv Dec 3, 2025
d5d97cb
test with real vllm responses
kjnasdfkjnsadfkjnds Dec 5, 2025
9e87537
test with invalid seed
kjnasdfkjnsadfkjnds Dec 5, 2025
6d33941
implement basic functionality of distribution check. Bind validator t…
staaason Dec 8, 2025
9fc9875
Remove large file from repository
staaason Dec 8, 2025
02396b3
clean up
staaason Dec 8, 2025
87fc174
fix tests
kjnasdfkjnsadfkjnds Dec 9, 2025
824cd57
fix test data formatting
kjnasdfkjnsadfkjnds Dec 9, 2025
8f688d7
stop vllm after validator inference
staaason Dec 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 40 additions & 0 deletions .clinerules/workflows/examine_logs_from_workflow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Help the user figure out what happened in a Github Action test that failed.
<detailed_sequence_of_steps>
## 1. Identify the workflow to analyze
<ask_followup_question>
<question>What Tests do you want to analyze?</question>
</ask_followup_question>
The user should describe the Tests they want to analyze. Unless otherwise specified, assume they mean the "Integration Tests" workflow.

They could specify a run for a specific branch or commit or PR, or simply whatever the latest results are.
## 2. Load the workflow run overview
Use the GitHub CLI tool to find the workflow run specified by the user. Do NOT download the entire logs, they are too large. Instead, use the GitHub CLI tool to get the workflow run overview. This will give you a summary of the workflow run, including the status of each job and step.

## 3. Matrix job
"Integration Tests" runs a matrix job, so each Test Class is run in it's own job, with it's own result (the job will fail if there are any test failures) and logs.

## 4. Download the logs
The logs will be Artifacts attached to the workflow run. Download them to a directory that has some idenifying information about the workflow run, such as the commit hash or PR number. Download the FILES locally, make sure they don't end up in the LLM context. Only download the logs for jobs that failed.

## 5. Identify the failing tests
There will be a file in the logs directory called `failures.log`. This file will contain a list of the tests that failed, along with the reason for the failure. You can use this file to identify which tests to analyze.

## 6. Summarize what has failed, ask for next steps
Now simply summarize the failures (how many tests, which tests, which classes)
<ask_followup_question>
<question>Which tests do you want to analyze?</question>
</ask_followup_question>
The user may want to analyze all the tests, or just a specific test.

## 6. Use the testermintlogs tool to analyze the log
Look at `examine_test_log.md` for details on how to analyze the logs. The test log for a failure will be in the logs directory, and will be named after the test case, with `ClassName-test name might have spaces.log` as the name.

## 7. Summarize all the findings and include CLI commands for further analysis
Focus on next steps and the likely cause of the failures. If a failure is clearly a known failure, be sure and emphasize that.
Format a copy-pasteable cmd to run lnav on the log file so the user can grab that and look at the log file themselves.
Fairly simple, just `lnav <log file>`, with the full path and quotes if needed.

## 8. Be prepared for a drill down request
The user may want you to drill down into a specific test failure. Use the Resources provided by the `testermintlogs` tool to understand how to drill down and look. You can also look at the test file itself to understand the test and what it is supposed to do. If you have questions about the test, ask the user for clarification.

</detailed_sequence_of_steps>
41 changes: 41 additions & 0 deletions .clinerules/workflows/examine_test_log.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Examine a test log
Your job is to use the testermintlogs tool to analyze a test log file. The log file is MUCH too large to open directly, and will either be too big for most models
or will cost a TON of tokens, so you should use the testermintlogs tool to sift through the logs.
<detailed_sequence_of_steps>
## 1. Identify the test to analyze
Look up the most recent test runs in ./testermint/logs/failures.log.
Present the user with a list of the most recent failures, and ask them to pick either one or describe which ones to analyze.
## 2. Load the test log file
The test log for a failure will be in the logs directory, and will be named after the test case, with `ClassName-test name might have spaces.log` as the name.

Load it into the testermintlogs tool by passing in the full path to the file.
## 3. Use the testermintlogs tool to analyze the log
Start by loading the Step by Step instructions resource. This will give you an overview of the approach to use for examining the log. There are other critical resources, but load them as needed, not before hand to reduce token usage. USE THE TOOL AND THE RESOURCES TO UNDERSTAND THE LOGS!

## 4. Expand the context as needed
The source code for the tests themselves are in the `testermint` folder in this project, and the product code is in `inference-chain` and `decentralized-api`. Use these (especially the test code) to help you understand what the test is doing and what might be going wrong.

## 5. Summarize all the findings as a final step.
Focus on next steps and the likely cause of the failures. If a failure is clearly a known failure, be sure and emphasize that.

Format a copy-pasteable cmd to run lnav on the log file so the user can grab that and look at the log file themselves.
Fairly simple, just `lnav <log file>`, with the full path and quotes if needed.

## 6. Offer to rerun certain tests
<ask_followup_question>
Ask the user if they want to rerun any test or tests based on the findings.
<question>Would you like to rerun any tests based on these findings?</question>
</ask_followup_question>

## 7. Backup the original log file for comparson

## 8. Rerun tests if requested
Use gradle for the testermint project. You can run by test names, class names or tags. For example:
```bash
cd testermint && ./gradlew test --tests "TestClassName.*"
```

## 9. Repeat the analysis if tests were rerun
Go back to step 1 based on the new test results. Pay special attention to if the failure happened again in the exact same way.

</detailed_sequence_of_steps>
33 changes: 33 additions & 0 deletions .clinerules/workflows/run_test_and_examine_logs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<detailed_sequence_of_steps>
# 1. Identify the test to run
<ask_followup_question>
<question>What test (or tests) would you like to run?</question>
</ask_followup_question>
After the user has selected the test, verify that it is a test,tag or class by looking in the testermint project. Ask follow up questions if unnable to find the test.

# 2. Build and start the chain
```bash
cd local-test-net
./stop-rebuild-launch.sh
```
Do NOT include the output of this command in the context! If it fails, immediately stop and ask the user to fix it.

# 4. Run the test(s)
Use gradle for the testermint project. You can run by test names, class names or tags. For example:
```bash
cd testermint && ./gradlew test --tests "TestClassName.*"
```
or, for tags:
```bash
cd testermint && ./gradlew test --tests "*" -DexcludeTags=unstable,exclude
```

# 5. Examine the logs
First, look at the ./testermint/logs/failures.log file to see if there are any failures. If there are, you can use the testermintlogs tool to analyze the logs. The logs will be in the logs directory, and will be named after the test case, with `ClassName-test name might have spaces.log` as the name.

Refer to examine_test_log.md for full details on how to examine the logs. You can use the testermintlogs tool to analyze the logs, and you can also use the test code and product code to help you understand what is going wrong.

# 6. Summarize the findings
Report back failure/success as well as an analysis of any failures. If a failure is clearly a known failure, be sure and emphasize that.

</detailed_sequence_of_steps>
50 changes: 50 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# VCS and IDE
.git
.gitignore
.gitattributes
**/.git
**/.DS_Store
**/.idea/
**/.vscode/

# Logs and transient files
**/*.log
direct.log
test-logs-*/

# Dependency caches
**/.gradle/
**/node_modules/

# Build outputs and caches
**/build/
**/dist/
**/output/
**/.cache
**/.pytest_cache
**/__pycache__

# Environment files
**/.venv
**/*.env

# Large/unrelated directories to api/node Docker builds
local-test-net/
testermint/
public-html/
data/
genesis/
prod-genesis/
prod-local/
prod-sim/
deploy/
docs/
proposals/
mcp-obsidian/
logdy/
jq_test/
test-net-cloud/
upgrade-build-files/
16504109747-artifacts/
demo/
mlnode/
14 changes: 14 additions & 0 deletions .github/actions/gcp-auth-and-gcloud-setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Authenticate to GCP and setup gcloud
description: Authenticate to GCP using identity workload federation approach and setup gcloud CLI
runs:
using: "composite"
steps:
- id: 'gcp-auth'
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v1.1.1'
with:
workload_identity_provider: 'projects/552613898602/locations/global/workloadIdentityPools/github-pool/providers/github'
service_account: 'test-net-deploy@decentralized-ai.iam.gserviceaccount.com'
- id: 'gcloud-setup'
name: Set up gcloud Cloud SDK environment
uses: google-github-actions/setup-gcloud@v1.1.1
Loading