Commit 360634d
committed
Updates
Consolidate type checking into root tsconfig
- Add glob as explicit dependency (was transitive only)
- Remove website/tsconfig.json; root tsconfig covers it via the
website/.astro/types.d.ts include which provides astro/client types
(import.meta.glob etc.)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add vite/client reference to fix CI typecheck
website/.astro/types.d.ts is Astro-generated and absent in CI,
so ImportMeta.glob was untyped. Adding the reference to global.d.ts
ensures vite types are always loaded.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Taxonomy filters
Extract shared generate script and remove redundant buildonly
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Updates
Couple more filters
Updates
Updates
Updates
Shell script hardening (#95)
* Website code quality fixes
- Fix pushState → replaceState in useSearchFilter (search was adding history entries per keystroke)
- Add res.ok checks in useSearchIndex and useTaxonomyFilter fetchers
- Fix non-null assertion on nullable filter param in useCategoryFilter
- Remove dead typeof window checks in useCategoryFilter, useColumnVisibility, useTableSort
- Consolidate duplicate statusOrder keys to lowercase, normalize lookup with .toLowerCase()
- Fix XSS in recently-updated renderTable: replace innerHTML string interpolation with DOM APIs
- Sync HubEntry interface in recently-updated script block (add missing createdTimestamp)
- Replace as any cast in blog/index.astro with proper AstroComponentFactory typing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Harden shell scripts: set -euo pipefail, xxhash, safe var refs
- Add set -euo pipefail to all scripts that were missing it
- Add set -o pipefail inside exported GFF-processing functions so
pipelines fail properly in parallel subshells
- Fix bare $REPROCESS/$REDOWNLOAD/$REPROCESS_TRIX refs (need ${VAR:-}
under set -u); fix ${1} -> ${1:-} in cleanupStaleGff.sh
- Fix /tmp/datasets_err hardcoded path in genark2jbrowse/make.sh
(use mktemp instead)
- Fix ! $DRY_RUN && log patterns in cleanupStaleGff.sh that would
trip set -e when DRY_RUN=true
- Remove unnecessary || true from textIndexGoldenPath.sh parallel call
(process_assembly already handles failures gracefully)
- Switch .trackdb_hash and fileListing.txt from stat file-size to
xxhsum (requires: sudo apt install xxhash); note existing .trackdb_hash
files will all be treated as changed on first run
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Restore || true for textIndexGoldenPath parallel call
text-index failures are expected (track IDs can be missing from the
index), so the parallel run should never abort the parent pipeline.
Add --halt never to also be explicit about the intent.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Fix createChainTrackPifs failing on assemblies with no liftOver chains
wget exit code 7 (protocol error) when an assembly has no liftOver
directory was propagating through the pipeline after makePifs.sh got
set -euo pipefail. Fixes:
- extract_file_urls: capture wget output via $() so a failure returns
empty string (exit 0) rather than crashing the pipeline
- "no chain files found" is now a soft skip (log_info + return 0)
rather than log_error — many assemblies legitimately have no chains
- makePifs.sh: add --halt never + || true to both parallel calls as a
backstop for any other per-assembly failures
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Skip PIF generation for already-processed assemblies
Use a .checked stamp file in each liftOver/vs dir so subsequent runs
skip the HTTP directory fetch entirely. Pre-filter assembly lists in
make.sh/makePifs.sh before parallel to avoid forking processes for
already-stamped assemblies.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Format
* Incremental file listing with XXH3: ~3x faster hashing
- Add make_file_listing() to common.sh: uses find -newer to skip
unchanged files, merges with existing listing, drops deleted entries
- Switch from default XXH64 to XXH3 (-H3): 62 GB/s vs 19 GB/s on this
machine; algo_tag header triggers full re-hash on algorithm change
- Simplify getFileListing.sh and ucsc2jbrowse/make.sh to single-line
calls; remove duplicated inline logic
- Delete stale fileListing.txt files (XXH64 format) so next run
rebuilds cleanly with XXH3
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Dry run output: remove bogus over.chain.gz liftOver tracks, reorder aggregateTextSearchAdapters
- ~1700 liftOver synteny tracks with queryAssembly "over.chain.gz" removed;
these were generated erroneously when assemblies had no liftOver directory
(fixed by createChainTrackPifs patch in prior commit)
- aggregateTextSearchAdapters moved before plugins in minimal configs
(cosmetic reordering, no content change)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Update
* Fix defaultSession missing from minimal configs: run generateDefaultSessions before createMinimalConfigs
createMinimalConfigs reads config.json and passes all top-level keys
through, but defaultSession wasn't present yet because generateDefaultSessions
ran after it.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Add set -euo pipefail to remaining ucsc2jbrowse scripts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Move files around
Add shfmt formatting and fix parallel pipeline failures
- Format all shell scripts with shfmt v3.13.1 (2-space indent)
- Add shfmt to format and lint:sh scripts in package.json
- Install shfmt v3.13.1 in CI lint workflow
- Add || true to parallel calls for per-assembly operations so individual
failures (GFF processing, add-track, text-index, metadata) don't abort
the whole pipeline
- Fix addNcbiGffAndTextIndex.sh to handle add-track failures with a warning
and return, matching the inline version in make.sh
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Run astro sync before typecheck in CI to generate astro:content types
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Migrate to Astro 6 Content Layer API and add astro check to CI
- Move content config to src/content.config.ts with glob loader
- Replace deprecated post.render() with render(post) from astro:content
- Import z from astro/zod instead of deprecated astro:content export
- Add astro check step to CI to type-check .astro files
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Lints
Actionsup
Bump deps
Updates1 parent 756d39f commit 360634d
490 files changed
Lines changed: 245917 additions & 278401 deletions
File tree
- .github/workflows
- aws/config-merger
- src
- test
- genark2jbrowse
- taxon_images
- hubs
- GCA/039/566/865/GCA_039566865.1
- GCF
- 000
- 008
- 525/GCF_000008525.1
- 785/GCF_000008785.1
- 020/245/GCF_000020245.1
- 021
- 165/GCF_000021165.1
- 465/GCF_000021465.1
- 172/955/GCF_000172955.1
- 270/005/GCF_000270005.1
- 281/675/GCF_000281675.2
- 299/775/GCF_000299775.1
- 345
- 385/GCF_000345385.2
- 645/GCF_000345645.2
- 401/375/GCF_000401375.1
- 475/735/GCF_000475735.1
- 497/465/GCF_000497465.2
- 513/515/GCF_000513515.1
- 001/991/095/GCF_001991095.1
- 002
- 005/525/GCF_002005525.1
- 952/275/GCF_002952275.1
- hubtools
- scripts
- ucsc2jbrowse
- blockedFiles
- configs-minimal
- configs
- removedTracks
- website
- public
- src
- components
- DataTable
- hooks
- ui
- react-wrappers
- content/blog
- hooks
- layouts
- lib
- pages
- accession
- blog
- hubs
- taxonomy
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
32 | 43 | | |
33 | 44 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
30 | 35 | | |
31 | | - | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| |||
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
43 | | - | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | | - | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | | - | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | | - | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
54 | | - | |
55 | | - | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
60 | | - | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
69 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
70 | 75 | | |
71 | 76 | | |
72 | 77 | | |
| |||
79 | 84 | | |
80 | 85 | | |
81 | 86 | | |
82 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
83 | 91 | | |
84 | 92 | | |
85 | 93 | | |
| |||
0 commit comments