Skip to content

[SILO-1135] feat: add project archive endpoints#35

Merged
Prashant-Surya merged 1 commit intomainfrom
feat/project-archive
Mar 26, 2026
Merged

[SILO-1135] feat: add project archive endpoints#35
Prashant-Surya merged 1 commit intomainfrom
feat/project-archive

Conversation

@Saurabhkmr98
Copy link
Copy Markdown
Member

@Saurabhkmr98 Saurabhkmr98 commented Mar 26, 2026

Description

  • Added Project archive/unarchive methods to sdk

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Improvement (change that would cause existing functionality to not work as expected)
  • Code refactoring
  • Performance improvements
  • Documentation update

Test Scenarios

Screenshot 2026-03-26 at 2 25 02 PM

Summary by CodeRabbit

  • New Features

    • Added project archiving and unarchiving capabilities
  • Chores

    • Version updated to 0.2.9

@makeplane
Copy link
Copy Markdown

makeplane bot commented Mar 26, 2026

Linked to Plane Work Item(s)

This comment was auto-generated by Plane

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 26, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 2d6cbe5b-c914-4ebb-8b4a-3607300e3d52

📥 Commits

Reviewing files that changed from the base of the PR and between b95f025 and ea2764d.

📒 Files selected for processing (3)
  • package.json
  • src/api/Projects.ts
  • tests/unit/project.test.ts

📝 Walkthrough

Walkthrough

The package version is bumped to 0.2.9, and two new archive/unarchive methods are added to the Projects API resource class. Corresponding unit tests are introduced to verify the archive functionality and the existing feature toggle test is updated.

Changes

Cohort / File(s) Summary
Version Management
package.json
Version incremented from 0.2.8 to 0.2.9.
Project Archive Methods
src/api/Projects.ts
Added archive() method (POST to archive endpoint) and unArchive() method (DELETE to archive endpoint), both accepting workspace slug and project ID.
Archive & Feature Tests
tests/unit/project.test.ts
New test for archive/unarchive workflow verifying archived_at state transitions. Modified existing feature toggle test to use pages feature instead of epics.

Poem

🐰 hop hop, files grow neat,
archive and restore so sweet,
projects tucked away with care,
version bumps through the air! 🎉

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title accurately reflects the main change: adding project archive and unarchive endpoints to the SDK, which is demonstrated in the code changes and test additions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/project-archive

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Prashant-Surya Prashant-Surya merged commit d7a4a2f into main Mar 26, 2026
2 checks passed
@Prashant-Surya Prashant-Surya deleted the feat/project-archive branch March 26, 2026 14:03
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.

2 participants