diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs
index c232ca6e3d3..dbaccd6e799 100644
--- a/.git-blame-ignore-revs
+++ b/.git-blame-ignore-revs
@@ -15,3 +15,6 @@ ead33ffe280dd7caf72cae5ff7a41542e8427636
# json file reformatting with prettier
c287575df6798810a69fafc54c8c4e1867b71367
+
+# prettier formatting for sandbox code
+14f2d6bc7622649c817e9f45e4d1a9e6dd94847d
\ No newline at end of file
diff --git a/.github/workflows/debug-client.yml b/.github/workflows/debug-client.yml
index 3c87e1c1b5c..e5f1c4516d1 100644
--- a/.github/workflows/debug-client.yml
+++ b/.github/workflows/debug-client.yml
@@ -2,9 +2,13 @@ name: Debug client
on:
push:
+ branches:
+ - dev-2.x
paths:
- 'client/**'
pull_request:
+ branches:
+ - dev-2.x
paths:
- 'client/**'
@@ -41,11 +45,11 @@ jobs:
working-directory: client
run: |
npm install
- npm run build -- --base https://cdn.jsdelivr.net/gh/opentripplanner/debug-client-assets@main/${VERSION}/
+ npm run build -- --base https://www.opentripplanner.org/debug-client-assets/${VERSION}/
npm run coverage
- name: Deploy compiled assets to repo
- if: github.event_name == 'push' && github.ref == 'refs/heads/dev-2.x'
+ if: github.event_name == 'push'
env:
REMOTE: debug-client
LOCAL_BRANCH: local-assets
diff --git a/.github/workflows/schema-validation.yml b/.github/workflows/schema-validation.yml
new file mode 100644
index 00000000000..8e2a3631df9
--- /dev/null
+++ b/.github/workflows/schema-validation.yml
@@ -0,0 +1,37 @@
+name: Validate schema changes
+
+on:
+ pull_request:
+ branches:
+ - dev-2.x
+
+jobs:
+ validate-gtfs:
+ if: github.repository_owner == 'opentripplanner'
+ name: Validate GraphQL schema changes
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: 'Fetch dev.2.x for diffing'
+ run: |
+ git fetch origin dev-2.x --depth 1
+
+
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 22
+
+ - name: Install GraphQL Inspector
+ run: |
+ npm i --global @graphql-inspector/ci graphql @graphql-inspector/diff-command @graphql-inspector/graphql-loader @graphql-inspector/git-loader
+
+ - name: Validate GTFS GraphQL schema changes
+ run: |
+ graphql-inspector diff 'git:origin/dev-2.x:application/src/main/resources/org/opentripplanner/apis/gtfs/schema.graphqls' 'application/src/main/resources/org/opentripplanner/apis/gtfs/schema.graphqls'
+
+ - name: Validate Transmodel GraphQL schema changes
+ run: |
+ graphql-inspector diff 'git:origin/dev-2.x:application/src/main/resources/org/opentripplanner/apis/transmodel/schema.graphql' 'application/src/main/resources/org/opentripplanner/apis/transmodel/schema.graphql'
diff --git a/.gitignore b/.gitignore
index 70213c7ef70..397da64acba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -48,6 +48,9 @@ graph.obj
# IntelliJ creates these pid files when you attach the debugger to tests
.attach_pid*
+# draw.io backup files
+*.svg.bkp
+
smoke-tests/*.jar
smoke-tests/**/*.obj
smoke-tests/**/*.pbf
diff --git a/application/pom.xml b/application/pom.xml
index 62eb761213f..035a4478688 100644
--- a/application/pom.xml
+++ b/application/pom.xml
@@ -302,7 +302,7 @@
org.onebusaway
onebusaway-gtfs
- 5.0.0
+ 5.0.2
@@ -485,6 +485,20 @@
+
+ com.hubspot.maven.plugins
+ prettier-maven-plugin
+
+
+ src/main/java/**/*.java
+ src/ext/java/**/*.java
+ src/test/java/**/*.java
+ src/ext-test/java/**/*.java
+ src/**/*.json
+ src/test/resources/org/opentripplanner/apis/**/*.graphql
+
+
+
diff --git a/application/src/client/index.html b/application/src/client/index.html
index d105b0aab08..0e8f974de9e 100644
--- a/application/src/client/index.html
+++ b/application/src/client/index.html
@@ -5,10 +5,10 @@
OTP Debug
-
-
+
+
-