Skip to content

🤖 fix: make aggregated quickstart creation and repeated apply converge #105

Description

@ThomasK33

Observed behavior

Part of #89's installer testing. The proposed quickstart bundle cannot be applied successfully or converge on repeated apply, even with a PostgreSQL-backed control plane reporting phase=Ready and operatorAccessReady=true.

Observed in isolated KIND by the installer worker on private candidate 5222d49147ba3682c53821ccc13542f0462c5f9a (PR89 integrated with main cd378781). This candidate is not pushed. Final public source/evidence links will follow when available.

  1. Apply dist/quickstart-installer.yaml. The template requested as default.quickstart-template is returned as coder.quickstart-template. Workspace creation fails with The provided template version is running. Wait for it to complete importing!.
  2. Apply the same bundle again. The template patch fails with precondition failed; the workspace is created under canonical name coder.coder-k8s-operator.quickstart-workspace rather than the requested aliases.
  3. Further applies still fail: template precondition failure and workspace AlreadyExists. Existing resources do not make the command succeed.

The worker traced canonical naming to template/workspace conversion using organization/owner names. Template Create does not wait for the import build, whereas Update does. These are diagnosis leads for a focused regression investigation, not a claim that adding waits alone is the right fix.

Scope and disposition

The API behavior is inherited. PR89 introduced the unsupported tutorial promise. PR89 is being reduced to supported minimal installation; the generated quickstart example will be clearly marked unsupported. This issue tracks restoration of a supported quickstart path, not unrelated database configuration work in #97.

Acceptance and follow-up

  • Add failing regression tests for alias requests versus canonical responses and repeat-apply behavior for templates and workspaces.
  • Define and test the template-import readiness contract, including workspace creation before and after import completes.
  • Verify the supported documented flow in an isolated cluster: initial creation, resource readiness, repeated apply, and cleanup. All documented successful commands must exit zero.
  • Restore the runnable quickstart guidance only after that coverage and hands-on validation pass.

Owner: maintainer desk. Follow-up trigger: the next aggregated-API correctness increment, before quickstart is advertised as supported. No API fix is included in PR89's current scope.

Evidence: attempt 6 retained native exits (quickstart step exit 1), sanitized logs, screenshots, recording, and cleanup receipt. Public attachments remain pending; this issue does not claim media is already attached.


Generated with xum • Model: coder:bedrock-mantle-us-west-2/openai.gpt-6-astra • Thinking: xhigh

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions