Skip to content

[patch] Fix orphaned app-install-iot-after-monitor task in pipeline#2200

Open
jvaneel-dwivedi wants to merge 5 commits intomasterfrom
fix-iot-after-monitor-dependency
Open

[patch] Fix orphaned app-install-iot-after-monitor task in pipeline#2200
jvaneel-dwivedi wants to merge 5 commits intomasterfrom
fix-iot-after-monitor-dependency

Conversation

@jvaneel-dwivedi
Copy link
Copy Markdown
Contributor

@jvaneel-dwivedi jvaneel-dwivedi commented Apr 21, 2026

Add app-install-iot-after-monitor as a dependency to both app-install-predict and post-install-verify to ensure:

  1. Consistent 'Predict is installed after iot+monitor' logic regardless of installation order
  2. Post-install verification waits for IoT completion even when Predict is skipped

This addresses both scenarios:

  • When Predict runs: post-install-verify → app-install-predict → app-install-iot-after-monitor

  • When Predict is skipped: post-install-verify → app-install-iot-after-monitor (direct dependency)

  • Fix waitfor-iot dependency: Change from approval-manage to approval-suite-verify

    • Restores correct dependency
    • Allows Manage and IoT to install in parallel after suite verification
  • Fix waitfor-predict dependency: Add IoT approval dependencies

    • Add approval-iot and approval-iot-after-monitor to runAfter
    • Prevents waitfor-predict from timing out before IoT installation completes
    • Ensures Predict FVT waits for IoT approval in both pre/post 9.2 scenarios
  • Fix waitfor-install (Day2) dependencies: Add IoT and Monitor approvals

    • Add explicit dependencies on approval-iot, approval-iot-after-monitor
    • Add explicit dependencies on approval-monitor, approval-monitor-before-iot
    • Ensures Day2 operations don't start prematurely when IoT+Monitor installed without Predict
    • Removes incorrect assumption that approval-predict implies all apps completed"

Add app-install-iot-after-monitor as a dependency to both app-install-predict and post-install-verify to ensure:
1. Consistent 'Predict is installed after iot+monitor' logic regardless of installation order
2. Post-install verification waits for IoT completion even when Predict is skipped

This addresses both scenarios:
- When Predict runs: post-install-verify → app-install-predict → app-install-iot-after-monitor
- When Predict is skipped: post-install-verify → app-install-iot-after-monitor (direct dependency)
@jvaneel-dwivedi jvaneel-dwivedi self-assigned this Apr 21, 2026
@jvaneel-dwivedi jvaneel-dwivedi requested a review from a team as a code owner April 21, 2026 05:11
jvaneel-dwivedi and others added 4 commits April 21, 2026 10:41
…ncies

Add approval-iot and approval-iot-after-monitor as dependencies to waitfor-predict task to ensure Predict FVT only starts after IoT installation is approved, since Predict depends on IoT completion.
- Fix waitfor-iot dependency: Change from approval-manage to approval-suite-verify
  * Restores correct dependency that existed before PR #2114
  * Allows Manage and IoT to install in parallel after suite verification
  * Prevents unnecessary 8+ hour delays in pre-9.2 IoT FVT scenarios

- Fix waitfor-predict dependency: Add IoT approval dependencies
  * Add approval-iot and approval-iot-after-monitor to runAfter
  * Prevents waitfor-predict from timing out before IoT installation completes
  * Ensures Predict FVT waits for IoT approval in both pre/post 9.2 scenarios

- Fix waitfor-install (Day2) dependencies: Add IoT and Monitor approvals
  * Add explicit dependencies on approval-iot, approval-iot-after-monitor
  * Add explicit dependencies on approval-monitor, approval-monitor-before-iot
  * Ensures Day2 operations don't start prematurely when IoT+Monitor installed without Predict
  * Removes incorrect assumption that approval-predict implies all apps completed
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.

1 participant