mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-08-07 01:33:52 +00:00
fix: handle non-finite msn key ratios
This commit is contained in:
parent
e2c0425a3b
commit
19748d397e
9 changed files with 484 additions and 15 deletions
|
|
@ -15,9 +15,11 @@ scripts/live-smoke.sh
|
|||
scripts/live-smoke.sh --mode full
|
||||
scripts/live-smoke.sh --mode mock
|
||||
scripts/live-smoke.sh --group live-table --group live-json
|
||||
scripts/live-smoke.sh --group live-nonfinite
|
||||
scripts/live-smoke.sh --group cache --symbol BBRI
|
||||
scripts/live-smoke.sh --dry-run --mode full
|
||||
scripts/live-smoke.sh --bin ./tmp/release-install/bin/idx --no-build --mode mock
|
||||
scripts/audit-msn-fundamentals.sh --tickers BUMI,ADRO,AIMS
|
||||
```
|
||||
|
||||
## Modes
|
||||
|
|
@ -35,6 +37,7 @@ scripts/live-smoke.sh --bin ./tmp/release-install/bin/idx --no-build --mode mock
|
|||
- `cache`: cache warm, `--offline`, and stale-cache fallback checks for quote, technical, and MSN `profile`
|
||||
- `routing`: Yahoo/MSN provider routing plus explicit MSN history unsupported behavior
|
||||
- `errors`: JSON error contract and invalid flag/input checks
|
||||
- `live-nonfinite`: opt-in live MSN fundamentals checks for known non-finite ticker payloads (`BUMI`, `ADRO`, `AIMS`)
|
||||
- `ownership`: safe ownership smoke checks that do not require imported ownership data
|
||||
- `ownership-import`: live discovery/import hardening checks for supported `above1` import plus expected unsupported legacy-family failures
|
||||
|
||||
|
|
@ -43,7 +46,9 @@ scripts/live-smoke.sh --bin ./tmp/release-install/bin/idx --no-build --mode mock
|
|||
- The runner forces `IDX_OUTPUT=table` as its default environment so table cases stay stable; JSON checks use `-o json` explicitly.
|
||||
- Cache-group warm cases clear the smoke cache before they run so each warm/offline/stale sequence starts clean and stale-cache assertions are not masked by earlier groups.
|
||||
- Use `--bin <path> --no-build` when you want to validate an installed binary instead of the workspace `target/debug/idx` build.
|
||||
- Use `scripts/audit-msn-fundamentals.sh` for a full CLI valuation sweep across the IDX MSN symbol map. It is intentionally separate from the reusable smoke runner because it is a heavier provider-health audit, not a stable baseline check.
|
||||
- Ownership commands that need imported data are intentionally not part of the baseline runner yet. The current baseline only covers `ownership releases` and the known unsupported `ownership import --fetch-bing`.
|
||||
- `ownership sync` is still primarily covered by fixture-backed CLI tests rather than the reusable smoke runner.
|
||||
- The new `ownership-import` group is intentionally opt-in for explicit `--group ownership-import` runs or `--mode full`; it discovers live URLs first, imports the supported `above1` attachment into the temp DB, then asserts the current `above5` and `investor-type` URLs fail with explicit unsupported-schema UX.
|
||||
- The new `live-nonfinite` group is intentionally opt-in only. As of `2026-04-13`, the known real repro tickers are `BUMI`, `ADRO`, and `AIMS`.
|
||||
- When a case fails, inspect the per-case log in `tmp/live-smoke/.../logs/` before updating `TODO.md` or `FEATURE_SPEC.md`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue