microsoft / microsoft/AdaptiveCards

[Site] Live site deployment doesn't remove old content

Open
#7,086 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
2k
Forks
595
Avg merge
1d 19h
Merged PRs (30d)
1

Description

We deploy the live site using Zip Deploy, which will overwrite existing content, but notably will not delete old content. For example, if your first deployment looks like this:

wwwroot-first-deploy.zip\
    FirstDeploy.txt

and your second looks like this:

wwwroot-second-deploy.zip\
   SecondDeploy.txt

The live site will look like this:

wwwroot\
    FirstDeploy.txt
    SecondDeploy.txt

This means that we have stale content being served up from the site.

(see bug on Zip Deploy here)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the live-site deployment configuration and the Zip Deploy behavior described in projectkudu/kudu#2822. Reproduce two deployments where the second archive omits a file, then verify that the live site no longer serves content from the first deployment.

Written by the indexing model from the issue text.

Assessment

Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.