feat: Update daily log for PDIAP-15838 with recent Apollo removal progress and next steps
This commit is contained in:
@@ -23,6 +23,7 @@ updated: 2026-04-21
|
||||
## Work Done
|
||||
|
||||
- Cleaned up the active production model layer so it no longer depends on Apollo-generated models for the current path.
|
||||
- Removed the three `NetworkClient.shared.updateAppSyncURL(...)` calls from `XFlowInitManager` and removed `getAppSyncEndPoint()` after it became unused; the project still compiles.
|
||||
|
||||
---
|
||||
|
||||
@@ -31,13 +32,16 @@ updated: 2026-04-21
|
||||
- The model-decoupling step for `PDIAP-15838` is now in a cleaner state.
|
||||
- The next focus should shift to the remaining Apollo-dependent runtime and infrastructure surface: init/session coupling through `NetworkClient`, Apollo-generated/runtime code that is no longer needed, and Apollo-specific tests/scripts/build wiring.
|
||||
- Any Apollo dependency that remains only through PicoSDK should be treated separately from source-level cleanup.
|
||||
- Copilot's focused runtime/init guidance says the safest next source-level step is to remove only the three `updateAppSyncURL(...)` calls from `XFlowInitManager`, then delete internal `getAppSyncEndPoint()` if it becomes unused, while leaving `NetworkClient.swift` and `XFlowInitManagerConfig.swift` in place temporarily as disconnected compatibility surface until later cleanup.
|
||||
- After that step, no live init/session runtime wiring from `XFlowInitManager` into Apollo/AppSync remains; the remaining Apollo surface appears to be disconnected compatibility/runtime code plus later package/build/test cleanup.
|
||||
|
||||
---
|
||||
|
||||
## Next Steps
|
||||
|
||||
- Confirm the remaining `NetworkClient` / init-session Apollo dependencies and whether any AppSync config APIs still need compatibility handling.
|
||||
- Identify the runtime Apollo files that can now be removed safely after the model cleanup.
|
||||
- Confirm whether `NetworkClient.swift` still has any live production callers or can now be treated as removable runtime dead code.
|
||||
- Confirm whether `XFlowInitManagerConfig.swift` AppSync getters are truly compatibility-only or still externally used.
|
||||
- Identify the runtime Apollo files that can now be removed safely after the model and init cleanup.
|
||||
- Remove Apollo-only tests, mocks, codegen scripts, and build wiring once runtime references are gone.
|
||||
- Treat any transitive PicoSDK Apollo dependency as a separate dependency-exit step.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user