Skip to content

acc: run bundle/run/app-with-job locally#5820

Merged
radakam merged 2 commits into
mainfrom
acc-local-app-with-job
Jul 3, 2026
Merged

acc: run bundle/run/app-with-job locally#5820
radakam merged 2 commits into
mainfrom
acc-local-app-with-job

Conversation

@radakam

@radakam radakam commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Convert acceptance/bundle/run/app-with-job to run against the local testserver in addition to cloud. The test drives the full app lifecycle (deploy → bundle runapps stop → re-run), which the fake Apps API did not model faithfully.

Make the testserver app status mirror cloud:

  • AppsUpsert: a no_compute app (how bundle deploy always creates apps) now reports app_status UNAVAILABLE until started, instead of RUNNING.
  • AppsStart: starting the compute also brings the application up (RUNNING).
  • AppsStop: stopping the compute takes the application down (UNAVAILABLE) and returns the cloud "Start the app compute to deploy the app." message.

Regenerate the goldens of sibling local apps tests, whose informational App is in RUNNING state bundle-run log now correctly reads App is in UNAVAILABLE state for a not-yet-started no_compute app.

Why

This PR is part of the conversion to local tests.

@radakam radakam temporarily deployed to test-trigger-is July 3, 2026 11:35 — with GitHub Actions Inactive
@radakam radakam temporarily deployed to test-trigger-is July 3, 2026 11:35 — with GitHub Actions Inactive
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 438ee61

Run: 28665929126

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 4 15 230 1045 3:57
💚​ aws windows 4 15 232 1043 3:57
💚​ aws-ucws linux 4 15 314 963 5:15
💚​ aws-ucws windows 4 15 316 961 3:56
💚​ azure linux 4 15 230 1044 4:13
💚​ azure windows 4 15 232 1042 3:46
💚​ azure-ucws linux 4 15 316 960 5:21
💚​ azure-ucws windows 4 15 318 958 4:00
💚​ gcp linux 4 15 229 1046 3:45
💚​ gcp windows 4 15 231 1044 3:37
19 interesting tests: 15 SKIP, 4 RECOVERED
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/permissions 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/basic 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/recreate 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/replace_existing 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/update_protected 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/without_branch_id 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_endpoints/basic 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_projects/update_display_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/synced_database_tables/basic 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
💚​ TestFetchRepositoryInfoAPI_FromRepo 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/root 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/subdir 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
Top 5 slowest tests (at least 2 minutes):
duration env testname
3:07 aws windows TestAccept
2:53 gcp windows TestAccept
2:51 azure windows TestAccept
2:40 azure-ucws windows TestAccept
2:39 aws-ucws windows TestAccept

Convert the app-with-job acceptance test to run against the local testserver
in addition to cloud. The test drives the full app lifecycle (deploy, bundle
run, apps stop, re-run), which the fake apps API did not model faithfully.

Make the testserver app status mirror cloud:
- AppsUpsert: a no_compute app (how bundle deploy always creates apps) now
  reports app_status UNAVAILABLE until started, instead of RUNNING.
- AppsStart: starting the compute also brings the application up (RUNNING).
- AppsStop: stopping the compute takes the application down (UNAVAILABLE) and
  returns the cloud "Start the app compute to deploy the app." message.

Regenerate the goldens of sibling local apps tests, whose informational
"App is in RUNNING state" bundle-run log line now correctly reads
"App is in UNAVAILABLE state" for a not-yet-started no_compute app.
@radakam radakam force-pushed the acc-local-app-with-job branch from cca5ec6 to 07b0d29 Compare July 3, 2026 12:24
@radakam radakam temporarily deployed to test-trigger-is July 3, 2026 12:24 — with GitHub Actions Inactive
@radakam radakam temporarily deployed to test-trigger-is July 3, 2026 12:24 — with GitHub Actions Inactive
@radakam radakam marked this pull request as ready for review July 3, 2026 12:38
Comment thread acceptance/bundle/resources/apps/resource-refs/output.txt
@radakam radakam enabled auto-merge July 3, 2026 14:10
@radakam radakam temporarily deployed to test-trigger-is July 3, 2026 14:10 — with GitHub Actions Inactive
@radakam radakam temporarily deployed to test-trigger-is July 3, 2026 14:10 — with GitHub Actions Inactive
@radakam radakam added this pull request to the merge queue Jul 3, 2026
Merged via the queue into main with commit 1026506 Jul 3, 2026
24 checks passed
@radakam radakam deleted the acc-local-app-with-job branch July 3, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants